Skip to content

Commit

Permalink
Make event dots compatible with high contrast mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Sep 6, 2024
1 parent f7303b6 commit ec7cff0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/components/src/date-time/date/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,14 @@ export const DayButton = styled( Button, {
props.hasEvents &&
`
::before {
background: ${ props.isSelected ? COLORS.white : COLORS.theme.accent };
border: 2px solid ${ props.isSelected ? COLORS.white : COLORS.theme.accent };
border-radius: ${ CONFIG.radiusRound };
box-sizing: border-box;
bottom: 2px;
content: " ";
height: 4px;
left: 50%;
margin-left: -2px;
position: absolute;
width: 4px;
transform: translateX(-50%);
}
` }
`;

0 comments on commit ec7cff0

Please sign in to comment.