From 0eaad7a72ce48b0b612fdaec11af1fccba752a28 Mon Sep 17 00:00:00 2001 From: malangcat Date: Tue, 21 Jan 2025 23:14:39 +0900 Subject: [PATCH] feat: update line height tokens --- docs/public/rootage/line-height.json | 8 ++++---- docs/public/rootage/parsed.json | 8 ++++---- packages/rootage/components/schema.json | 8 ++++---- packages/rootage/line-height.yaml | 8 ++++---- packages/stylesheet/token.css | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/public/rootage/line-height.json b/docs/public/rootage/line-height.json index f91e1d5b4..de9f16e82 100644 --- a/docs/public/rootage/line-height.json +++ b/docs/public/rootage/line-height.json @@ -9,7 +9,7 @@ "tokens": { "$line-height.s1": { "values": { - "default": "0.8125rem" + "default": "0.9375rem" } }, "$line-height.s2": { @@ -29,7 +29,7 @@ }, "$line-height.s5": { "values": { - "default": "1.3125rem" + "default": "1.375rem" } }, "$line-height.s6": { @@ -39,7 +39,7 @@ }, "$line-height.s7": { "values": { - "default": "1.5625rem" + "default": "1.6875rem" } }, "$line-height.s8": { @@ -54,7 +54,7 @@ }, "$line-height.s10": { "values": { - "default": "2.125rem" + "default": "2.1875rem" } } } diff --git a/docs/public/rootage/parsed.json b/docs/public/rootage/parsed.json index 2bc7bc271..318b68226 100644 --- a/docs/public/rootage/parsed.json +++ b/docs/public/rootage/parsed.json @@ -5320,7 +5320,7 @@ "mode": "default", "value": { "type": "dimension", - "value": 0.8125, + "value": 0.9375, "unit": "rem" } } @@ -5400,7 +5400,7 @@ "mode": "default", "value": { "type": "dimension", - "value": 1.3125, + "value": 1.375, "unit": "rem" } } @@ -5440,7 +5440,7 @@ "mode": "default", "value": { "type": "dimension", - "value": 1.5625, + "value": 1.6875, "unit": "rem" } } @@ -5500,7 +5500,7 @@ "mode": "default", "value": { "type": "dimension", - "value": 2.125, + "value": 2.1875, "unit": "rem" } } diff --git a/packages/rootage/components/schema.json b/packages/rootage/components/schema.json index 5a705a640..ee6a3bc7f 100644 --- a/packages/rootage/components/schema.json +++ b/packages/rootage/components/schema.json @@ -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`" }, diff --git a/packages/rootage/line-height.yaml b/packages/rootage/line-height.yaml index a069ca849..76f05071d 100644 --- a/packages/rootage/line-height.yaml +++ b/packages/rootage/line-height.yaml @@ -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 @@ -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 @@ -34,4 +34,4 @@ data: default: 2rem # 32px ÷ 16 $line-height.s10: values: - default: 2.125rem # 34px ÷ 16 + default: 2.1875rem # 35px ÷ 16 diff --git a/packages/stylesheet/token.css b/packages/stylesheet/token.css index b4667cb4e..2bc5ca6c4 100644 --- a/packages/stylesheet/token.css +++ b/packages/stylesheet/token.css @@ -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;