rename to theia
All checks were successful
Deployment / Deploy (push) Successful in 6m9s

This commit is contained in:
Benjamin Palko 2025-03-30 23:10:13 -04:00
parent 56cc37de7e
commit 81633cda04
72 changed files with 1299 additions and 37 deletions

View file

@ -0,0 +1,17 @@
/** @type { import('@storybook/sveltekit').StorybookConfig } */
const config = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|ts|svelte)'],
addons: [
'@chromatic-com/storybook',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-styling-webpack',
'@storybook/addon-svelte-csf',
'@storybook/addon-themes',
],
framework: {
name: '@storybook/sveltekit',
options: {},
},
};
export default config;

View file

@ -0,0 +1,2 @@
@import 'tailwindcss';
@plugin "daisyui";

View file

@ -0,0 +1,28 @@
import { withThemeByDataAttribute } from '@storybook/addon-themes';
import './preview.css';
/** @type { import('@storybook/svelte').Preview } */
const preview = {
tags: ['autodocs'],
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
decorators: [
withThemeByDataAttribute({
themes: {
light: 'light',
dark: 'dark',
night: 'night',
},
defaultTheme: 'dark',
attributeName: 'data-theme',
}),
],
};
export default preview;