netural-guidelines-assistant
v1.0.3
Published
![alt text](https://www.netural.com/images/favicon-96x96.png)
Downloads
10
Maintainers
Readme
Netural Guidelines Assistant for Sketch
This Sketch assistant validates document opacities, radiuses, shadows, border styles, border colors, fill colors, text colors, text sizes, text line-heights and font families against generic design tokens defined in a JSON file.
About Sketch Assistants
First time using a Sketch Assistant? 🤔 How can I add assistant to my sketch file?
Links
Linting rules
Opacities should match the defined token values.
- Reports a violation if a font is different than defined in JSON file.
Radiuses should match the defined token values.
- Reports a violation if a radius is different than defined in JSON file.
Shadows should match the defined token values.
- Reports a violation if a shadow is different than defined in JSON file.
Border styles should match the defined token values.
- Reports a violation if a border style is different than defined in JSON file.
Border colors should match defined border or generic color token values.
- Reports a violation if a border color is different than defined in JSON file.
Fill colors should match defined fill or generic color token values.
- Reports a violation if a fill color is different than defined in JSON file.
Text colors should match defined text or generic color token values.
- Reports a violation if a text color is different than defined in JSON file.
Text sizes should match the defined token values.
- Reports a violation if a text size is different than defined in JSON file.
Text line heights should match the defined token values.
- Reports a violation if a text line height is different than defined in JSON file.
Font families should match the defined token values.
- Reports a violation if a font family used is different than defined in JSON file.
Artboard names should follow the naming conventions.
- Reports a violation if an artboard name is different than defined in JSON file.
Symbol names should follow the naming conventions.
- Reports a violation if a symbol name is different than defined in JSON file.
Names of shared text styles should follow the naming conventions.
- Reports a violation if a shared text style name is different than defined in JSON file.
Texts should not contain defined phrases.
- Reports a violation if a text contains any of the defined phrases.