From 93f0da09b61e445e854fb849ef75a209c95d3ce9 Mon Sep 17 00:00:00 2001 From: PahaN47 Date: Thu, 16 Oct 2025 14:06:54 +0300 Subject: [PATCH] feat!: selection end text colors --- src/components/CalendarView/Calendar.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/CalendarView/Calendar.scss b/src/components/CalendarView/Calendar.scss index b882ef0..901a95e 100644 --- a/src/components/CalendarView/Calendar.scss +++ b/src/components/CalendarView/Calendar.scss @@ -232,6 +232,7 @@ $block: '.#{variables.$ns}calendar'; } &__button { + $button: &; position: relative; display: flex; @@ -263,10 +264,13 @@ $block: '.#{variables.$ns}calendar'; &_selected[class] { background-color: var(--g-color-base-selection); } - &_selected#{&}_selection-start, &_selected#{&}_selection-end { background-color: var(--g-color-base-brand); + + &:not(#{$button}_weekend) { + color: var(--g-color-text-brand-contrast); + } } &_weekend {