@ferlab/style
v1.29.2
Published
Core components for scientific research data portals
Downloads
523
Keywords
Readme
SCSS file for styling @ferlab/style
Base scss for all reusable components.
Requirements
- Ant design
- Site specific variable for themes
Installation
Installation the library
npm i @ferlab/style
Create a default theme file if it does not exist
touch style/themes/default/main.scss
Add ferlab/style import
@import '@ferlab/style/index.scss';
Developper
All work must be done based on master All styles automatically reference to the @ferlab/styles package
Publish new release
To publish a new release once a PR as been validated and merged
- Try to install the package to make sure everything work corretly
cd [test dir] && npm i [full_path]/ferlab-ui/packages/style
- On master Update package.json version
- Create a tag to the new version
git tag [semantic version]
- Login to npm
npm login
- Push the new version
npm publish