1
0
mirror of synced 2026-05-22 17:33:14 +00:00

UX: Use CSS custom properties for colors

This commit is contained in:
Penar Musaraj
2020-08-06 11:01:34 -04:00
parent 8f725a7a0e
commit 39a4e4b71e
@@ -49,8 +49,8 @@
height: 100%;
background: linear-gradient(
to right,
rgba($secondary, 1) 0%,
rgba($secondary, 0) 100%
rgba(var(--secondary-rgb), 1) 0%,
rgba(var(--secondary-rgb), 0) 100%
);
}
&:after {
@@ -63,8 +63,8 @@
height: 100%;
background: linear-gradient(
to right,
rgba($secondary, 0) 0%,
rgba($secondary, 1) 100%
rgba(var(--secondary-rgb), 0) 0%,
rgba(var(--secondary-rgb), 1) 100%
);
}