Files
kms/frontend/.storybook/preview.tsx
zeekay 5150b3c856 Fix nil ZAP client panic in secrets-only mode, fix .gitignore
- Guard ZAP status check behind nil check (MPC_VAULT_ID optional)
- .gitignore: /kmsd not kmsd (was blocking cmd/kmsd/ directory)
2026-04-08 13:57:56 -07:00

37 lines
691 B
TypeScript

import type { Preview } from "@storybook/react-vite";
import { DocumentDecorator, RouterDecorator } from "./decorators";
import "../src/index.css";
const preview: Preview = {
decorators: [DocumentDecorator, RouterDecorator],
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i
}
},
docs: {
backgroundColor: "var(--background)"
},
a11y: {
test: "todo"
},
backgrounds: {
default: "dark",
options: {
dark: { name: "Dark", value: "var(--background)" }
}
}
},
initialGlobals: {
backgrounds: {
value: "dark"
}
}
};
export default preview;