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

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%;