1.9.0 • Published 2 years ago
@speakapbv/dough-component-library-tokens v1.9.0
Dough Component Library Design Tokens
Dough component library shared design tokens
Install
$ npm install @speakapbv/dough-component-library-tokens
$ yarn add @speakapbv/dough-component-library-tokensUsage (SCSS)
@import (~@speakapbv/dough-component-library-tokens/dough-tokens.scss)
Development
- Based on entity that you want to add
- For icons that should always look the same independent of the context
- add corresponding
svgto theassets/icon/filedirectory with-iconsuffix - extend
design-tokens/icons.jsonwith new definition
- add corresponding
- For icons that are context dependant (for example can change size and/or color)
- add corresponding
svgtoassets/icon/icon-svgswith-iconssuffix
- add corresponding
- Design tokens
- find relevant
.jsonindesign-tokensdirectory - extend it with new definition
- find relevant
- For icons that should always look the same independent of the context
- Run
yarn generatecommand. Command creates all of the assets which are not stored in the repository and it will also updateindex.tsandicons.tswith extended definitions. - Create PR with those changes.
Release
- Create new branch with changes that you want to see in release
- Create commit message following semantic release (the easiest is to use
yarn cm) - Merge PR. The release will happen automatically, if the commit name falls into new release category.
1.9.0
2 years ago
1.8.0
2 years ago
1.7.2
3 years ago
1.7.1
3 years ago
1.7.0
3 years ago
1.6.0
3 years ago
1.5.2
3 years ago
1.5.0
3 years ago
1.4.0
3 years ago
1.3.4
4 years ago
1.3.3
4 years ago
1.3.2
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.4
5 years ago
1.2.0
5 years ago
1.2.3
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.0
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.3
6 years ago
0.0.4
6 years ago
0.0.2
6 years ago