Skip to content

Commit

Permalink
chore(ui): Added small letter spacing for H1, H2, H3.
Browse files Browse the repository at this point in the history
  • Loading branch information
condo-design-bot committed Dec 22, 2022
1 parent 7f3fe9d commit 566b5a0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/ui/src/tokens/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@
"default": {
"value": "-1%",
"type": "letterSpacing"
},
"small": {
"value": "-3%",
"type": "letterSpacing",
"description": "For H1, H2, H3"
}
},
"paragraphSpacing": {
Expand Down Expand Up @@ -229,7 +234,7 @@
"fontWeight": "{fontWeight.bold}",
"lineHeight": "{lineHeight.h1}",
"fontSize": "{fontSize.h1}",
"letterSpacing": "{letterSpacing.default}",
"letterSpacing": "{letterSpacing.small}",
"paragraphSpacing": "{paragraphSpacing.h1}"
},
"type": "typography"
Expand All @@ -240,7 +245,7 @@
"fontWeight": "{fontWeight.bold}",
"lineHeight": "{lineHeight.h2}",
"fontSize": "{fontSize.h2}",
"letterSpacing": "{letterSpacing.default}",
"letterSpacing": "{letterSpacing.small}",
"paragraphSpacing": "{paragraphSpacing.h2}"
},
"type": "typography"
Expand All @@ -251,7 +256,7 @@
"fontWeight": "{fontWeight.bold}",
"lineHeight": "{lineHeight.h3}",
"fontSize": "{fontSize.h3}",
"letterSpacing": "{letterSpacing.default}",
"letterSpacing": "{letterSpacing.small}",
"paragraphSpacing": "{paragraphSpacing.h3}"
},
"type": "typography"
Expand Down

0 comments on commit 566b5a0

Please sign in to comment.