Skip to content

Commit

Permalink
Fix btn-close not having a visible hover color in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Studio384 committed Jul 20, 2022
1 parent 66188a7 commit 464b949
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scss/_button-close.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

&:hover {
background-color: rgba($dark, .1);
background-color: var(--system-10);
border-color: var(--accent-800);
}
}
3 changes: 3 additions & 0 deletions scss/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ body {
--light: initial;
--dark: ;

// System colors
--system-10: #{ light-dark(rgba($dark, .1), rgba($light, .1)) };

// Colors
@each $name, $color in $colors {
--#{$name}-50: #{ light-dark(tint($color, 96%), shade($color, 80%)) };
Expand Down

0 comments on commit 464b949

Please sign in to comment.