Theme: V8 theme updates to text colors and buttons (#32905)

* Theme text colors

* Theme text colors

* More theme tweaks

* reduce input disabled border

* More updates
This commit is contained in:
Torkel Ödegaard
2021-04-12 19:44:43 +02:00
committed by GitHub
parent 0a56527ed9
commit 00ecd37778
11 changed files with 45 additions and 41 deletions

View File

@ -95,6 +95,7 @@ export const getButtonStyles = (props: StyleProps) => {
'&:hover': {
background: theme.v2.palette.action.disabledBackground,
color: theme.v2.palette.text.disabled,
boxShadow: 'none',
},
};
@ -144,7 +145,6 @@ function getButtonVariantStyles(theme: GrafanaThemeV2, color: ThemePaletteColor)
return {
background: color.main,
color: color.contrastText,
boxShadow: theme.shadows.z1,
border: `1px solid transparent`,
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
duration: theme.transitions.duration.short,