Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style(RangeCalendarStyled): 💄 convert story to vanilla css #402

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix(styledCalendar): 🐛 fixes aria-selected and deleted attr
  • Loading branch information
mcnaveen committed Nov 10, 2022
commit 274c6e3f30ccd504d723d2a4f1a81445adbd5c51
31 changes: 31 additions & 0 deletions src/calendar/stories/CalendarStyled.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,34 @@
.dates {
padding: 0.75rem;
}

.calendar [data-weekend] {
color: #dc2626;
}

.calendar [aria-selected="true"] {
color: #ffffff;
background-color: #3b82f6;
}

.calendar [aria-selected="true"] {
color: #ffffff;
background-color: #3b82f6;
}

.calendar [aria-selected]:focus-within {
background-color: #f3f4f6;
}

.calendar [aria-selected="true"]:focus-within {
color: #ffffff;
background-color: #3b82f6;
}

.calendar [aria-disabled="true"] {
color: #6b7280;
}

.calendar span {
outline: none;
}