theme
The theme object stores design system style values and scales. The objects shape is based on the System UI Theme Specification.
Install
yarn add @gdo-bzh/theme polished react styled-components @xstyled/styled-components lodash.merge
# or
npm i @gdo-bzh/theme polished react styled-components @xstyled/styled-components lodash.merge -S
Usage
import React from 'react'
import {ThemeProvider} from '@gdo-bzh/theme
const MyApp = () => <div>My themeable application!</div>
const Example = () => <ThemeProvider><MyApp /></ThemeProvider>
License
MIT © gdo-bzh