GithubHelp home page GithubHelp logo

monday-ui-tokens's Introduction

Monday UI tokens

A style dictionary token registry for monday.com Vibe tokens.

This registry outputs design tokens in various flavours:

  • SCSS
  • JS
  • JS/ESM

We use style-dictionary to output them.

installation

npm i monday-ui-tokens

Build

npm run build

Usage

Tokens can be imported from the dist folder

  • dist/js
  • dist/js/esm
  • scss

JS tokens are separated into themes and include only key tokens. SCSS folder contains a unified file: variables.scss and include all tokens scope.

Dependencies

style-dictionary

Tokens scope

Our tokens are divided into scopes

  • core: global tokens , not influenced by theme.
  • colors: this scope is divided to:
    • content: content color palette references that are used within themes.
    • palette: reference colors that are used within themes.
    • themes and products.
      • our main themes are:
        • light
        • dark
        • black
        • hacker

Token Roles

  • Reference tokens: content, palette.
  • Key tokens.
  • In Vibe related efforts we recommend using only key tokens.

Storybook reference

  • An Example of token values can be used viewed using a storybook instance.
    • Content colors
    • Brand Palette
    • Natural Palette
    • Use:
      • npm run build
      • npm run storybook

monday-ui-tokens's People

Contributors

3dyonic avatar theemattoliver avatar

Stargazers

Usama Liaquat avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.