feat: Добавлена конфигурация для storybook

This commit is contained in:
Ilia Mashkov
2025-11-19 22:15:25 +03:00
parent 65588bc8be
commit 0006a20a61
4 changed files with 1818 additions and 30 deletions

View File

@@ -0,0 +1,27 @@
import type { Preview } from '@storybook/react'
const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
backgrounds: {
default: 'light',
values: [
{
name: 'light',
value: '#ffffff',
},
{
name: 'dark',
value: '#1a1a1a',
},
],
},
},
}
export default preview