feat: add Storybook component explorer

This commit is contained in:
vince 2026-06-18 18:53:48 +02:00
parent f1dc95b51c
commit d95f064189
47 changed files with 1730 additions and 8 deletions

23
.storybook/preview.ts Normal file
View file

@ -0,0 +1,23 @@
import "../src/app.css";
import type { Preview } from "@storybook/sveltekit";
const preview: Preview = {
parameters: {
backgrounds: {
default: "canvas",
values: [
{ name: "canvas", value: "#020302" },
{ name: "raised", value: "#0b0d0c" },
],
},
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
layout: "fullscreen",
},
};
export default preview;