mirror of
https://github.com/goauthentik/authentik
synced 2026-04-25 17:15:26 +02:00
17 lines
381 B
JavaScript
17 lines
381 B
JavaScript
/**
|
|
* @file Storybook manager configuration.
|
|
*/
|
|
|
|
import { extendStorybookTheme } from "./theme.js";
|
|
|
|
import { createUIThemeEffect } from "@goauthentik/web/common/theme.ts";
|
|
|
|
import { addons } from "storybook/manager-api";
|
|
|
|
createUIThemeEffect((nextUITheme) => {
|
|
addons.setConfig({
|
|
theme: extendStorybookTheme(nextUITheme),
|
|
enableShortcuts: false,
|
|
});
|
|
});
|