Prerequisites: Before diving in, ensure you’re using Panda CSS version
0.50.0
or above, as Panda Analytics is only available from this version upwards.
Panda Analytics provides a detailed report offering insights into how your design tokens—such as colors, fonts, and spacing—are defined and used across your project.
By analyzing your tokens, you can:
To analyze your design tokens, simply run the following command in your terminal:
pnpm panda analyze --scope=token
This command scopes the analysis specifically to your tokens, giving you a clear view of how they are defined and used.
The output of the analysis will show several columns with insights into your tokens:
border
, font
).