@gdo-bzh/theme

The theme object stores design system style values and scales. The objects shape is based on the System UI Theme Specification.

Usage no npm install needed!

<script type="module">
  import gdoBzhTheme from 'https://cdn.skypack.dev/@gdo-bzh/theme';
</script>

README

version

theme

NPM JavaScript Style Guide

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