# Overview URL: /foundations/design-token Source: https://github.com/daangn/seed-design/blob/dev/docs/content/foundations/design-token/index.mdx Design tokens are a way to encode design decisions in a way that both humans and machines can understand. ## What are design tokens? Design tokens are a translation of design decisions into data. They are a communication tool and common language for conveying UI details between design and engineering. Design tokens consist of naming values needed to construct and maintain a design system, such as colors, typography, spacing, and animation. Any value with a design definition, such as colors represented in RGB, spacing represented in numbers and units, and motion represented in cubic-bezier, can be expressed as a design token. ## Structure of Crispy Tokens ![Token Semantics](/docs/token-semantics.png) **Raw values** refer to actual values that can be rendered on any display device. This includes values representing size such as `1px`, `1dp`, `1rem`, and `1vw`; color values such as `#fff` and `rgba(123, 123, 123, 1)`; and font values such as `"Noto Sans KR"`. By limiting values that will actually be used from practically infinite values and assigning unique names, we can achieve design consistency and reusability; however, this can greatly limit design flexibility and creativity. Crispy design tokens are used in two main hierarchical layers for flexibility. **Scale Token** is a name given to a single Raw value Scale. Through the scale's name, values used in the entire design are kept finite. Scale hides the details of values (output device) through predefined units, enabling design to remain agnostic to specific platforms. **Semantic Token** is a unit that expresses design intent through a combination of Scale Tokens and is used as a key building block in actual design and development processes. The Scale and Semantic definitions that exist in the system determine the overall design scheme, and by injecting appropriate values into the Scale based on external environments such as viewports or platforms, the scheme can be flexibly redefined without changing the schema. ## Examples of Crispy Tokens ### Color Tokens ![Color Token Example](/docs/token-example-1.png) The `fg.brand` and `bg.brand` tokens help ensure consistent brand color usage for backgrounds and text across all services. ### Spacing Tokens ![Spacing Token Example](/docs/token-example-2.png) The `global-gutter` token, which represents the spacing between the screen edge and content, helps ensure consistent spacing across all services.