@cryptlex/design-tokens
v1.1.3
Published
Design Tokens for Cryptlex
Downloads
197
Readme
Cryptlex Design Tokens
** This project is still in alpha and is bound to break it's API **
A style-dictionary project for maintaining assets and design tokens within the Cryptlex organization.
Description
A developer-first approach to design systems. The organization requires consistent usage of styles and assets across software projects.
Ideally, no changes are required to be made to this repository directly. Figma will be the true source of truth and designers shall use design-tokens to export tokens to this repository.
This repository will then push those changes automatically to code package managers as per requirement. Currently, we will only publish to npm, as our products are limited to the web platform.
How to use this package
npm i @cryptlex/design-tokens
After the package has been installed in your project, design tokens can be accessed from within JavaScript, SASS, or CSS.
There are two type of tokens in the project so far:
ctx-color-*
: These are meant to be used directly in your stylesheets/styling configurationsctx-ref-*
: These are reference values and are used only when defining a color system
Roadmap
- [] Integrate with Figma
- [] Automate updates in dependent repos