Theme: Refactoring theme colors variables (#23513)

* Theme: Typography updates

* Updated

* Updated snapshot

* Renamed colors to palette

* Introduce colors namespace

* Massive theme color move

* Removing color selection logic with more abstract concepts

* Updates

* Minor sidemenu change
This commit is contained in:
Torkel Ödegaard
2020-04-12 15:05:49 +02:00
committed by GitHub
parent 0fd5945542
commit 1ba8f1647e
104 changed files with 769 additions and 734 deletions

View File

@@ -7,7 +7,7 @@ const title = { fontWeight: 500, fontSize: '26px', lineHeight: '123%' };
const getStyles = stylesFactory((theme: GrafanaTheme) => {
const backgroundUrl = theme.isDark ? 'public/img/licensing/header_dark.svg' : 'public/img/licensing/header_light.svg';
const footerBg = theme.isDark ? theme.colors.dark9 : theme.colors.gray6;
const footerBg = theme.isDark ? theme.palette.dark9 : theme.palette.gray6;
return {
container: css`

View File

@@ -79,7 +79,7 @@ const getOrgRowStyles = stylesFactory((theme: GrafanaTheme) => {
removeButton: css`
margin-right: 0.6rem;
text-decoration: underline;
color: ${theme.colors.blue95};
color: ${theme.palette.blue95};
`,
label: css`
font-weight: 500;