storybook-styled-components

Switch between themes and see how your components react
Set It Up
inside your storybook addons, register the storybook-styled-components
:
import 'storybook-styled-components/register'
In your config.js, define your theme configuration and pass it in to the addDecorator
function
import { configure, addDecorator } from '@storybook/react'
import { withThemes } from 'storybook-styled-components'
import firstTheme from './src/themes/first'
import secondTheme from './src/themes/second'
const themes = {
'First Theme': firstTheme,
'Second Theme': secondTheme,
}
addDecorator(withThemes(themes))
This is still a Work In Progress ... Feedback welcomed