mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-12 08:17:28 -05:00
ceab823447
Improve Storybook theming GitOrigin-RevId: f02f0cfc8d13ca1a1510bd840afdc8f326fb6750
15 lines
324 B
JavaScript
15 lines
324 B
JavaScript
import { addons } from '@storybook/addons'
|
|
import { create } from '@storybook/theming'
|
|
|
|
import './global.css'
|
|
|
|
import brandImage from '../public/img/ol-brand/overleaf.svg'
|
|
|
|
const theme = create({
|
|
base: 'light',
|
|
brandTitle: 'Overleaf',
|
|
brandUrl: 'https://www.overleaf.com',
|
|
brandImage
|
|
})
|
|
|
|
addons.setConfig({ theme })
|