2022-05-06 23:27:29 -07:00
|
|
|
import '../styles/variables.css';
|
2022-04-17 22:32:57 -07:00
|
|
|
import '../styles/global.less';
|
2022-04-19 14:33:43 -07:00
|
|
|
import '../styles/theme.less';
|
2022-09-03 20:38:52 +02:00
|
|
|
import './preview.scss';
|
2022-05-07 01:13:26 -07:00
|
|
|
import { themes } from '@storybook/theming';
|
2022-05-17 14:23:52 -07:00
|
|
|
import { DocsContainer } from './storybook-theme';
|
2022-04-17 18:50:39 -07:00
|
|
|
|
|
|
|
export const parameters = {
|
2022-07-20 20:42:23 -07:00
|
|
|
fetchMock: {
|
|
|
|
mocks: [],
|
|
|
|
},
|
2022-04-17 18:50:39 -07:00
|
|
|
actions: { argTypesRegex: '^on[A-Z].*' },
|
2022-05-17 14:23:52 -07:00
|
|
|
docs: {
|
|
|
|
container: DocsContainer,
|
|
|
|
},
|
2022-04-17 18:50:39 -07:00
|
|
|
controls: {
|
|
|
|
matchers: {
|
|
|
|
color: /(background|color)$/i,
|
|
|
|
date: /Date$/,
|
|
|
|
},
|
2022-05-17 14:23:52 -07:00
|
|
|
viewMode: 'docs',
|
2022-04-17 18:50:39 -07:00
|
|
|
},
|
2022-05-07 01:13:26 -07:00
|
|
|
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',
|
2022-05-17 14:23:52 -07:00
|
|
|
appContentBg: '#171523',
|
2022-05-07 01:13:26 -07:00
|
|
|
},
|
|
|
|
// Override the default light theme
|
|
|
|
light: { ...themes.normal },
|
|
|
|
},
|
2022-04-17 18:50:39 -07:00
|
|
|
};
|