feat: replace darken with color.adjust

This commit is contained in:
Zamitto
2025-03-15 11:04:21 -03:00
parent 6626368613
commit 0df18022ed

View File

@@ -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%
);
}
}
}