✏️ remove hardcoded color values

This commit is contained in:
Laureηt 2023-06-04 01:14:23 +02:00
parent a3661187dc
commit d2f786fcd8
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
2 changed files with 6 additions and 7 deletions

View file

@ -25,7 +25,6 @@
size = "compact";
};
};
};
home.pointerCursor = {

View file

@ -23,10 +23,10 @@ $colors: $rosewater, $flamingo, $pink, $mauve, $red, $maroon, $peach, $yellow, $
.text {
padding: 0 5px;
color: $crust;
background-color: mix(nth($colors, $i), #4E4365, 30%);
background-color: mix(nth($colors, $i), $mantle, 30%);
&.active {
background-color: mix(nth($colors, $i), #4E4365, 100%);
background-color: mix(nth($colors, $i), $mantle, 100%);
}
&.empty {
@ -39,11 +39,11 @@ $colors: $rosewater, $flamingo, $pink, $mauve, $red, $maroon, $peach, $yellow, $
margin-top: -1px;
&.up {
color: mix(nth($colors, $i), #4E4365, 30%);
color: mix(nth($colors, $i), $mantle, 30%);
}
&.up.active {
color: mix(nth($colors, $i), #4E4365, 100%);
color: mix(nth($colors, $i), $mantle, 100%);
}
&.down {
@ -56,10 +56,10 @@ $colors: $rosewater, $flamingo, $pink, $mauve, $red, $maroon, $peach, $yellow, $
@else {
&.active {
color: mix(nth($colors, $i + 1), #4E4365, 100%);
color: mix(nth($colors, $i + 1), $mantle, 100%);
}
color: mix(nth($colors, $i + 1), #4E4365, 30%);
color: mix(nth($colors, $i + 1), $mantle, 30%);
}
}
}