mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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 })
|