mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 17:02:20 +08:00
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:
@ -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,
|
||||
|
Reference in New Issue
Block a user