mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
feat: replace darken with color.adjust
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@use "../../scss/globals.scss";
|
||||
@use "sass:color";
|
||||
|
||||
.theme-editor {
|
||||
display: flex;
|
||||
@@ -58,7 +59,10 @@
|
||||
gap: 8px;
|
||||
|
||||
.active {
|
||||
background-color: darken(globals.$dark-background-color, 2%);
|
||||
background-color: color.adjust(
|
||||
globals.$dark-background-color,
|
||||
$lightness: -2%
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user