Skip to content

Commit

Permalink
feat: improve hover to active item
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefialho committed Jan 29, 2025
1 parent 5953333 commit f1dbafe
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions packages/core/src/components/datetime/datetime.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
.atom-datetime {
&::part(calendar-day-active) {
background-color: var(--color-brand-secondary-regular);
color: var(--color-neutral-white);
}

&::part(calendar-day) {
position: relative;

&:hover {
background-color: var(--color-neutral-light-5);
&:after {
background-color: rgba(var(--color-neutral-black-rgb), 0.07);
border-radius: 50%;
content: '';
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
}
}

&::part(calendar-day active) {
background-color: red;
}
}

.atom-item {
Expand Down

0 comments on commit f1dbafe

Please sign in to comment.