3.0.16 • Published 5 years ago
politico-style v3.0.16
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:
@import "../../node_modules/politico-style/scss/base/theme";
Include parts of a theme:
@import "../../node_modules/politico-style/scss/base/components/header";
@import "../../node_modules/politico-style/scss/base/components/footer";
Import a theme using Webpack's sass-loader:
import 'politico-style/scss/base/main.scss';
Components
import { Sketch } from "politico-style";
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
Cf.
3.0.16
5 years ago
3.0.15
5 years ago
3.0.14
5 years ago
3.0.13
5 years ago
3.0.12
5 years ago
3.0.11
5 years ago
3.0.10
5 years ago
3.0.9
5 years ago
3.0.8
5 years ago
3.0.7
5 years ago
3.0.6
5 years ago
3.0.5
5 years ago
3.0.4
5 years ago
3.0.3
5 years ago
3.0.2
6 years ago
3.0.1
6 years ago
3.0.0
6 years ago
2.0.0
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.1.0
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago