web: fix background-color on router outlet on light mode

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-15 11:31:06 +02:00
parent 19a663a645
commit c476503594
1 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,12 @@ export class RouterOutlet extends LitElement {
css` css`
:host { :host {
height: 100vh; height: 100vh;
background-color: var(--ak-dark-background, var(--pf-c-page--BackgroundColor)) !important; background-color: var(--pf-global--BackgroundColor--light-300) !important;
}
@media (prefers-color-scheme: dark) {
:host {
background-color: var(--ak-dark-background) !important;
}
} }
*:first-child { *:first-child {
height: 100%; height: 100%;