@hungry/bulma-styled-theme
v0.1.2
Published
`bulma-styled-theme` ====
Downloads
4
Maintainers
Readme
bulma-styled-theme
styled-components
theme provider with embedded @hungry/bulma-theme
.
Real usage scenario
Example
without any theme alteration
import { Theme } from '@hungry/bulma-styled-theme'
import { Button } from '@hungry/bulma-element'
<Theme.Provider>
<Button />
<Theme.Provider>
more explicit
import { Theme } from '@hungry/bulma-styled-theme'
import { Button } from '@hungry/bulma-element'
import { defaultTheme } from '@hungry/bulma-theme'
<Theme.Provider theme={defaultTheme}>
<Button />
<Theme.Provider>