Skip to content

Commit 30aecb1

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: Jason Santos
1 parent 5de0e90 commit 30aecb1

File tree

2 files changed

+99
-27
lines changed

2 files changed

+99
-27
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: 98 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,13 @@
553553
"description": "",
554554
"value": "24"
555555
},
556+
{
557+
"name": "brand.lineHeight.100percent",
558+
"key": "--brand-line-height-100percent",
559+
"type": "lineHeight",
560+
"description": "",
561+
"value": "100"
562+
},
556563
{
557564
"name": "brand.letterSpacing.tightest",
558565
"key": "--brand-letter-spacing-tightest",
@@ -1011,6 +1018,13 @@
10111018
"description": "",
10121019
"value": "28"
10131020
},
1021+
{
1022+
"name": "brand.lineHeight.100percent",
1023+
"key": "--brand-line-height-100percent",
1024+
"type": "lineHeight",
1025+
"description": "",
1026+
"value": "120"
1027+
},
10141028
{
10151029
"name": "brand.letterSpacing.tightest",
10161030
"key": "--brand-letter-spacing-tightest",
@@ -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
},
@@ -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
}
@@ -2050,31 +2148,5 @@
20502148
"density--compact",
20512149
"breakpoints--mobile",
20522150
"breakpoints--desktop"
2053-
],
2054-
"vectors": [
2055-
{
2056-
"name": "Box - Moving",
2057-
"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-
}
2066-
},
2067-
{
2068-
"name": "Box - Moving",
2069-
"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",
2071-
"properties": {
2072-
"Size": "M",
2073-
"Icon type": "Stroke",
2074-
"Icon colour": "Default",
2075-
"Frame type": "None",
2076-
"Frame fill": "None"
2077-
}
2078-
}
20792151
]
20802152
}

0 commit comments

Comments
 (0)