make subtle background pitch black on mobile PWA dark mode

This commit is contained in:
marlon-erler
2024-07-25 14:24:15 +02:00
parent e93276f2d3
commit 8b47bb74e8
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -151,6 +151,11 @@ main {
[color]:not([color=standard]).subtle-background { [color]:not([color=standard]).subtle-background {
--luma: var(--subtle-luma-dark); --luma: var(--subtle-luma-dark);
} }
@media (display-mode: standalone) {
[color]:not([color=standard]).subtle-background {
--luma: 0%;
}
}
} }
[color=coral] { [color=coral] {
--hue: 20; --hue: 20;
+6
View File
@@ -96,6 +96,12 @@
[color]:not([color="standard"]).subtle-background { [color]:not([color="standard"]).subtle-background {
--luma: var(--subtle-luma-dark); --luma: var(--subtle-luma-dark);
} }
@media (display-mode: standalone) {
[color]:not([color="standard"]).subtle-background {
--luma: 0%;
}
}
} }
/* definitions */ /* definitions */