1.9.4 • Published 5 years ago

@socialgouv/emjpm-ui-theme v1.9.4

Weekly downloads
13
License
Apache-2.0
Repository
github
Last release
5 years ago

emjpm-ui

ui library for emjpm

Storybook with auto docs can be found here https://emjpm-design-system.netlify.com

Installation and Usage

theming

You can use @socialgouv/emjpm-ui-theme or create your own based on that one, it should respect colors and variant

To provide a theme to the app you should use https://theme-ui.com/getting-started/

install dependencies

yarn add theme-ui @emotion/core @mdx-js/react

adding theme to the app

// basic usage
import React from 'react'
import { ThemeProvider } from 'theme-ui'
import theme from '@socialgouv/emjpm-ui-theme'

const App = () => (
  <ThemeProvider theme={theme}>
    <Content/>
  </ThemeProvider>
)
1.9.4

5 years ago

1.9.3

5 years ago

1.9.2

6 years ago

1.9.1

6 years ago

1.9.0

6 years ago

1.8.0

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago