web: fix css for dark mode

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-20 19:38:25 +02:00
parent 3195640776
commit 5a8b356dc7
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ export class AdminInterface extends LitElement {
display: none; display: none;
} }
.pf-c-page { .pf-c-page {
background-color: var(--pf-global--BackgroundColor--light-300) !important; background-color: var(--pf-c-page--BackgroundColor) !important;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
/* Global page background colour */ /* Global page background colour */

View File

@ -75,7 +75,7 @@ export class UserInterface extends LitElement {
background-color: transparent !important; background-color: transparent !important;
} }
.pf-c-page { .pf-c-page {
background-color: var(--pf-global--BackgroundColor--light-300) !important; background-color: var(--pf-c-page--BackgroundColor) !important;
} }
.display-none { .display-none {
display: none; display: none;