Skip to content

Commit 01fab4c

Browse files
committed
Improve month/year picker background contrast
Upon further feedback, this changes the text color back to white, but improves the contrast of the background instead.
1 parent 798b7ae commit 01fab4c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/styles/components/_datepicker-custom.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,9 @@
6464

6565
.react-datepicker__month-read-view,
6666
.react-datepicker__year-read-view {
67-
color: variables.$color-black,
67+
color: variables.$color-white;
68+
background: variables.$color-gray;
69+
&:hover {
70+
background: variables.$color-darkgray;
71+
}
6872
}

0 commit comments

Comments
 (0)