Naming convention examples
- 31 Jan 2023
- 1 Minute to read
- DarkLight
Naming convention examples
- Updated on 31 Jan 2023
- 1 Minute to read
- DarkLight
Article Summary
Share feedback
Thanks for sharing your feedback!
Based on the best practices you considered in the previous page, here are some naming convention examples. Note how the naming taxonomy flows right through design and development, from the sketch file name through to the design tokens to provide consistency across both functions.
Color / Layer Style Example
Taxonomy | Sketch Name | Token(s)* |
category–type–variation | brand/primary/base | fill: brand.primary.base |
Text Style Example
Taxonomy | Sketch Name | Token(s)* |
use–variation–alignment | button/default/left |
|
Component / Pattern Example
Taxonomy | Sketch Name | Token(s)* |
category–type–variation–state | button/primary/icon/default |
|
Was this article helpful?