Welcome to the Bento Design Tokens library!
The aim of this library is to maintain design consistency across various products at Adyen.
Design tokens are semantic values that are used in Figma designs and CSS styles.
We have opted to use the Style Dictionary token creation tool that resides
in the @adyen/bento-design-tokens
package.
The Style dictionary uses 3 layers of tokens:
Example: color.grey.30
Example: background-color-interacted
Components - Component-specific tokens are representation of every theme-able value associated with a component
Example: toggle-checked-background-color
For further explanation please check Adobe Spectrum documentation.
The design tokens package tokens
folder contains 2 folders:
- base
- aliases (read-only)
- components
- definitions (read-only)
- themes
- legacy
- aliases
- components
- definitions
- legacy