@hungry/bulma-styled-theme
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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>

Package Sidebar

Install

npm i @hungry/bulma-styled-theme

Weekly Downloads

2

Version

0.1.2

License

MIT

Unpacked Size

467 kB

Total Files

29

Last publish

Collaborators

  • damianbaar