1.0.1 • Published 5 years ago

@system-one/react v1.0.1

Weekly downloads
32
License
-
Repository
-
Last release
5 years ago

System-One - Design System Netlify Status

Customized theme-based style props for building design systems with React.

Features

  • styled-components
  • styled-systems
  • react-styleguidist for component style guide

Installation

yarn add @system-one/react

or

npm install @system-one/react

Since this component is based off the concept of theme-based styling, you will need to install and wrap your root component with styled-components' ThemeProvider:

import { ThemeProvider } from 'styled-components';
import { theme } from '@system-one/react';

const App = props => (
  <ThemeProvider theme={theme}>
    {props.children}
  </ThemeProvider>
);

ReactDOM.render(<App />, document.getElementById('root'));

Available Scripts

In the project directory, you can run:

yarn guide

Runs Styleguidist server

Open http://localhost:4000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

yarn guide:build

Builds HTML version of component library to production. Updates will be reflected in here.

1.0.1

5 years ago

1.0.0

5 years ago

0.1.29

5 years ago

0.1.28

5 years ago

0.1.27

5 years ago

0.1.26

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago