@dali-avios/dali-tokens
v1.1.1
Published
tokens
Downloads
848
Readme
DALI Tokens
Install
Install the package
npm i @dali-avios/dali-tokens
Build your generated tokens using the following command
npm run design-tokens
Your newly generated tokens can be found in a folder named: /dali-tokens
Update
Check if an update exists:
npm outdated
If an update is available, update the package:
npm update @dali-avios/dali-tokens
Dependencies
Node
Make sure to use Node -v 20.11.1
.
Follow these steps to verify and install the required Node.js version for this project: Open your terminal.
Check the current version of Node.js installed on your system by running the following command:
node -v
Check the output. If it is not version 20.11.1
, you will need to install this version.
If you don't have a Node version manager, install one. We recommend using NVM (Node Version Manager).
Install Node.js version 20.11.1 using your version manager. If you're using NVM, the command is:
nvm install 20.11.1
Once the installation is complete, verify the installation by checking the Node.js version again:
node -v
The output should now be 20.11.1. You can now proceed with the project setup.
Style Dictionary
We are using Style Dictionary V4. and tokens-studio./sd-transforms
package.