Decouple primary color tint from bg color

Can be useful for websites with an image as a background :^)
This commit is contained in:
David Lapshin
2024-05-20 19:39:39 +03:00
parent 328c8ed0b3
commit 399be13097
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
:root {
// COLORS
--bg-color: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), var(--primary-color);
--bg-color: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
--fg-color: rgba(0, 0, 0, 0.8);
--fg-muted-1: rgba(0, 0, 0, 0.05);
--fg-muted-2: rgba(0, 0, 0, 0.1);
@ -52,7 +52,7 @@
@media (prefers-color-scheme: dark) {
// COLORS
--bg-color: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), var(--primary-color);
--bg-color: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9));
--fg-color: rgb(255, 255, 255);
--fg-muted-1: rgba(255, 255, 255, 0.05);
--fg-muted-2: rgba(255, 255, 255, 0.1);