mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/layout: add dark theme skeleton gradient
This commit is contained in:
parent
238cd22c8d
commit
88fa780f6d
1 changed files with 8 additions and 0 deletions
|
@ -107,6 +107,7 @@
|
||||||
|
|
||||||
--switcher-padding: var(--sidebar-inner-padding);
|
--switcher-padding: var(--sidebar-inner-padding);
|
||||||
|
|
||||||
|
/* used for fading the tab bar on scroll */
|
||||||
--sidebar-mobile-gradient: linear-gradient(
|
--sidebar-mobile-gradient: linear-gradient(
|
||||||
90deg,
|
90deg,
|
||||||
rgba(0, 0, 0, 0.9) 0%,
|
rgba(0, 0, 0, 0.9) 0%,
|
||||||
|
@ -165,6 +166,13 @@
|
||||||
rgba(16, 16, 16, 0) 96%,
|
rgba(16, 16, 16, 0) 96%,
|
||||||
rgba(16, 16, 16, 0.9) 100%
|
rgba(16, 16, 16, 0.9) 100%
|
||||||
);
|
);
|
||||||
|
|
||||||
|
--skeleton-gradient: linear-gradient(
|
||||||
|
90deg,
|
||||||
|
var(--button),
|
||||||
|
var(--button-hover),
|
||||||
|
var(--button)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
:global([data-theme="light"] [data-reduce-transparency="true"]) {
|
:global([data-theme="light"] [data-reduce-transparency="true"]) {
|
||||||
|
|
Loading…
Reference in a new issue