Skip to content

Commit 798b7ae

Browse files
committed
Make text darker for month/year in datepicker
White on light background is hard to read. Black is more in line with the other text and provides better contrast.
1 parent a04704f commit 798b7ae

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/styles/components/_datepicker-custom.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,8 @@
6161
border-color: color.adjust(variables.$color-silver, $lightness: -15%);
6262
}
6363
}
64+
65+
.react-datepicker__month-read-view,
66+
.react-datepicker__year-read-view {
67+
color: variables.$color-black,
68+
}

0 commit comments

Comments
 (0)