Contributing
Help Dialtone be even better.
Component Contribution
Design
TBD
Code
To make code changes in our Design System please first read the CONTRIBUTING.md in our Dialtone repository.
Adding Icons and Illustrations
If you need to add an icon into Dialtone, here’s how you would go about doing that.
For System Icons
Create a new branch starting with "feat/" in the name.
Place the exported SVG file(s) in the appropriate folder category inside
packages/dialtone-icons/src/svg/icons/If you need to add keywords related to the icon.
- Add the icon name to
packages/dialtone-icons/src/keywords-icons.jsoninto the correct category. - Add the keywords array as the value. e.g.
{ "arrows": { "arrow-left": ["arrow", "left", "direction"], ... } }- Add the icon name to
Commit and push your branch.
Open a pull request.
Once approved it can be merged into staging and will go out in the next release.
For System Illustrations
Create a new branch starting with "feat/" in the name.
Place the exported SVG file(s) in the appropriate folder category inside
packages/dialtone-icons/src/svg/illustrations/If you need to add keywords related to the illustration.
- Add the illustration name to
packages/dialtone-icons/src/keywords-illustrations.jsoninto the correct category. - Add the keywords array as the value. e.g.
{ "spot-illustrations": { "blank-space": ["blank", "space"], ... } }- Add the illustration name to
Commit and push your branch.
Open a pull request.
Once approved it can be merged into staging and will go out in the next release.