🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@adyen/bento-design-tokens

Package Overview
Dependencies
Maintainers
3
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adyen/bento-design-tokens

## Introduction

Source
npmnpm
Version
1.11.1
Version published
Weekly downloads
28K
-31.61%
Maintainers
3
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 18 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts