Adapted page background gradient to dark mode

This commit is contained in:
Niléane 2023-12-23 15:40:35 +01:00
commit 6664a241d1
No known key found for this signature in database
3 changed files with 7 additions and 7 deletions

View file

@ -15,7 +15,7 @@
/* 🎨 Colors */
:root {
--color-bg: #ffffff;
--gradient-bg: linear-gradient(90deg, #fff, rgba(246, 221, 230, 0.2), #fff);
--gradient-bg: linear-gradient(90deg, var(--color-bg), rgba(246, 221, 230, 0.2), var(--color-bg));
--color-fg: #2a2d37;
--color-fg-muted: #888494;
--color-secondary-bg: #f2e4ea;
@ -40,7 +40,7 @@
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #030303;
--gradient-bg: none;
--gradient-bg: linear-gradient(90deg, var(--color-bg), rgba(230, 51, 120, 0.05), var(--color-bg));
--color-fg: #d6d2e0;
--color-fg-muted: #6e5e67;
--color-secondary-bg: #1f1118;