Merged in fix/sw-2351-date-picker-design-updates (pull request #1912)

fix(sw-2351): date picker design updates

* fix(sw-2351): date picker design updates


Approved-by: Christian Andolf
This commit is contained in:
Niclas Edenvin
2025-04-30 09:55:32 +00:00
parent 8931fe5312
commit efcbde1647
2 changed files with 6 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ td.day[data-outside="true"] button.dayButton {
border: none;
}
td.day:not(td.rangeEnd, td.rangeStart)[aria-selected="true"],
td.day.rangeMiddle[aria-selected="true"],
td.rangeMiddle[aria-selected="true"] button.dayButton {
background: var(--Base-Background-Primary-Normal);
border: none;

View File

@@ -28,6 +28,8 @@
position: sticky;
top: 0;
z-index: 10;
display: flex;
justify-content: flex-end;
}
.select {
@@ -139,7 +141,7 @@ td.day[data-outside="true"] button.dayButton {
border: none;
}
td.day:not(td.rangeEnd, td.rangeStart)[aria-selected="true"],
td.day.rangeMiddle[aria-selected="true"],
td.rangeMiddle[aria-selected="true"] button.dayButton {
background: var(--Base-Background-Primary-Normal);
border: none;
@@ -160,7 +162,8 @@ td.day[data-outside="true"] ~ td.day[data-disabled="true"] button.dayButton,
}
.weekDay {
color: var(--UI-Text-Placeholder);
color: var(--Base-Text-Medium-contrast);
opacity: 1;
font-family: var(--typography-Caption-Labels-fontFamily);
font-size: var(--typography-Caption-Labels-fontSize);
font-weight: var(--typography-Caption-Labels-fontWeight);