Skip to content

Commit

Permalink
[v11.0.x] TimeOfDayPicker: Fix text colours in light mode (#86776)
Browse files Browse the repository at this point in the history
TimeOfDayPicker: Fix text colours in light mode (#86771)

fix text colours in light mode

(cherry picked from commit a1321d1)

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
  • Loading branch information
grafana-delivery-bot[bot] and ashharrison90 committed Apr 23, 2024
1 parent 7d5da03 commit 764bf76
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,20 @@ const getStyles = (theme: GrafanaTheme2) => {
'.rc-time-picker-panel-select': {
fontSize: '14px',
backgroundColor: bgColor,
color: theme.colors.text.secondary,
borderColor,
li: {
outlineWidth: '2px',
'&.rc-time-picker-panel-select-option-selected': {
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': {
Expand Down Expand Up @@ -140,6 +143,7 @@ const getStyles = (theme: GrafanaTheme2) => {
backgroundColor: bgColor,
borderRadius,
borderColor,
color: theme.colors.text.primary,
height: theme.spacing(4),

'&:focus': getFocusStyles(theme),
Expand Down

0 comments on commit 764bf76

Please sign in to comment.