remove default example stories that were broken currently only the dark theme works due to the way storybook includes CSS files in the iframe Signed-off-by: Jens Langhammer <jens@goauthentik.io>
16 lines
430 B
TypeScript
16 lines
430 B
TypeScript
import { FlowExecutor } from "@goauthentik/app/flow/FlowExecutor";
|
|
|
|
import { customElement, property } from "lit/decorators.js";
|
|
|
|
import { UiThemeEnum } from "@goauthentik/api";
|
|
|
|
@customElement("ak-storybook-interface-flow")
|
|
export class StoryFlowInterface extends FlowExecutor {
|
|
@property()
|
|
storyTheme: UiThemeEnum = UiThemeEnum.Dark;
|
|
|
|
async getTheme(): Promise<UiThemeEnum> {
|
|
return this.storyTheme;
|
|
}
|
|
}
|