mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TimeOfDayPicker: Fix text colours in light mode (#86771)
fix text colours in light mode
This commit is contained in:
parent
bf15329492
commit
a1321d17ca
@ -95,6 +95,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
'.rc-time-picker-panel-select': {
|
||||
fontSize: '14px',
|
||||
backgroundColor: bgColor,
|
||||
color: theme.colors.text.secondary,
|
||||
borderColor,
|
||||
li: {
|
||||
outlineWidth: '2px',
|
||||
@ -102,10 +103,12 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
backgroundColor: 'inherit',
|
||||
border: `1px solid ${theme.v1.palette.orange}`,
|
||||
borderRadius,
|
||||
color: theme.colors.text.primary,
|
||||
},
|
||||
|
||||
'&:hover': {
|
||||
background: optionBgHover,
|
||||
color: theme.colors.text.primary,
|
||||
},
|
||||
|
||||
'&.rc-time-picker-panel-select-option-disabled': {
|
||||
@ -140,6 +143,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
backgroundColor: bgColor,
|
||||
borderRadius,
|
||||
borderColor,
|
||||
color: theme.colors.text.primary,
|
||||
height: theme.spacing(4),
|
||||
|
||||
'&:focus': getFocusStyles(theme),
|
||||
|
Loading…
Reference in New Issue
Block a user