politico-style
Web fashions by POLITICO Interatives.
See the docs.
Using in your project
Install the module.
$ yarn add politico-style
Styles
Include an entire theme:
;
Include parts of a theme:
;;
Import a theme using Webpack's sass-loader:
import 'politico-style/scss/base/main.scss';
Components
; const Nav = Sketch; const MyComponent = <Nav appName="My new app" />;
Developing
$ yarn install
$ npm start
Once you're done:
$ npm run build
To publish: Update the version number in package.json
$ npm publish