web: fix theming issues when using automatic (#4898)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L
2023-03-10 17:33:03 +01:00
committed by GitHub
parent 0ef333f8ea
commit 59e54901fb
7 changed files with 41 additions and 35 deletions

View File

@ -70,7 +70,11 @@ export class AdminInterface extends Interface {
display: none;
}
.pf-c-page {
background-color: transparent !important;
background-color: var(--pf-c-page--BackgroundColor) !important;
}
/* Global page background colour */
:host([theme="dark"]) .pf-c-page {
--pf-c-page--BackgroundColor: var(--ak-dark-background);
}
`,
];