mirror of
https://github.com/discourse/discourse-math.git
synced 2025-07-08 22:52:45 +00:00
UX: Use CSS custom properties for colors
This commit is contained in:
parent
8f725a7a0e
commit
39a4e4b71e
@ -49,8 +49,8 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
to right,
|
to right,
|
||||||
rgba($secondary, 1) 0%,
|
rgba(var(--secondary-rgb), 1) 0%,
|
||||||
rgba($secondary, 0) 100%
|
rgba(var(--secondary-rgb), 0) 100%
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
&:after {
|
&:after {
|
||||||
@ -63,8 +63,8 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
to right,
|
to right,
|
||||||
rgba($secondary, 0) 0%,
|
rgba(var(--secondary-rgb), 0) 0%,
|
||||||
rgba($secondary, 1) 100%
|
rgba(var(--secondary-rgb), 1) 100%
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user