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.
 
 
 
 
 

20 lines
396 B

import { withThemeByClassName } from '@storybook/addon-themes';
const preview = {
decorators: [
withThemeByClassName({
themes: {
light: 'theme-light',
dark: 'theme-dark'
},
defaultTheme: 'light',
parentSelector: 'body'
})
]
};
if (typeof document !== 'undefined') {
document.body.classList.add('mat-typography');
}
export default preview;