Skip to content

Commit

Permalink
Merge pull request #18 from balena-io-modules/add-code-sm-tokens
Browse files Browse the repository at this point in the history
Add `codeSm` and spacing tokens
  • Loading branch information
flowzone-app[bot] authored Jun 14, 2024
2 parents 0f94dc5 + 1a0aefa commit dbf2824
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
76 changes: 76 additions & 0 deletions tokens/design-tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,52 @@
"type": "string",
"value": "none"
}
},
"sm": {
"fontSize": {
"type": "dimension",
"value": 12
},
"textDecoration": {
"type": "string",
"value": "none"
},
"fontFamily": {
"type": "string",
"value": "Ubuntu Mono"
},
"fontWeight": {
"type": "number",
"value": 400
},
"fontStyle": {
"type": "string",
"value": "normal"
},
"fontStretch": {
"type": "string",
"value": "normal"
},
"letterSpacing": {
"type": "dimension",
"value": 0
},
"lineHeight": {
"type": "dimension",
"value": 18
},
"paragraphIndent": {
"type": "dimension",
"value": 0
},
"paragraphSpacing": {
"type": "dimension",
"value": 8
},
"textCase": {
"type": "string",
"value": "none"
}
}
},
"icon": {
Expand Down Expand Up @@ -1820,5 +1866,35 @@
}
}
}
},
"spacing": {
"0": {
"type": "dimension",
"value": 0
},
"1": {
"type": "dimension",
"value": 4
},
"2": {
"type": "dimension",
"value": 8
},
"3": {
"type": "dimension",
"value": 16
},
"4": {
"type": "dimension",
"value": 32
},
"5": {
"type": "dimension",
"value": 64
},
"6": {
"type": "dimension",
"value": 128
}
}
}
5 changes: 5 additions & 0 deletions tokens/typography-shorthands.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
"shorthand": {
"value": "{typography.code.md.fontWeight} {typography.code.md.fontSize}/{typography.code.md.lineHeight} {typography.fontfamily.code}"
}
},
"sm": {
"shorthand": {
"value": "{typography.code.sm.fontWeight} {typography.code.sm.fontSize}/{typography.code.sm.lineHeight} {typography.fontfamily.code}"
}
}
},
"components": {
Expand Down

0 comments on commit dbf2824

Please sign in to comment.