Pulling your first tokens with the CLI
A 5min guide on collecting and pulling your first design tokens with the Specify CLI.
Last updated
Was this helpful?
A 5min guide on collecting and pulling your first design tokens with the Specify CLI.
Last updated
Was this helpful?
In this guide you’ll learn how to pull your first design tokens to CSS Custom Properties using the Specify CLI.
To get the most out of this guide, you’ll need:
A Specify account
Install @specifyapp/cli
Add your Specify repository
and workspace
from which you want to pull your design tokens. You can find your workspace name
and repository name
in the URL of the app when inside a repository.
Our configuration is ready and we can now pull our design tokens and assets using the pull
command.
A Specify repository containing design tokens ()
Create a configuration file for your desired output format using one of our
Generate a personalAccessToken
for the CLI and add it in your configuration. You can generate a personal access token from you .
Add your first rule and use the parser to generate your tokens as CSS variables.