mirror of
https://github.com/hanzoai/kms.git
synced 2026-11-03 01:10:24 +00:00
- Guard ZAP status check behind nil check (MPC_VAULT_ID optional) - .gitignore: /kmsd not kmsd (was blocking cmd/kmsd/ directory)
37 lines
691 B
TypeScript
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;
|