Skip to content

Commit

Permalink
feat: update line height tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
malangcat committed Jan 21, 2025
1 parent bcf92f2 commit 0eaad7a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions docs/public/rootage/line-height.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"tokens": {
"$line-height.s1": {
"values": {
"default": "0.8125rem"
"default": "0.9375rem"
}
},
"$line-height.s2": {
Expand All @@ -29,7 +29,7 @@
},
"$line-height.s5": {
"values": {
"default": "1.3125rem"
"default": "1.375rem"
}
},
"$line-height.s6": {
Expand All @@ -39,7 +39,7 @@
},
"$line-height.s7": {
"values": {
"default": "1.5625rem"
"default": "1.6875rem"
}
},
"$line-height.s8": {
Expand All @@ -54,7 +54,7 @@
},
"$line-height.s10": {
"values": {
"default": "2.125rem"
"default": "2.1875rem"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions docs/public/rootage/parsed.json
Original file line number Diff line number Diff line change
Expand Up @@ -5320,7 +5320,7 @@
"mode": "default",
"value": {
"type": "dimension",
"value": 0.8125,
"value": 0.9375,
"unit": "rem"
}
}
Expand Down Expand Up @@ -5400,7 +5400,7 @@
"mode": "default",
"value": {
"type": "dimension",
"value": 1.3125,
"value": 1.375,
"unit": "rem"
}
}
Expand Down Expand Up @@ -5440,7 +5440,7 @@
"mode": "default",
"value": {
"type": "dimension",
"value": 1.5625,
"value": 1.6875,
"unit": "rem"
}
}
Expand Down Expand Up @@ -5500,7 +5500,7 @@
"mode": "default",
"value": {
"type": "dimension",
"value": 2.125,
"value": 2.1875,
"unit": "rem"
}
}
Expand Down
8 changes: 4 additions & 4 deletions packages/rootage/components/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,16 +370,16 @@
{ "const": "$font-weight.medium", "title": "$font-weight.medium", "description": "default: 500", "markdownDescription": "- default: `500`" },
{ "const": "$font-weight.bold", "title": "$font-weight.bold", "description": "default: 700", "markdownDescription": "- default: `700`" },
{ "const": "$gradient.shimmer", "title": "$gradient.shimmer", "description": "theme-light: [object Object],[object Object],[object Object],[object Object]\ntheme-dark: [object Object],[object Object],[object Object],[object Object]", "markdownDescription": "- theme-light: `[object Object],[object Object],[object Object],[object Object]`\n\n- theme-dark: `[object Object],[object Object],[object Object],[object Object]`" },
{ "const": "$line-height.s1", "title": "$line-height.s1", "description": "default: 0.8125rem", "markdownDescription": "- default: `0.8125rem`" },
{ "const": "$line-height.s1", "title": "$line-height.s1", "description": "default: 0.9375rem", "markdownDescription": "- default: `0.9375rem`" },
{ "const": "$line-height.s2", "title": "$line-height.s2", "description": "default: 1rem", "markdownDescription": "- default: `1rem`" },
{ "const": "$line-height.s3", "title": "$line-height.s3", "description": "default: 1.125rem", "markdownDescription": "- default: `1.125rem`" },
{ "const": "$line-height.s4", "title": "$line-height.s4", "description": "default: 1.1875rem", "markdownDescription": "- default: `1.1875rem`" },
{ "const": "$line-height.s5", "title": "$line-height.s5", "description": "default: 1.3125rem", "markdownDescription": "- default: `1.3125rem`" },
{ "const": "$line-height.s5", "title": "$line-height.s5", "description": "default: 1.375rem", "markdownDescription": "- default: `1.375rem`" },
{ "const": "$line-height.s6", "title": "$line-height.s6", "description": "default: 1.5rem", "markdownDescription": "- default: `1.5rem`" },
{ "const": "$line-height.s7", "title": "$line-height.s7", "description": "default: 1.5625rem", "markdownDescription": "- default: `1.5625rem`" },
{ "const": "$line-height.s7", "title": "$line-height.s7", "description": "default: 1.6875rem", "markdownDescription": "- default: `1.6875rem`" },
{ "const": "$line-height.s8", "title": "$line-height.s8", "description": "default: 1.875rem", "markdownDescription": "- default: `1.875rem`" },
{ "const": "$line-height.s9", "title": "$line-height.s9", "description": "default: 2rem", "markdownDescription": "- default: `2rem`" },
{ "const": "$line-height.s10", "title": "$line-height.s10", "description": "default: 2.125rem", "markdownDescription": "- default: `2.125rem`" },
{ "const": "$line-height.s10", "title": "$line-height.s10", "description": "default: 2.1875rem", "markdownDescription": "- default: `2.1875rem`" },
{ "const": "$radius.s0_5", "title": "$radius.s0_5", "description": "default: 2px", "markdownDescription": "- default: `2px`" },
{ "const": "$radius.s1", "title": "$radius.s1", "description": "default: 4px", "markdownDescription": "- default: `4px`" },
{ "const": "$radius.s1_5", "title": "$radius.s1_5", "description": "default: 6px", "markdownDescription": "- default: `6px`" },
Expand Down
8 changes: 4 additions & 4 deletions packages/rootage/line-height.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ data:
tokens:
$line-height.s1:
values:
default: 0.8125rem # 13px ÷ 16
default: 0.9375rem # 15px ÷ 16
$line-height.s2:
values:
default: 1rem # 16px ÷ 16
Expand All @@ -19,13 +19,13 @@ data:
default: 1.1875rem # 19px ÷ 16
$line-height.s5:
values:
default: 1.3125rem # 21px ÷ 16
default: 1.375rem # 22px ÷ 16
$line-height.s6:
values:
default: 1.5rem # 24px ÷ 16
$line-height.s7:
values:
default: 1.5625rem # 25px ÷ 16
default: 1.6875rem # 27px ÷ 16
$line-height.s8:
values:
default: 1.875rem # 30px ÷ 16
Expand All @@ -34,4 +34,4 @@ data:
default: 2rem # 32px ÷ 16
$line-height.s10:
values:
default: 2.125rem # 34px ÷ 16
default: 2.1875rem # 35px ÷ 16
8 changes: 4 additions & 4 deletions packages/stylesheet/token.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@
--seed-v3-font-weight-regular: 400;
--seed-v3-font-weight-medium: 500;
--seed-v3-font-weight-bold: 700;
--seed-v3-line-height-s1: 0.8125rem;
--seed-v3-line-height-s1: 0.9375rem;
--seed-v3-line-height-s2: 1rem;
--seed-v3-line-height-s3: 1.125rem;
--seed-v3-line-height-s4: 1.1875rem;
--seed-v3-line-height-s5: 1.3125rem;
--seed-v3-line-height-s5: 1.375rem;
--seed-v3-line-height-s6: 1.5rem;
--seed-v3-line-height-s7: 1.5625rem;
--seed-v3-line-height-s7: 1.6875rem;
--seed-v3-line-height-s8: 1.875rem;
--seed-v3-line-height-s9: 2rem;
--seed-v3-line-height-s10: 2.125rem;
--seed-v3-line-height-s10: 2.1875rem;
--seed-v3-radius-s0_5: 2px;
--seed-v3-radius-s1: 4px;
--seed-v3-radius-s1_5: 6px;
Expand Down

0 comments on commit 0eaad7a

Please sign in to comment.