mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-19 07:32:05 +00:00
fix: amoled theme background on modals
This commit is contained in:
parent
893ee8804d
commit
c183548d9b
2 changed files with 3 additions and 0 deletions
|
|
@ -31,6 +31,7 @@
|
|||
--episode-preview-card-gradient: linear-gradient(180deg, #0000 0%, #25292f00 80%, #25292f 95%, #25292f 100%);
|
||||
--preview-card-gradient: linear-gradient(180deg, #0000 0%, #25292f00 80%, #25292fe3 95%, #25292f 100%);
|
||||
--section-end-gradient: linear-gradient(270deg, #17191cff 0%, #17191c00 100%);
|
||||
--dark-color-dim-hsl: var(--dark-color-base-hue), var(--dark-color-base-saturation), 8%;
|
||||
color-scheme: dark;
|
||||
}
|
||||
.dark-mode {
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ const AMOLED = `--sidebar-gradient: linear-gradient(90deg, #000000 15.62%, #0000
|
|||
--section-end-gradient: linear-gradient(270deg, #000 0%, #00000000 100%);
|
||||
--dark-color-hsl: var(--dark-color-base-hue), var(--dark-color-base-saturation), 0% !important;
|
||||
--dark-color-light: #1a1a1a !important;
|
||||
--dark-color-dim-hsl: var(--dark-color-base-hue), var(--dark-color-base-saturation), 0% !important;
|
||||
`
|
||||
|
||||
const NORMAL = `--sidebar-gradient: linear-gradient(90deg, #17191D 15.62%, rgba(23, 25, 29, 0.92) 36.46%, rgba(23, 25, 29, 0.619632) 70.83%, rgba(23, 25, 29, 0) 100%);
|
||||
|
|
@ -32,6 +33,7 @@ const NORMAL = `--sidebar-gradient: linear-gradient(90deg, #17191D 15.62%, rgba(
|
|||
--section-end-gradient: linear-gradient(270deg, #17191cff 0%, #17191c00 100%);
|
||||
--dark-color-hsl: var(--dark-color-base-hue), var(--dark-color-base-saturation), 10% !important;
|
||||
--dark-color-light: #25292F !important;
|
||||
--dark-color-dim-hsl: var(--dark-color-base-hue), var(--dark-color-base-saturation), 8% !important;
|
||||
`
|
||||
|
||||
variables.subscribe(value => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue