Skip to content

Commit c6d4696

Browse files
committed
fix(design-tokens): Changes to Design Tokens
Added tokens: + brand.lineHeight.100percent + typography.subtitle.fontSize.lg + typography.subtitle.fontSize.md + typography.subtitle.fontWeight.default + typography.subtitle.lineHeight.lg + typography.subtitle.lineHeight.md + typography.subtitle.letterSpacing.default # Figma User: Stephanie Zeng
1 parent d7633cd commit c6d4696

File tree

2 files changed

+137
-31
lines changed

2 files changed

+137
-31
lines changed

packages/foundations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@repo/foundations",
3-
"version": "4.1.0",
3+
"version": "4.2.0",
44
"description": "",
55
"main": "index.js",
66
"exports": {

packages/foundations/tokens.json

Lines changed: 136 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,13 @@
560560
"description": "",
561561
"value": "-1"
562562
},
563+
{
564+
"name": "brand.lineHeight.100percent",
565+
"key": "--brand-line-height-100percent",
566+
"type": "lineHeight",
567+
"description": "",
568+
"value": "100"
569+
},
563570
{
564571
"name": "brand.letterSpacing.tighter",
565572
"key": "--brand-letter-spacing-tighter",
@@ -1018,6 +1025,13 @@
10181025
"description": "",
10191026
"value": "-1"
10201027
},
1028+
{
1029+
"name": "brand.lineHeight.100percent",
1030+
"key": "--brand-line-height-100percent",
1031+
"type": "lineHeight",
1032+
"description": "",
1033+
"value": "120"
1034+
},
10211035
{
10221036
"name": "brand.letterSpacing.tighter",
10231037
"key": "--brand-letter-spacing-tighter",
@@ -1643,20 +1657,20 @@
16431657
"description": "",
16441658
"value": "{--brand-spacing-60}"
16451659
},
1646-
{
1647-
"name": "breakpoint.action.gap.default",
1648-
"key": "--breakpoint-action-gap-default",
1649-
"type": "gap",
1650-
"description": "",
1651-
"value": "{--brand-spacing-80}"
1652-
},
16531660
{
16541661
"name": "breakpoint.static.padding.md",
16551662
"key": "--breakpoint-static-padding-md",
16561663
"type": "padding",
16571664
"description": "",
16581665
"value": "{--density-padding-md}"
16591666
},
1667+
{
1668+
"name": "breakpoint.action.gap.default",
1669+
"key": "--breakpoint-action-gap-default",
1670+
"type": "gap",
1671+
"description": "",
1672+
"value": "{--brand-spacing-80}"
1673+
},
16601674
{
16611675
"name": "breakpoint.action.borderRadius.sm",
16621676
"key": "--breakpoint-action-border-radius-sm",
@@ -1768,6 +1782,48 @@
17681782
"type": "letterSpacing",
17691783
"description": "",
17701784
"value": "{--brand-letter-spacing-regular}"
1785+
},
1786+
{
1787+
"name": "typography.subtitle.fontSize.lg",
1788+
"key": "--typography-subtitle-font-size-lg",
1789+
"type": "fontSize",
1790+
"description": "",
1791+
"value": "{--brand-font-size-sm}"
1792+
},
1793+
{
1794+
"name": "typography.subtitle.fontSize.md",
1795+
"key": "--typography-subtitle-font-size-md",
1796+
"type": "fontSize",
1797+
"description": "",
1798+
"value": "{--brand-font-size-regular}"
1799+
},
1800+
{
1801+
"name": "typography.subtitle.fontWeight.default",
1802+
"key": "--typography-subtitle-font-weight-default",
1803+
"type": "fontWeight",
1804+
"description": "",
1805+
"value": "{--brand-font-weight-bold}"
1806+
},
1807+
{
1808+
"name": "typography.subtitle.lineHeight.lg",
1809+
"key": "--typography-subtitle-line-height-lg",
1810+
"type": "lineHeight",
1811+
"description": "",
1812+
"value": "{--brand-line-height-5}"
1813+
},
1814+
{
1815+
"name": "typography.subtitle.lineHeight.md",
1816+
"key": "--typography-subtitle-line-height-md",
1817+
"type": "lineHeight",
1818+
"description": "",
1819+
"value": "{--brand-line-height-4}"
1820+
},
1821+
{
1822+
"name": "typography.subtitle.letterSpacing.default",
1823+
"key": "--typography-subtitle-letter-spacing-default",
1824+
"type": "letterSpacing",
1825+
"description": "",
1826+
"value": "{--brand-letter-spacing-regular}"
17711827
}
17721828
]
17731829
},
@@ -1912,20 +1968,20 @@
19121968
"description": "",
19131969
"value": "{--brand-spacing-80}"
19141970
},
1915-
{
1916-
"name": "breakpoint.action.gap.default",
1917-
"key": "--breakpoint-action-gap-default",
1918-
"type": "gap",
1919-
"description": "",
1920-
"value": "{--brand-spacing-160}"
1921-
},
19221971
{
19231972
"name": "breakpoint.static.padding.md",
19241973
"key": "--breakpoint-static-padding-md",
19251974
"type": "padding",
19261975
"description": "",
19271976
"value": "{--density-padding-lg}"
19281977
},
1978+
{
1979+
"name": "breakpoint.action.gap.default",
1980+
"key": "--breakpoint-action-gap-default",
1981+
"type": "gap",
1982+
"description": "",
1983+
"value": "{--brand-spacing-160}"
1984+
},
19291985
{
19301986
"name": "breakpoint.action.borderRadius.sm",
19311987
"key": "--breakpoint-action-border-radius-sm",
@@ -2037,6 +2093,48 @@
20372093
"type": "letterSpacing",
20382094
"description": "",
20392095
"value": "{--brand-letter-spacing-regular}"
2096+
},
2097+
{
2098+
"name": "typography.subtitle.fontSize.lg",
2099+
"key": "--typography-subtitle-font-size-lg",
2100+
"type": "fontSize",
2101+
"description": "",
2102+
"value": "{--brand-font-size-regular}"
2103+
},
2104+
{
2105+
"name": "typography.subtitle.fontSize.md",
2106+
"key": "--typography-subtitle-font-size-md",
2107+
"type": "fontSize",
2108+
"description": "",
2109+
"value": "{--brand-font-size-lg}"
2110+
},
2111+
{
2112+
"name": "typography.subtitle.fontWeight.default",
2113+
"key": "--typography-subtitle-font-weight-default",
2114+
"type": "fontWeight",
2115+
"description": "",
2116+
"value": "{--brand-font-weight-bold}"
2117+
},
2118+
{
2119+
"name": "typography.subtitle.lineHeight.lg",
2120+
"key": "--typography-subtitle-line-height-lg",
2121+
"type": "lineHeight",
2122+
"description": "",
2123+
"value": "{--brand-line-height-6}"
2124+
},
2125+
{
2126+
"name": "typography.subtitle.lineHeight.md",
2127+
"key": "--typography-subtitle-line-height-md",
2128+
"type": "lineHeight",
2129+
"description": "",
2130+
"value": "{--brand-line-height-5}"
2131+
},
2132+
{
2133+
"name": "typography.subtitle.letterSpacing.default",
2134+
"key": "--typography-subtitle-letter-spacing-default",
2135+
"type": "letterSpacing",
2136+
"description": "",
2137+
"value": "{--brand-letter-spacing-regular}"
20402138
}
20412139
]
20422140
}
@@ -2053,28 +2151,36 @@
20532151
],
20542152
"vectors": [
20552153
{
2056-
"name": "Box - Moving",
2154+
"name": "heart",
20572155
"description": "",
2058-
"source": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M2.60817 8.19257V4.34122M2.60817 4.34122L8.77033 0.875L11.8514 2.60811M2.60817 4.34122L5.68925 6.21666M14.9325 4.34122V11.5304L8.51357 15.125M14.9325 4.34122L8.51357 7.93581M14.9325 4.34122L11.8514 2.60811M8.51357 15.125L6.45952 13.8412M8.51357 15.125V7.93581M8.51357 7.93581L5.68925 6.21666M5.68925 6.21666L11.8514 2.60811M1.06763 11.7872L4.91898 9.47635M1.06763 14.3547L6.45952 11.0169\" stroke=\"#00549A\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n",
2059-
"properties": {
2060-
"Size": "S",
2061-
"Icon type": "Stroke",
2062-
"Icon colour": "Default",
2063-
"Frame type": "None",
2064-
"Frame fill": "None"
2065-
}
2156+
"source": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.24375 8.24375L2 9L8 15L14 9L14.7563 8.24375C15.5531 7.44687 16 6.36875 16 5.24375C16 2.9 14.1 1 11.7563 1C10.6313 1 9.55313 1.44688 8.75625 2.24375L8 3L7.24375 2.24375C6.44688 1.44688 5.36875 1 4.24375 1C1.9 1 0 2.9 0 5.24375C0 6.36875 0.446875 7.44687 1.24375 8.24375Z\" fill=\"black\"/>\n</svg>\n",
2157+
"properties": {}
20662158
},
20672159
{
2068-
"name": "Box - Moving",
2160+
"name": "clock_outline_spot",
20692161
"description": "",
2070-
"source": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M3.48651 12.3041V6.22297M3.48651 6.22297L13.2162 0.75L18.0811 3.48649M3.48651 6.22297L8.35137 9.1842M22.946 6.22297V17.5743L12.8108 23.25M22.946 6.22297L12.8108 11.8986M22.946 6.22297L18.0811 3.48649M12.8108 23.25L9.56759 21.223M12.8108 23.25V11.8986M12.8108 11.8986L8.35137 9.1842M8.35137 9.1842L18.0811 3.48649M1.05408 17.9797L7.13516 14.3311M1.05408 22.0338L9.56759 16.7635\" stroke=\"#00549A\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n",
2162+
"source": "<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g clip-path=\"url(#clip0_2190_2908)\">\n<path d=\"M10 0C4.486 0 0 4.486 0 10C0 15.514 4.486 20 10 20C15.514 20 20 15.514 20 10C20 4.486 15.514 0 10 0ZM10 18C5.589 18 2 14.411 2 10C2 5.589 5.589 2 10 2C14.411 2 18 5.589 18 10C18 14.411 14.411 18 10 18ZM11 9.586V5C11 4.73478 10.8946 4.48043 10.7071 4.29289C10.5196 4.10536 10.2652 4 10 4C9.73478 4 9.48043 4.10536 9.29289 4.29289C9.10536 4.48043 9 4.73478 9 5V10C9 10.266 9.105 10.52 9.293 10.707L12.293 13.707C12.3857 13.8002 12.4958 13.8741 12.6171 13.9246C12.7385 13.9751 12.8686 14.001 13 14.001C13.1314 14.001 13.2615 13.9751 13.3829 13.9246C13.5042 13.8741 13.6143 13.8002 13.707 13.707C13.7999 13.6142 13.8737 13.504 13.924 13.3827C13.9743 13.2614 14.0002 13.1313 14.0002 13C14.0002 12.8687 13.9743 12.7386 13.924 12.6173C13.8737 12.496 13.7999 12.3858 13.707 12.293L11 9.586Z\" fill=\"black\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_2190_2908\">\n<rect width=\"20\" height=\"20\" fill=\"white\"/>\n</clipPath>\n</defs>\n</svg>\n",
20712163
"properties": {
2072-
"Size": "M",
2073-
"Icon type": "Stroke",
2074-
"Icon colour": "Default",
2075-
"Frame type": "None",
2076-
"Frame fill": "None"
2164+
"usage": "application"
20772165
}
2166+
},
2167+
{
2168+
"name": "phone_android_24px",
2169+
"description": "",
2170+
"source": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M16 1H8C6.34 1 5 2.34 5 4V20C5 21.66 6.34 23 8 23H16C17.66 23 19 21.66 19 20V4C19 2.34 17.66 1 16 1ZM14 21H10V20H14V21ZM7 18H17V4H7V18Z\" fill=\"#262626\"/>\n</svg>\n",
2171+
"properties": {}
2172+
},
2173+
{
2174+
"name": "phonelink_24px",
2175+
"description": "",
2176+
"source": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 6H22V4H4C2.9 4 2 4.9 2 6V17H0V20H14V17H4V6ZM23 8H17C16.45 8 16 8.45 16 9V19C16 19.55 16.45 20 17 20H23C23.55 20 24 19.55 24 19V9C24 8.45 23.55 8 23 8ZM18 17H22V10H18V17Z\" fill=\"#262626\"/>\n</svg>\n",
2177+
"properties": {}
2178+
},
2179+
{
2180+
"name": "insert_comment_24px",
2181+
"description": "",
2182+
"source": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 2H20C21.1 2 22 2.9 22 4V22L18 18H4C2.9 18 2 17.1 2 16V4C2 2.9 2.9 2 4 2ZM6 14H18V12H6V14ZM18 11H6V9H18V11ZM6 8H18V6H6V8Z\" fill=\"#262626\"/>\n</svg>\n",
2183+
"properties": {}
20782184
}
20792185
]
20802186
}

0 commit comments

Comments
 (0)