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 2eb18ff5e6
commit 33bb6edf8c
1 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,12 @@ export class RouterOutlet extends LitElement {
css`
:host {
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 {
height: 100%;