Skip to content

Repository files navigation

CI

Basis Design System

Installation

npm install --save basis @emotion/core prop-types

Install the fonts that your theme needs. For example, if you are using the default theme:

npm install --save typeface-{montserrat,roboto}

Usage

importReactfrom"react";import{BasisProvider,defaultTheme,Text}from"basis";import"typeface-montserrat";import"typeface-roboto";functionApp(){return(<BasisProvidertheme={defaultTheme}><Text>Hello World</Text></BasisProvider>);}exportdefaultApp;

Developing locally

npm install
npm start

Thanks

License

MIT

Releases

Used by

Contributors

Languages