style-dictionary
Version:
Style once, use everywhere. A build system for creating cross-platform styles.
23 lines (22 loc) • 453 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"
},
"base" : {
"value": "{size.font.medium.value}",
"comment": "the base size of the font"
}
}
}
}