mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +03:00
Tweak storybook UI a bit
This commit is contained in:
parent
f7a03705a8
commit
c99fcf5ed9
1 changed files with 14 additions and 0 deletions
|
@ -2,6 +2,7 @@ import '../styles/variables.css';
|
|||
import '../styles/global.less';
|
||||
import '../styles/theme.less';
|
||||
import '../stories/preview.scss';
|
||||
import { themes } from '@storybook/theming';
|
||||
|
||||
export const parameters = {
|
||||
actions: { argTypesRegex: '^on[A-Z].*' },
|
||||
|
@ -11,4 +12,17 @@ export const parameters = {
|
|||
date: /Date$/,
|
||||
},
|
||||
},
|
||||
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',
|
||||
},
|
||||
// Override the default light theme
|
||||
light: { ...themes.normal },
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue