condolivre-ds
v1.9.1
Published
## Peer Dependencies - Styled-Components - Helmet (to import googleFonts)
Downloads
34
Readme
condolivre-design-system
Peer Dependencies
- Styled-Components
- Helmet (to import googleFonts)
Installation
Design system requires Node.js v10+ to run.
yarn add condolivre-ds
Usage
- Import { GlobalStyles } from 'condolivre-design-system';
Import { GlobalStyles, Button } from 'condolivre-design-system';
function MyApp({}) {
return (
<GlobalStyles theme="default">
<Head>
<title>Condo Livre</title>
</Head>
<GlobalStyles />
<Button primary size="huge" disabled>Click me</Button>
...OtheComps
</GlobalStyles>
);
}
How NPM Publish works
- Must have aways a new version updates on package.json
- Deploy will trigger npm publish
- That's it
Storybook
yarn storybook
How to publish into github pages, just run:
"predeploy": "yarn build-storybook",
"deploy-storybook": "gh-pages -d storybook-static",