This commit is contained in:
Eduardo Gomez 2021-01-04 18:32:25 +01:00
parent ee5153d0d6
commit 4f78bdd111
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View file

@ -22,7 +22,7 @@
--toggle-darkmode-button-display-sun: none; --toggle-darkmode-button-display-sun: none;
--toggle-darkmode-background-color: rgba(0, 0, 0, 0.05); --toggle-darkmode-background-color: rgba(0, 0, 0, 0.05);
--header-menu-gradient-first-color: rgba(255, 255, 255, 0); --header-menu-gradient-first-color: rgba(255, 255, 255, 0);
--header-menu-gradient-secound-color: rgba(255, 255, 255, 1); --header-menu-gradient-second-color: rgba(255, 255, 255, 1);
} }
[data-theme="dark"] { [data-theme="dark"] {
@ -48,7 +48,7 @@
--toggle-darkmode-button-display-sun: block; --toggle-darkmode-button-display-sun: block;
--toggle-darkmode-background-color: rgba(0, 0, 0, 0.5); --toggle-darkmode-background-color: rgba(0, 0, 0, 0.5);
--header-menu-gradient-first-color: rgba(17, 17, 17, 0); --header-menu-gradient-first-color: rgba(17, 17, 17, 0);
--header-menu-gradient-secound-color: rgba(17, 17, 17, 0.65); --header-menu-gradient-second-color: rgba(17, 17, 17, 0.65);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
@ -75,6 +75,6 @@
--toggle-darkmode-button-display-sun: block; --toggle-darkmode-button-display-sun: block;
--toggle-darkmode-background-color: rgba(0, 0, 0, 0.5); --toggle-darkmode-background-color: rgba(0, 0, 0, 0.5);
--header-menu-gradient-first-color: rgba(17, 17, 17, 0); --header-menu-gradient-first-color: rgba(17, 17, 17, 0);
--header-menu-gradient-secound-color: rgba(17, 17, 17, 0.65); --header-menu-gradient-second-color: rgba(17, 17, 17, 0.65);
} }
} }

View file

@ -124,7 +124,7 @@
width: 20px; width: 20px;
height: 100%; height: 100%;
z-index: 2; z-index: 2;
background: linear-gradient(90deg, var(--header-menu-gradient-first-color) 0, var(--header-menu-gradient-secound-color)); background: linear-gradient(90deg, var(--header-menu-gradient-first-color) 0, var(--header-menu-gradient-second-color));
} }
} }
} }