parent
26725457f5
commit
c34345fc09
@ -0,0 +1,47 @@ |
|||||||
|
<link |
||||||
|
href='https://fonts.googleapis.com/css?family=PT+Sans:400,700&amp;subset=cyrillic,latin' |
||||||
|
rel='stylesheet' type='text/css'/> |
||||||
|
<style> |
||||||
|
*, *:before, *:after { |
||||||
|
box-sizing: border-box; |
||||||
|
} |
||||||
|
|
||||||
|
body { |
||||||
|
min-height: 100vh; |
||||||
|
margin: 20; |
||||||
|
padding: 20; |
||||||
|
font-family: Montserrat, Tahoma, sans-serif; |
||||||
|
font-size: 12px; |
||||||
|
line-height: 12px; |
||||||
|
color: #000; |
||||||
|
} |
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6, p, ul, li { |
||||||
|
margin: 0; |
||||||
|
padding: 0; |
||||||
|
font-size: 12px; |
||||||
|
line-height: 12px; |
||||||
|
} |
||||||
|
|
||||||
|
ul, li { |
||||||
|
list-style: none; |
||||||
|
} |
||||||
|
|
||||||
|
a { |
||||||
|
text-decoration: none; |
||||||
|
color: #000; |
||||||
|
} |
||||||
|
|
||||||
|
fieldset { |
||||||
|
margin: 0; |
||||||
|
min-width: 0; |
||||||
|
padding: 0; |
||||||
|
border: 0; |
||||||
|
} |
||||||
|
|
||||||
|
button, input, select, textarea { |
||||||
|
font-family: inherit; |
||||||
|
font-size: inherit; |
||||||
|
line-height: inherit; |
||||||
|
} |
||||||
|
</style> |
||||||
@ -0,0 +1,7 @@ |
|||||||
|
import { addDecorator } from '@storybook/react' |
||||||
|
import { withThemesProvider } from 'storybook-addon-styled-component-theme' |
||||||
|
|
||||||
|
import { lightTheme, darkTheme } from '../src/features/Theme/config' |
||||||
|
|
||||||
|
const themes = [darkTheme, lightTheme] |
||||||
|
addDecorator(withThemesProvider(themes)) |
||||||
Loading…
Reference in new issue