Skip to content

Commit f7440ae

Browse files
committed
added dark and light
1 parent 7ea70a7 commit f7440ae

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/grafana-ui/src/components/DateTimePickers/TimeRangePicker/TimePickerFooter.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ export const TimePickerFooter: FC<Props> = (props) => {
5656
return null;
5757
}
5858

59+
const fnColor = theme.isDark ? '#8EC4AD' : '#3A785E';
60+
5961
return (
6062
<div>
6163
<section aria-label="Time zone selection" className={style.container}>
@@ -73,8 +75,8 @@ export const TimePickerFooter: FC<Props> = (props) => {
7375
size="md"
7476
style={{
7577
backgroundColor: '#ffffff00',
76-
color: '#3A785E',
77-
border: '1px solid #3A785E',
78+
color: fnColor,
79+
border: `1px solid ${fnColor}`,
7880
}}
7981
>
8082
Change time settings

0 commit comments

Comments
 (0)