use standard selection color

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
René Rössler 2022-02-09 12:46:13 +01:00 committed by GitHub
parent b91855ca94
commit 63491e247f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,7 +277,7 @@ impl<'a> DatePickerPopup<'a> {
&& popup_state.month == day.month() && popup_state.month == day.month()
&& popup_state.day == day.day() && popup_state.day == day.day()
{ {
Color32::DARK_BLUE ui.visuals().selection.bg_fill
} else if day.weekday() == Weekday::Sat } else if day.weekday() == Weekday::Sat
|| day.weekday() == Weekday::Sun || day.weekday() == Weekday::Sun
{ {