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
No known key found for this signature in database
GPG Key ID: E390435D881FF0F7
1 changed files with 4 additions and 4 deletions

View File

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