0.1.2 • Published 5 years ago

@hungry/bulma-styled-theme v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

bulma-styled-theme

styled-components theme provider with embedded @hungry/bulma-theme.

Docs

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>