web: move colour styles to css file

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-17 17:50:44 +01:00
parent 16950dbc54
commit 88cf0b2cdc
7 changed files with 40 additions and 51 deletions

View File

@ -5,7 +5,7 @@ import { OutpostsApi } from "authentik-api";
import { DEFAULT_CONFIG } from "../../api/Config";
import PFBase from "@patternfly/patternfly/patternfly-base.css";
import "../../elements/Spinner";
import { ColorStyles } from "../../common/styles";
import AKGlobal from "../../authentik.css";
@customElement("ak-outpost-health")
export class OutpostHealth extends LitElement {
@ -14,7 +14,7 @@ export class OutpostHealth extends LitElement {
outpostId?: string;
static get styles(): CSSResult[] {
return [PFBase, ColorStyles];
return [PFBase, AKGlobal];
}
render(): TemplateResult {