Skip to content

Commit

Permalink
fix for issue 54 / 57
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Thibault committed Sep 27, 2023
1 parent 2f8915d commit 1e8ac28
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 47 deletions.
10 changes: 3 additions & 7 deletions apps/docs/datas/tokens-dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@
},
{
"name": "hop-line-height-1-14",
"value": "1.14"
"value": "1.1428571"
},
{
"name": "hop-line-height-1-20",
Expand All @@ -665,15 +665,11 @@
},
{
"name": "hop-line-height-1-33",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-line-height-1-4285",
"value": "1.4285"
},
{
"name": "hop-line-height-1-4295",
"value": "1.4295"
"value": "1.4285714"
},
{
"name": "hop-line-height-1-50",
Expand Down
52 changes: 24 additions & 28 deletions apps/docs/datas/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@
},
{
"name": "hop-line-height-1-14",
"value": "1.14"
"value": "1.1428571"
},
{
"name": "hop-line-height-1-20",
Expand All @@ -665,15 +665,11 @@
},
{
"name": "hop-line-height-1-33",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-line-height-1-4285",
"value": "1.4285"
},
{
"name": "hop-line-height-1-4295",
"value": "1.4295"
"value": "1.4285714"
},
{
"name": "hop-line-height-1-50",
Expand Down Expand Up @@ -1989,19 +1985,19 @@
"lineHeight": [
{
"name": "hop-heading-3xl-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-heading-2xl-line-height",
"value": "1.25"
},
{
"name": "hop-heading-xl-line-height",
"value": "1.14"
"value": "1.1428571"
},
{
"name": "hop-heading-lg-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-heading-md-line-height",
Expand All @@ -2021,35 +2017,35 @@
},
{
"name": "hop-overline-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-2xl-line-height",
"value": "1.125"
},
{
"name": "hop-body-xl-line-height",
"value": "1.14"
"value": "1.1428571"
},
{
"name": "hop-body-lg-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-lg-medium-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-lg-semibold-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-lg-bold-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-lg-underline-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-md-line-height",
Expand All @@ -2073,51 +2069,51 @@
},
{
"name": "hop-body-sm-line-height",
"value": "1.4285"
"value": "1.4285714"
},
{
"name": "hop-body-sm-medium-line-height",
"value": "1.4295"
"value": "1.4285714"
},
{
"name": "hop-body-sm-semibold-line-height",
"value": "1.4295"
"value": "1.4285714"
},
{
"name": "hop-body-sm-bold-line-height",
"value": "1.4295"
"value": "1.4285714"
},
{
"name": "hop-body-sm-underline-line-height",
"value": "1.4295"
"value": "1.4285714"
},
{
"name": "hop-body-xs-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-xs-medium-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-xs-semibold-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-xs-bold-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-body-xs-underline-line-height",
"value": "1.33"
"value": "1.3333333"
},
{
"name": "hop-accent-lg-line-height",
"value": "1.125"
},
{
"name": "hop-accent-sm-line-height",
"value": "1.33"
"value": "1.3333333"
}
],
"borderRadius": [
Expand Down
10 changes: 3 additions & 7 deletions packages/tokens/src/tokens/core/fonts.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
},
"1-14": {
"$type": "lineHeight",
"$value": "1.14"
"$value": "1.1428571"
},
"1-20": {
"$type": "lineHeight",
Expand All @@ -106,15 +106,11 @@
},
"1-33": {
"$type": "lineHeight",
"$value": "1.33"
"$value": "1.3333333"
},
"1-4285": {
"$type": "lineHeight",
"$value": "1.4285"
},
"1-4295": {
"$type": "lineHeight",
"$value": "1.4295"
"$value": "1.4285714"
},
"1-50": {
"$type": "lineHeight",
Expand Down
10 changes: 5 additions & 5 deletions packages/tokens/src/tokens/semantic/light/fonts.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
},
"line-height": {
"$type": "lineHeight",
"$value": "{line-height.1-4295}"
"$value": "{line-height.1-4285}"
}
},
"semibold": {
Expand All @@ -430,7 +430,7 @@
},
"line-height": {
"$type": "lineHeight",
"$value": "{line-height.1-4295}"
"$value": "{line-height.1-4285}"
}
},
"bold": {
Expand All @@ -448,7 +448,7 @@
},
"line-height": {
"$type": "lineHeight",
"$value": "{line-height.1-4295}"
"$value": "{line-height.1-4285}"
}
},
"underline": {
Expand All @@ -465,8 +465,8 @@
"$value": "{font.weight.505}"
},
"line-height": {
"$type": "lineHeight",
"$value": "{line-height.1-4295}"
"$type": "lineHeight",
"$value": "{line-height.1-4285}"
}
}
},
Expand Down

0 comments on commit 1e8ac28

Please sign in to comment.