Token System Design in Figma

Design tokens are design decisions, translated into data. They act as a “source of truth”
to help ensure that product experiences feel unified and cohesive.
What is design tokens?
Design tokens are small pieces of data that define the design elements of a user interface, such as colors, typography, and spacing. By using Figma Tokens in Ant Design System for Figma, designers can use design tokens that can be easily shared and updated across their projects.
Why token system?
Here are some advantages of using a token system in Figma for both designers and developers:
Consistency
Design elements (colors, typography, spacing) remain consistent across projects
Scalability
Easily update tokens to reflect changes across multiple components and plarforms
Efficiency
Speeds up the design and development process by reducing repetitive tasks
Collaboration
Designers and developers work with a shared language, improving communication
Token Hierarchy and Naming Convention
Primitives
Primitives is the highest level of token hierarchy. This is the "What" of the future design system, and contains properties and values that exist within the entire design.
Primitives include all colors, all spacing variables, all fonts and their parameters, all round corner settings etc.
Semantic
Semantic is "How" and "Where" the tokens should be used.
Semantic names convey meaning, purpose, and how and where the asset should be used.
Component
Component tokens are specific to individual components and generally refer to semantic tokens. Depending on the narure of the project and the team set up I might create this layer that defines tokens to be used for specific components explicitly.
Now that all properties and variables were defined as tokens it is time to start building UI elements.
Check my approach of creating design system below:
PenPal Design System
Or you can download this token system on Figma on the "Resources" page.