Skip to content

Commit

Permalink
Update hover color + expand transition speed
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits committed Mar 12, 2024
1 parent a88850a commit bc14937
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ExpandBox/styles.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.ExpandBox {
display: grid;
grid-template-rows: 0fr;
transition: grid-template-rows 0.5s ease-out;
transition: grid-template-rows 200ms ease-out;

&[data-is-expanded="true"] {
grid-template-rows: 1fr;
Expand Down
6 changes: 3 additions & 3 deletions src/components/RadioPicker/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@

@media (hover: hover) {
&:hover {
--RadioPicker-color-text: var(--sds-clr-base-00);
--RadioPicker-color-background: var(--sds-clr-lilac-09);
--RadioPicker-color-border: var(--sds-clr-lilac-09);
--RadioPicker-color-text: var(--sds-clr-base-01);
--RadioPicker-color-background: var(--sds-clr-gray-04);
--RadioPicker-color-border: var(--sds-clr-gray-04);
}
}
}
Expand Down

0 comments on commit bc14937

Please sign in to comment.