The JSON file format is ideal for design tokens because it can be easily handled.
You can export every color shade (including the source color) to a JSON file on your computer. This file includes every color space value to enable a large gamut of handling.
You can export every color shade (including the source color) to a JSON file on your computer. This file is compliant with a basic configuration of the Amazon Style Dictionary tool. The purpose is to generate stylesheets from token files. Learn more about Amazon Style Dictionary.
The export file follows this model:
{
"color": {
"sourceColorName": {
"themeName": {
"stopName": {
"value": "#c4bbff",
"comment": "Shade color with 80.2% of lightness"
},
...
},
...
},
...
}
}
You can export every color shade (including the source color) to a JSON file on your computer. This file can be imported to Tokens Studio, a Figma plugin to manage design tokens. The purpose is to add more semantics to the shades. Learn more about Tokens Studio.
The export file follows this model:
{
"paletteName - themeName": {
"sourceColorName": {
"stopName": {
"value": "#c4bbff",
"description": "Shade color with 80.2% of lightness",
"type": "color"
},
...
},
...
},
...
}