Fix color dependencies

This commit is contained in:
2026-04-13 23:02:35 +02:00
parent cb505d9092
commit 52316d9abb
12 changed files with 132 additions and 99 deletions

View File

@@ -1,3 +1,5 @@
@use "color";
/* Animations */
@-webkit-keyframes fadeIn {
@@ -102,12 +104,12 @@ a.button {
button, a.button {
@extend .clickable;
font-weight: bold;
color: #000;
background: #eee;
color: color.$default;
background: color.$default-bg;
&:hover {
color: #eee;
background: #000;
color: color.$default-inv;
background: color.$default-inv-bg;
}
}
@@ -129,13 +131,13 @@ h1 {
p {
margin: 0 0 1em 0;
&.error {
color: red;
color: color.$error;
}
&.warning {
color: orange;
color: color.$warning;
}
&.success {
color: green;
color: color.$success;
}
}
}