mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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`
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user