Let's have some fun with Sketch's π new embed feature πΊπͺ and use it for documenting our design systems design decisions (design tokens).
All design tokens autogenerated by Stratos Tokens 2021 that has built in Style Dictionary support, works with macOS and Windows and supports any design tokens you can dream of ππ
Click on the Sketch icon to download this Style Dictionary Sketch file π
Click on the Sketch icon to download this Style Dictionary Sketch file π
{
"color": {
"base": {
"primary": {
"value": "rgba(254,85,85,1)"
},
"secondary": {
"value": "rgba(252,122,165,1)"
}
},
"background": {
"value": "rgba(222,246,255,1)"
},
"text": {
"value": "rgba(0,0,0,1)"
}
}
}
{
"spacing": {
"small": {
"value": "10px"
},
"medium": {
"value": "30px"
},
"large": {
"value": "40px"
}
}
}
{
"size": {
"text": {
"small": {
"value": 0.75
},
"medium": {
"value": 1
},
"base": {
"value": 1
},
"large": {
"value": 1.5
}
}
}
}
{
"font": {
"family": {
"base": {
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif"
},
"code": {
"value": "source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace"
}
}
}
}
Okey now lets impress your developers by running all the raw design token data through the built-in Style Dictionary magic machine.