I'm working on a project where I need to create some tokens. I'm wondering about the best practices or common conventions for naming these tokens. Should they be descriptive, short, or follow a specific pattern? How do others typically approach this?
7 answers
Maria
Fri Nov 22 2024
Instead of opting for vague or generic terms, utilize names that convey specific information.
Martino
Fri Nov 22 2024
The purpose and value of the token should be reflected in its name.
Caterina
Fri Nov 22 2024
Avoid using generic phrases like “color1” or “spacing2” as they do not provide any insight.
Pietro
Fri Nov 22 2024
When naming tokens, it is crucial to be descriptive.
Chiara
Fri Nov 22 2024
By using descriptive names, the understanding and usability of the token are significantly enhanced.