You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
875 B
37 lines
875 B
import '../styles/variables.css'; |
|
import '../styles/global.less'; |
|
import '../styles/theme.less'; |
|
import './preview.scss'; |
|
import { themes } from '@storybook/theming'; |
|
import { DocsContainer } from './storybook-theme'; |
|
|
|
export const parameters = { |
|
fetchMock: { |
|
mocks: [], |
|
}, |
|
actions: { argTypesRegex: '^on[A-Z].*' }, |
|
docs: { |
|
container: DocsContainer, |
|
}, |
|
controls: { |
|
matchers: { |
|
color: /(background|color)$/i, |
|
date: /Date$/, |
|
}, |
|
viewMode: 'docs', |
|
}, |
|
darkMode: { |
|
current: 'dark', |
|
// Override the default dark theme |
|
dark: { |
|
...themes.dark, |
|
appBg: '#171523', |
|
brandImage: 'https://owncast.online/images/logo.svg', |
|
brandTitle: 'Owncast', |
|
brandUrl: 'https://owncast.online', |
|
appContentBg: '#171523', |
|
}, |
|
// Override the default light theme |
|
light: { ...themes.normal }, |
|
}, |
|
};
|
|
|