From 1fc0aed7dc9fa99b46b0254818bd13f8a526aa45 Mon Sep 17 00:00:00 2001 From: dilandoogan <147757889+dilandoogan@users.noreply.github.com> Date: Tue, 8 Oct 2024 15:09:34 +0300 Subject: [PATCH] feat(datepicker): fix selected date color bug (#922) --- src/components/calendar/bl-calendar.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/calendar/bl-calendar.css b/src/components/calendar/bl-calendar.css index a5f4c673..453d9fd0 100644 --- a/src/components/calendar/bl-calendar.css +++ b/src/components/calendar/bl-calendar.css @@ -69,6 +69,14 @@ --bl-color-neutral-darkest: var(--bl-color-primary); } + &.other-month-day { + --bl-color-neutral-darker: var(--bl-color-neutral-dark); + + &.selected-day { + --bl-color-neutral-darker: var(--bl-color-neutral-full); + } + } + &.selected-day { background: var(--bl-color-primary); border-radius: 50%; @@ -76,10 +84,6 @@ --bl-button-focus-border-color: var(--bl-color-primary); --bl-color-neutral-darker: var(--bl-color-neutral-full); } - - &.other-month-day { - --bl-color-neutral-darker: var(--bl-color-neutral-dark); - } } .range-day {