PromucFlow_constructor/app/client/packages/wds/src/tokens.json
Pawan Kumar 8dc2942a7c
chore: Generate tokens.json for figma (#21432)
This PR adds a script that generates tokens json file that will be used
by figma.
2023-03-17 13:26:53 +05:30

93 lines
1.7 KiB
JSON

{
"semantic": {
"color-bg-accent": {
"value": "#1a7f37",
"type": "color"
},
"color-bg-accent-hover": {
"value": "#278840",
"type": "color"
},
"color-bg-accent-subtle": {
"value": "#9af8a9",
"type": "color"
},
"color-bg-accent-active": {
"value": "#1a7f37",
"type": "color"
},
"color-bg-accent-subtle-active": {
"value": "#9af5a9",
"type": "color"
},
"color-bg-accent-subtle-hover": {
"value": "#a4ffb3",
"type": "color"
},
"color-fg-accent": {
"value": "#1a7f37",
"type": "color"
},
"color-fg-onaccent": {
"value": "#fff",
"type": "color"
},
"color-bd-accent": {
"value": "#1a7f37",
"type": "color"
},
"color-bd-onaccent": {
"value": "#006119",
"type": "color"
},
"color-bd-onaccent-subtle": {
"value": "#eefff0",
"type": "color"
},
"opacity-disabled": {
"value": 0.5,
"type": "opacity"
}
},
"raw": {
"spacing-0": {
"value": "0px",
"type": "sizing"
},
"spacing-1": {
"value": "4px",
"type": "sizing"
},
"spacing-2": {
"value": "8px",
"type": "sizing"
},
"spacing-3": {
"value": "12px",
"type": "sizing"
},
"spacing-4": {
"value": "16px",
"type": "sizing"
},
"spacing-5": {
"value": "20px",
"type": "sizing"
},
"border-radius": {
"value": "4px",
"type": "borderRadius"
},
"box-shadow": {
"value": {
"x": 0,
"y": 0,
"blur": 0,
"spread": 0,
"color": "rgba(0, 0, 0, 0.2)"
},
"type": "boxShadow"
}
}
}