Skip to content

Commit

Permalink
Remove darken
Browse files Browse the repository at this point in the history
This is deprecated in newer versions of SASS
  • Loading branch information
pganssle committed Dec 25, 2024
1 parent 754ef59 commit ec38a8b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _sass/_cim.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@use "sass:color";
@import "variables";

body {
Expand Down Expand Up @@ -643,11 +644,11 @@ div.pulldown-item {
}

body.colorscheme-dark div.pulldown-item:hover {
background-color: lighten($bg-color-dark, 12.5);
background-color: color.scale($bg-color-dark, $lightness: 12.5%);
}

body.colorscheme-light div.pulldown-item:hover {
background-color: darken($bg-color, 12.5);
background-color: color.scale($bg-color, $lightness: -12.5%);
}

div.pulldown-item > i.profile-settings-icon,
Expand Down

0 comments on commit ec38a8b

Please sign in to comment.