This repository has no description
534 B
25 lines
1import type { Preview } from "@storybook/sveltekit";
2
3// Load the app's global styles (Tailwind + theme tokens) so components
4// render with real styling inside Storybook.
5import "../src/app.css";
6
7const preview: Preview = {
8 parameters: {
9 controls: {
10 matchers: {
11 color: /(background|color)$/i,
12 date: /Date$/i
13 }
14 },
15
16 a11y: {
17 // 'todo' - show a11y violations in the test UI only
18 // 'error' - fail CI on a11y violations
19 // 'off' - skip a11y checks entirely
20 test: "todo"
21 }
22 }
23};
24
25export default preview;