Skip to content

Commit

Permalink
Update some CSS to make it compatible with Astro 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalarangelo committed Dec 18, 2024
1 parent 3b73b13 commit 0fd1ed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/astro/styles/components/_chips.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ nav[aria-label='Collections'] {
transform var(--animation-duration-medium) ease;

// Selected state uses primary color for text.
&:is([data-selected], [data-selected='true']) {
&:is([data-selected='true']) {
color: var(--color-primary);
}

@media (hover: hover) {
// Do not apply hover styles on selected chips.
&:not(:is([data-selected], [data-selected='true'])):is(:hover, :focus) {
&:not(:is([data-selected='true'])):is(:hover, :focus) {
// Only apply hover styles on devices that support hover.
color: var(--color-primary);

Expand Down

0 comments on commit 0fd1ed5

Please sign in to comment.