web: toggle dark/light theme manually (#4876)
This commit is contained in:
@ -7,7 +7,6 @@ import { t } from "@lingui/macro";
|
||||
import { CSSResult, TemplateResult, css, html } from "lit";
|
||||
import { customElement, property } from "lit/decorators.js";
|
||||
|
||||
import AKGlobal from "@goauthentik/common/styles/authentik.css";
|
||||
import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css";
|
||||
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||
|
||||
@ -22,7 +21,6 @@ export class OutpostHealthElement extends AKElement {
|
||||
return [
|
||||
PFBase,
|
||||
PFDescriptionList,
|
||||
AKGlobal,
|
||||
css`
|
||||
li {
|
||||
margin: 5px 0;
|
||||
|
||||
@ -9,7 +9,6 @@ import { t } from "@lingui/macro";
|
||||
import { CSSResult, TemplateResult, html } from "lit";
|
||||
import { customElement, property } from "lit/decorators.js";
|
||||
|
||||
import AKGlobal from "@goauthentik/common/styles/authentik.css";
|
||||
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||
|
||||
import { OutpostHealth, OutpostsApi } from "@goauthentik/api";
|
||||
@ -29,7 +28,7 @@ export class OutpostHealthSimpleElement extends AKElement {
|
||||
showVersion = true;
|
||||
|
||||
static get styles(): CSSResult[] {
|
||||
return [PFBase, AKGlobal];
|
||||
return [PFBase];
|
||||
}
|
||||
|
||||
constructor() {
|
||||
|
||||
@ -13,7 +13,6 @@ import { customElement } from "@lit/reactive-element/decorators/custom-element.j
|
||||
import { CSSResult, TemplateResult, html } from "lit";
|
||||
import { property } from "lit/decorators.js";
|
||||
|
||||
import AKGlobal from "@goauthentik/common/styles/authentik.css";
|
||||
import PFButton from "@patternfly/patternfly/components/Button/button.css";
|
||||
import PFForm from "@patternfly/patternfly/components/Form/form.css";
|
||||
import PFRadio from "@patternfly/patternfly/components/Radio/radio.css";
|
||||
@ -27,7 +26,7 @@ export class InitialServiceConnectionWizardPage extends WizardPage {
|
||||
connectionTypes: TypeCreate[] = [];
|
||||
|
||||
static get styles(): CSSResult[] {
|
||||
return [PFBase, PFForm, PFButton, AKGlobal, PFRadio];
|
||||
return [PFBase, PFForm, PFButton, PFRadio];
|
||||
}
|
||||
sidebarLabel = () => t`Select type`;
|
||||
|
||||
@ -72,7 +71,7 @@ export class InitialServiceConnectionWizardPage extends WizardPage {
|
||||
@customElement("ak-service-connection-wizard")
|
||||
export class ServiceConnectionWizard extends AKElement {
|
||||
static get styles(): CSSResult[] {
|
||||
return [PFBase, PFButton, AKGlobal, PFRadio];
|
||||
return [PFBase, PFButton, PFRadio];
|
||||
}
|
||||
|
||||
@property()
|
||||
|
||||
Reference in New Issue
Block a user