Attempt to switch to relative colors for primary-color-alpha, simplify --active variable, add --hover and --disabled variables

This commit is contained in:
daudix
2024-09-01 16:54:39 +03:00
parent 82d82cc811
commit db499a9363
16 changed files with 30 additions and 38 deletions

View File

@ -27,7 +27,7 @@
a + a[href*="#fr-"],
li:target a[href*="#fr-"] {
opacity: 0.6;
opacity: var(--disabled);
background-color: var(--primary-color);
&:hover {
@ -35,7 +35,7 @@
}
&:active {
transform: scale(var(--active));
transform: var(--active);
}
}