@adyen/bento-design-tokens

1.23.0 • Public • Published

Bento Design Tokens

Introduction

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.

Style Dictionary

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:

Definitions - All the static literal definitions

  Example: color.grey.30

Aliases - Semantic layer of tokens relating to a specific context or abstraction

  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.

Design tokens package:

The design tokens package tokens folder contains 2 folders:

  • base
    • aliases (read-only)
    • components
    • definitions (read-only)
  • themes
    • legacy
      • aliases
      • components
      • definitions

Dependents (6)

Package Sidebar

Install

npm i @adyen/bento-design-tokens

Weekly Downloads

33,366

Version

1.23.0

License

MIT

Unpacked Size

1.25 MB

Total Files

31

Last publish

Collaborators

  • alexandrefromadyen
  • camilocv
  • vergilfromadyen
  • bponomarenko
  • adyencom