@elf-framework/design-tokens

0.0.268 • Public • Published

@elf-framework/design-tokens

design token manager with style-dictionary

install

npm install @elf-framework/design-tokens 

Usage

You can use css variables as design tokens.

import "@elf-framework/design-tokens/tokens.css";


.my-color {
    background-color: var(--color-gray-4);
}

tokens

  • color
    • background
    • border
    • brand
    • core
    • text
  • size
  • asset
  • component
  • time
  • weight

LICENSE: MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @elf-framework/design-tokens

Weekly Downloads

2

Version

0.0.268

License

MIT

Unpacked Size

1.8 MB

Total Files

15

Last publish

Collaborators

  • easylogic