style-dictionary
Version:
Style once, use everywhere. A build system for creating cross-platform styles.
25 lines (24 loc) • 537 B
JSON
{
"size": {
"font": {
"small": {
"value": "0.75",
"comment": "the small size of the font"
},
"medium": {
"value": "1",
"comment": "the medium size of the font"
},
"large": {
"value": "2",
"comment": "the large size of the font",
"deprecated": true,
"deprecated_comment": "replace with the \"medium\" size"
},
"base": {
"value": "{size.font.medium}",
"comment": "the base size of the font"
}
}
}
}