web: fix background-color on router outlet on light mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
19a663a645
commit
c476503594
|
@ -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%;
|
||||||
|
|
Reference in New Issue