Skip to content

Commit

Permalink
fix(calendar): adjust styling of today date
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-joe committed Mar 2, 2023
1 parent abdf8f7 commit 0d38ce7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion components/calendar/src/calendar/calendar-table-cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,21 @@ export const CalendarTableCell = ({ day, cellSize, selectedDate }) => {
color: white;
}
button.isToday {
text-decoration: underline;
position: relative;
}
button.isToday::after {
content: '';
position: absolute;
transform: translateX(-50%);
height: 4px;
width: 4px;
bottom: 2px;
left: 50%;
border-radius: 100%;
background-color: ${colors.teal600};
}
button.isSelected.isToday::after {
background-color: ${colors.teal200};
}
button.otherMonth {
color: ${colors.grey600};
Expand Down

0 comments on commit 0d38ce7

Please sign in to comment.