gradio/js/storybook/main.ts
Hannah 546e1d89f4
Add design tokens to storybook (#5750)
* add design tokens to storybook

* tweak

* tweak

* visual tweaks

* add icons
2023-10-02 13:52:09 +02:00

23 lines
534 B
TypeScript

import type { StorybookConfig } from "@storybook/svelte-vite";
const config: StorybookConfig = {
stories: ["../../**/*.mdx", "../../**/*.stories.@(js|jsx|ts|tsx|svelte)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-svelte-csf",
"@storybook/addon-a11y"
],
framework: {
name: "@storybook/svelte-vite",
options: {
builder: {
viteConfigPath: "js/storybook/vite.config.js"
}
}
},
staticDirs: ["./public"]
};
export default config;