@putdotio/design 1.2.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN.md +9 -5
- package/dist/css/tokens.css +57 -20
- package/dist/figma/putio.tokens.json +47 -10
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.dtcg.json +267 -54
- package/dist/tokens.flat.json +199 -60
- package/dist/tokens.js +199 -60
- package/package.json +3 -2
- package/system/README.md +93 -19
- package/tokens/components.tokens.json +112 -0
- package/tokens/foundation.css +29 -9
- package/tokens/primitives.tokens.json +127 -27
- package/tokens/semantic.tokens.json +28 -27
package/dist/tokens.js
CHANGED
|
@@ -148,6 +148,22 @@ export const tokens = {
|
|
|
148
148
|
"originalValue": "{component.alias.destructiveForeground}",
|
|
149
149
|
"description": "Text or icon color on destructive command backgrounds."
|
|
150
150
|
},
|
|
151
|
+
"component.button.info.background": {
|
|
152
|
+
"cssName": "--button-info-bg",
|
|
153
|
+
"type": "color",
|
|
154
|
+
"mode": "light",
|
|
155
|
+
"value": "hsl(0, 0%, 56.1%)",
|
|
156
|
+
"originalValue": "{color.neutral.light.solid}",
|
|
157
|
+
"description": "Neutral solid command background in light mode."
|
|
158
|
+
},
|
|
159
|
+
"component.button.info.backgroundDark": {
|
|
160
|
+
"cssName": "--button-info-bg",
|
|
161
|
+
"type": "color",
|
|
162
|
+
"mode": "dark",
|
|
163
|
+
"value": "hsl(0, 0%, 43.9%)",
|
|
164
|
+
"originalValue": "{color.neutral.dark.solid}",
|
|
165
|
+
"description": "Neutral solid command background in dark mode."
|
|
166
|
+
},
|
|
151
167
|
"component.button.info.backgroundHover": {
|
|
152
168
|
"cssName": "--button-info-bg-hover",
|
|
153
169
|
"type": "color",
|
|
@@ -164,6 +180,70 @@ export const tokens = {
|
|
|
164
180
|
"originalValue": "{color.neutral.dark.solidHover}",
|
|
165
181
|
"description": "Neutral solid command hover background in dark mode."
|
|
166
182
|
},
|
|
183
|
+
"component.button.info.foreground": {
|
|
184
|
+
"cssName": "--button-info-fg",
|
|
185
|
+
"type": "color",
|
|
186
|
+
"mode": "light",
|
|
187
|
+
"value": "hsl(0, 0%, 0%)",
|
|
188
|
+
"originalValue": "{component.alias.solidForeground}",
|
|
189
|
+
"description": "Label on the neutral solid — mode-aware for AA contrast on the gray fill."
|
|
190
|
+
},
|
|
191
|
+
"component.button.info.foregroundDark": {
|
|
192
|
+
"cssName": "--button-info-fg",
|
|
193
|
+
"type": "color",
|
|
194
|
+
"mode": "dark",
|
|
195
|
+
"value": "hsl(0, 0%, 100%)",
|
|
196
|
+
"originalValue": "{component.alias.solidForegroundDark}",
|
|
197
|
+
"description": "Label on the neutral solid in dark mode."
|
|
198
|
+
},
|
|
199
|
+
"component.button.default.background": {
|
|
200
|
+
"cssName": "--button-default-bg",
|
|
201
|
+
"type": "color",
|
|
202
|
+
"mode": "light",
|
|
203
|
+
"value": "hsl(0, 0%, 95.1%)",
|
|
204
|
+
"originalValue": "{color.neutral.light.componentBg}",
|
|
205
|
+
"description": "Quiet default button fill in light mode."
|
|
206
|
+
},
|
|
207
|
+
"component.button.default.backgroundDark": {
|
|
208
|
+
"cssName": "--button-default-bg",
|
|
209
|
+
"type": "color",
|
|
210
|
+
"mode": "dark",
|
|
211
|
+
"value": "hsl(0, 0%, 13.6%)",
|
|
212
|
+
"originalValue": "{color.neutral.dark.componentBg}",
|
|
213
|
+
"description": "Quiet default button fill in dark mode."
|
|
214
|
+
},
|
|
215
|
+
"component.button.default.backgroundHover": {
|
|
216
|
+
"cssName": "--button-default-bg-hover",
|
|
217
|
+
"type": "color",
|
|
218
|
+
"mode": "light",
|
|
219
|
+
"value": "hsl(0, 0%, 93.0%)",
|
|
220
|
+
"originalValue": "{color.neutral.light.componentBgHover}",
|
|
221
|
+
"description": "Default button hover fill in light mode."
|
|
222
|
+
},
|
|
223
|
+
"component.button.default.backgroundHoverDark": {
|
|
224
|
+
"cssName": "--button-default-bg-hover",
|
|
225
|
+
"type": "color",
|
|
226
|
+
"mode": "dark",
|
|
227
|
+
"value": "hsl(0, 0%, 15.8%)",
|
|
228
|
+
"originalValue": "{color.neutral.dark.componentBgHover}",
|
|
229
|
+
"description": "Default button hover fill in dark mode."
|
|
230
|
+
},
|
|
231
|
+
"component.button.default.foreground": {
|
|
232
|
+
"cssName": "--button-default-fg",
|
|
233
|
+
"type": "color",
|
|
234
|
+
"mode": "light",
|
|
235
|
+
"value": "hsl(0, 0%, 9.0%)",
|
|
236
|
+
"originalValue": "{color.neutral.light.text}",
|
|
237
|
+
"description": "Default button label in light mode."
|
|
238
|
+
},
|
|
239
|
+
"component.button.default.foregroundDark": {
|
|
240
|
+
"cssName": "--button-default-fg",
|
|
241
|
+
"type": "color",
|
|
242
|
+
"mode": "dark",
|
|
243
|
+
"value": "hsl(0, 0%, 93.0%)",
|
|
244
|
+
"originalValue": "{color.neutral.dark.text}",
|
|
245
|
+
"description": "Default button label in dark mode."
|
|
246
|
+
},
|
|
167
247
|
"component.input.background": {
|
|
168
248
|
"cssName": "--input-bg",
|
|
169
249
|
"type": "color",
|
|
@@ -1182,7 +1262,7 @@ export const tokens = {
|
|
|
1182
1262
|
"type": "color",
|
|
1183
1263
|
"mode": "dark",
|
|
1184
1264
|
"value": "hsl(151, 55%, 41.5%)",
|
|
1185
|
-
"originalValue": "
|
|
1265
|
+
"originalValue": "{color.green.light.solid}"
|
|
1186
1266
|
},
|
|
1187
1267
|
"color.green.dark.solidHover": {
|
|
1188
1268
|
"cssName": "--green-solid-hover",
|
|
@@ -1350,7 +1430,7 @@ export const tokens = {
|
|
|
1350
1430
|
"type": "color",
|
|
1351
1431
|
"mode": "dark",
|
|
1352
1432
|
"value": "hsl(358, 75%, 59%)",
|
|
1353
|
-
"originalValue": "
|
|
1433
|
+
"originalValue": "{color.red.light.solid}"
|
|
1354
1434
|
},
|
|
1355
1435
|
"color.red.dark.solidHover": {
|
|
1356
1436
|
"cssName": "--red-solid-hover",
|
|
@@ -1512,7 +1592,7 @@ export const tokens = {
|
|
|
1512
1592
|
"type": "color",
|
|
1513
1593
|
"mode": "dark",
|
|
1514
1594
|
"value": "hsl(45, 89%, 58%)",
|
|
1515
|
-
"originalValue": "
|
|
1595
|
+
"originalValue": "{color.yellow.light.solidHover}",
|
|
1516
1596
|
"description": "Primary-button hover yellow for dark mode."
|
|
1517
1597
|
},
|
|
1518
1598
|
"color.yellow.dark.textSecondary": {
|
|
@@ -1555,7 +1635,8 @@ export const tokens = {
|
|
|
1555
1635
|
"type": "color",
|
|
1556
1636
|
"mode": "global",
|
|
1557
1637
|
"value": "hsl(0, 0%, 78.0%)",
|
|
1558
|
-
"originalValue": "
|
|
1638
|
+
"originalValue": "{elevation.shadowColor}",
|
|
1639
|
+
"description": "Compat name kept for existing web consumers — alias of elevation.shadowColor so the two can never drift."
|
|
1559
1640
|
},
|
|
1560
1641
|
"elevation.sm": {
|
|
1561
1642
|
"cssName": "--shadow-sm",
|
|
@@ -1588,18 +1669,9 @@ export const tokens = {
|
|
|
1588
1669
|
"elevation.focus": {
|
|
1589
1670
|
"cssName": "--shadow-focus",
|
|
1590
1671
|
"type": "string",
|
|
1591
|
-
"mode": "
|
|
1592
|
-
"value": "0 0 0
|
|
1593
|
-
"originalValue": "0 0 0
|
|
1594
|
-
"description": "Focus ring: brand-yellow inner band + high-contrast text-color outer edge so the indicator clears WCAG 1.4.11 (3:1) on any surface. Light-mode edge."
|
|
1595
|
-
},
|
|
1596
|
-
"elevation.focusDark": {
|
|
1597
|
-
"cssName": "--shadow-focus",
|
|
1598
|
-
"type": "string",
|
|
1599
|
-
"mode": "dark",
|
|
1600
|
-
"value": "0 0 0 2px hsla(47, 100%, 65%, 0.35), 0 0 0 3.5px hsl(0, 0%, 93.0%)",
|
|
1601
|
-
"originalValue": "0 0 0 2px {elevation.focusColor}, 0 0 0 3.5px hsl(0, 0%, 93.0%)",
|
|
1602
|
-
"description": "Dark-mode focus ring: brand-yellow inner band + high-contrast text-color outer edge (WCAG 1.4.11)."
|
|
1672
|
+
"mode": "global",
|
|
1673
|
+
"value": "0 0 0 3px hsla(47, 100%, 65%, 0.35)",
|
|
1674
|
+
"originalValue": "0 0 0 3px {elevation.focusColor}"
|
|
1603
1675
|
},
|
|
1604
1676
|
"typography.fontFamily.sans": {
|
|
1605
1677
|
"cssName": "--font-sans",
|
|
@@ -1613,7 +1685,7 @@ export const tokens = {
|
|
|
1613
1685
|
"type": "fontFamily",
|
|
1614
1686
|
"mode": "global",
|
|
1615
1687
|
"value": "\"GT America\", sans-serif",
|
|
1616
|
-
"originalValue": "
|
|
1688
|
+
"originalValue": "{typography.fontFamily.sans}"
|
|
1617
1689
|
},
|
|
1618
1690
|
"typography.fontFamily.uiMono": {
|
|
1619
1691
|
"cssName": "--font-ui-mono",
|
|
@@ -1627,7 +1699,7 @@ export const tokens = {
|
|
|
1627
1699
|
"type": "fontFamily",
|
|
1628
1700
|
"mode": "global",
|
|
1629
1701
|
"value": "\"Berkeley Mono\", \"GT America Mono\", monospace",
|
|
1630
|
-
"originalValue": "\"Berkeley Mono\",
|
|
1702
|
+
"originalValue": "\"Berkeley Mono\", {typography.fontFamily.uiMono}"
|
|
1631
1703
|
},
|
|
1632
1704
|
"typography.fontSize.xs": {
|
|
1633
1705
|
"cssName": "--fs-xs",
|
|
@@ -1640,64 +1712,73 @@ export const tokens = {
|
|
|
1640
1712
|
"cssName": "--fs-sm",
|
|
1641
1713
|
"type": "dimension",
|
|
1642
1714
|
"mode": "global",
|
|
1643
|
-
"value": "0.
|
|
1644
|
-
"originalValue": "0.
|
|
1715
|
+
"value": "0.875rem",
|
|
1716
|
+
"originalValue": "0.875rem",
|
|
1717
|
+
"description": "Caption and button labels — production fontSize 0."
|
|
1645
1718
|
},
|
|
1646
1719
|
"typography.fontSize.base": {
|
|
1647
1720
|
"cssName": "--fs-base",
|
|
1648
1721
|
"type": "dimension",
|
|
1649
1722
|
"mode": "global",
|
|
1650
|
-
"value": "
|
|
1651
|
-
"originalValue": "
|
|
1723
|
+
"value": "1rem",
|
|
1724
|
+
"originalValue": "1rem",
|
|
1725
|
+
"description": "Body, labels, inputs — production fontSize 1; equals the responsive root (14px, 15px at >= breakpoint.lg)."
|
|
1652
1726
|
},
|
|
1653
1727
|
"typography.fontSize.md": {
|
|
1654
1728
|
"cssName": "--fs-md",
|
|
1655
1729
|
"type": "dimension",
|
|
1656
1730
|
"mode": "global",
|
|
1657
|
-
"value": "
|
|
1658
|
-
"originalValue": "
|
|
1731
|
+
"value": "1.125rem",
|
|
1732
|
+
"originalValue": "1.125rem",
|
|
1733
|
+
"description": "Subheading."
|
|
1659
1734
|
},
|
|
1660
1735
|
"typography.fontSize.lg": {
|
|
1661
1736
|
"cssName": "--fs-lg",
|
|
1662
1737
|
"type": "dimension",
|
|
1663
1738
|
"mode": "global",
|
|
1664
|
-
"value": "1.
|
|
1665
|
-
"originalValue": "1.
|
|
1739
|
+
"value": "1.5rem",
|
|
1740
|
+
"originalValue": "1.5rem",
|
|
1741
|
+
"description": "Heading."
|
|
1666
1742
|
},
|
|
1667
1743
|
"typography.fontSize.xl": {
|
|
1668
1744
|
"cssName": "--fs-xl",
|
|
1669
1745
|
"type": "dimension",
|
|
1670
1746
|
"mode": "global",
|
|
1671
|
-
"value": "
|
|
1672
|
-
"originalValue": "
|
|
1747
|
+
"value": "2rem",
|
|
1748
|
+
"originalValue": "2rem",
|
|
1749
|
+
"description": "Page title."
|
|
1673
1750
|
},
|
|
1674
1751
|
"typography.fontSize.2xl": {
|
|
1675
1752
|
"cssName": "--fs-2xl",
|
|
1676
1753
|
"type": "dimension",
|
|
1677
1754
|
"mode": "global",
|
|
1678
|
-
"value": "
|
|
1679
|
-
"originalValue": "
|
|
1755
|
+
"value": "48px",
|
|
1756
|
+
"originalValue": "48px",
|
|
1757
|
+
"description": "Fixed display tier — does not scale with the responsive root."
|
|
1680
1758
|
},
|
|
1681
1759
|
"typography.fontSize.3xl": {
|
|
1682
1760
|
"cssName": "--fs-3xl",
|
|
1683
1761
|
"type": "dimension",
|
|
1684
1762
|
"mode": "global",
|
|
1685
|
-
"value": "
|
|
1686
|
-
"originalValue": "
|
|
1763
|
+
"value": "64px",
|
|
1764
|
+
"originalValue": "64px",
|
|
1765
|
+
"description": "Fixed display tier — does not scale with the responsive root."
|
|
1687
1766
|
},
|
|
1688
1767
|
"typography.fontSize.4xl": {
|
|
1689
1768
|
"cssName": "--fs-4xl",
|
|
1690
1769
|
"type": "dimension",
|
|
1691
1770
|
"mode": "global",
|
|
1692
|
-
"value": "
|
|
1693
|
-
"originalValue": "
|
|
1771
|
+
"value": "64px",
|
|
1772
|
+
"originalValue": "{typography.fontSize.3xl}",
|
|
1773
|
+
"description": "Compatibility alias for the former 4xl tier; new surfaces should use fontSize.3xl or fontSize.display."
|
|
1694
1774
|
},
|
|
1695
1775
|
"typography.fontSize.display": {
|
|
1696
1776
|
"cssName": "--fs-display",
|
|
1697
1777
|
"type": "dimension",
|
|
1698
1778
|
"mode": "global",
|
|
1699
|
-
"value": "
|
|
1700
|
-
"originalValue": "
|
|
1779
|
+
"value": "96px",
|
|
1780
|
+
"originalValue": "96px",
|
|
1781
|
+
"description": "Fixed display tier for brand display moments."
|
|
1701
1782
|
},
|
|
1702
1783
|
"typography.lineHeight.tight": {
|
|
1703
1784
|
"cssName": "--lh-tight",
|
|
@@ -1923,12 +2004,69 @@ export const tokens = {
|
|
|
1923
2004
|
"value": "320ms",
|
|
1924
2005
|
"originalValue": "320ms"
|
|
1925
2006
|
},
|
|
2007
|
+
"z.dropdown": {
|
|
2008
|
+
"cssName": "--z-dropdown",
|
|
2009
|
+
"type": "number",
|
|
2010
|
+
"mode": "global",
|
|
2011
|
+
"value": 1000,
|
|
2012
|
+
"originalValue": 1000
|
|
2013
|
+
},
|
|
2014
|
+
"z.sticky": {
|
|
2015
|
+
"cssName": "--z-sticky",
|
|
2016
|
+
"type": "number",
|
|
2017
|
+
"mode": "global",
|
|
2018
|
+
"value": 1100,
|
|
2019
|
+
"originalValue": 1100
|
|
2020
|
+
},
|
|
2021
|
+
"z.modal": {
|
|
2022
|
+
"cssName": "--z-modal",
|
|
2023
|
+
"type": "number",
|
|
2024
|
+
"mode": "global",
|
|
2025
|
+
"value": 1300,
|
|
2026
|
+
"originalValue": 1300
|
|
2027
|
+
},
|
|
2028
|
+
"z.notification": {
|
|
2029
|
+
"cssName": "--z-notification",
|
|
2030
|
+
"type": "number",
|
|
2031
|
+
"mode": "global",
|
|
2032
|
+
"value": 1400,
|
|
2033
|
+
"originalValue": 1400
|
|
2034
|
+
},
|
|
2035
|
+
"z.tooltip": {
|
|
2036
|
+
"cssName": "--z-tooltip",
|
|
2037
|
+
"type": "number",
|
|
2038
|
+
"mode": "global",
|
|
2039
|
+
"value": 1500,
|
|
2040
|
+
"originalValue": 1500
|
|
2041
|
+
},
|
|
2042
|
+
"breakpoint.sm": {
|
|
2043
|
+
"cssName": "--bp-sm",
|
|
2044
|
+
"type": "dimension",
|
|
2045
|
+
"mode": "global",
|
|
2046
|
+
"value": "640px",
|
|
2047
|
+
"originalValue": "640px"
|
|
2048
|
+
},
|
|
2049
|
+
"breakpoint.md": {
|
|
2050
|
+
"cssName": "--bp-md",
|
|
2051
|
+
"type": "dimension",
|
|
2052
|
+
"mode": "global",
|
|
2053
|
+
"value": "768px",
|
|
2054
|
+
"originalValue": "768px"
|
|
2055
|
+
},
|
|
2056
|
+
"breakpoint.lg": {
|
|
2057
|
+
"cssName": "--bp-lg",
|
|
2058
|
+
"type": "dimension",
|
|
2059
|
+
"mode": "global",
|
|
2060
|
+
"value": "1280px",
|
|
2061
|
+
"originalValue": "1280px",
|
|
2062
|
+
"description": "The root font-size steps from 14px to 15px at this width."
|
|
2063
|
+
},
|
|
1926
2064
|
"surface.light.htmlBg": {
|
|
1927
2065
|
"cssName": "--html-bg",
|
|
1928
2066
|
"type": "color",
|
|
1929
2067
|
"mode": "light",
|
|
1930
2068
|
"value": "hsl(0, 0%, 97.3%)",
|
|
1931
|
-
"originalValue": "
|
|
2069
|
+
"originalValue": "{color.neutral.light.bgSecondary}"
|
|
1932
2070
|
},
|
|
1933
2071
|
"surface.light.appBg": {
|
|
1934
2072
|
"cssName": "--app-bg",
|
|
@@ -1942,7 +2080,7 @@ export const tokens = {
|
|
|
1942
2080
|
"type": "color",
|
|
1943
2081
|
"mode": "light",
|
|
1944
2082
|
"value": "hsl(0, 0%, 100%)",
|
|
1945
|
-
"originalValue": "
|
|
2083
|
+
"originalValue": "{surface.light.appBg}"
|
|
1946
2084
|
},
|
|
1947
2085
|
"surface.light.navItemBg": {
|
|
1948
2086
|
"cssName": "--nav-item-bg",
|
|
@@ -1956,14 +2094,14 @@ export const tokens = {
|
|
|
1956
2094
|
"type": "color",
|
|
1957
2095
|
"mode": "light",
|
|
1958
2096
|
"value": "hsl(0, 0%, 95.1%)",
|
|
1959
|
-
"originalValue": "
|
|
2097
|
+
"originalValue": "{color.neutral.light.componentBg}"
|
|
1960
2098
|
},
|
|
1961
2099
|
"surface.light.navItemBgActive": {
|
|
1962
2100
|
"cssName": "--nav-item-bg-active",
|
|
1963
2101
|
"type": "color",
|
|
1964
2102
|
"mode": "light",
|
|
1965
2103
|
"value": "hsl(0, 0%, 95.1%)",
|
|
1966
|
-
"originalValue": "
|
|
2104
|
+
"originalValue": "{color.neutral.light.componentBg}"
|
|
1967
2105
|
},
|
|
1968
2106
|
"surface.light.listItemBg": {
|
|
1969
2107
|
"cssName": "--list-item-bg",
|
|
@@ -1977,14 +2115,14 @@ export const tokens = {
|
|
|
1977
2115
|
"type": "color",
|
|
1978
2116
|
"mode": "light",
|
|
1979
2117
|
"value": "hsl(0, 0%, 97.3%)",
|
|
1980
|
-
"originalValue": "
|
|
2118
|
+
"originalValue": "{color.neutral.light.bgSecondary}"
|
|
1981
2119
|
},
|
|
1982
2120
|
"surface.light.listItemBgActive": {
|
|
1983
2121
|
"cssName": "--list-item-bg-active",
|
|
1984
2122
|
"type": "color",
|
|
1985
2123
|
"mode": "light",
|
|
1986
2124
|
"value": "hsl(0, 0%, 97.3%)",
|
|
1987
|
-
"originalValue": "
|
|
2125
|
+
"originalValue": "{color.neutral.light.bgSecondary}"
|
|
1988
2126
|
},
|
|
1989
2127
|
"surface.light.listItemBorder": {
|
|
1990
2128
|
"cssName": "--list-item-border",
|
|
@@ -1998,35 +2136,35 @@ export const tokens = {
|
|
|
1998
2136
|
"type": "color",
|
|
1999
2137
|
"mode": "light",
|
|
2000
2138
|
"value": "hsl(0, 0%, 95.1%)",
|
|
2001
|
-
"originalValue": "
|
|
2139
|
+
"originalValue": "{color.neutral.light.componentBg}"
|
|
2002
2140
|
},
|
|
2003
2141
|
"surface.light.segmentedControlBgActive": {
|
|
2004
2142
|
"cssName": "--segmented-control-bg-active",
|
|
2005
2143
|
"type": "color",
|
|
2006
2144
|
"mode": "light",
|
|
2007
2145
|
"value": "hsl(0, 0%, 100%)",
|
|
2008
|
-
"originalValue": "
|
|
2146
|
+
"originalValue": "{surface.light.appBg}"
|
|
2009
2147
|
},
|
|
2010
2148
|
"surface.light.transferListItemCompletingBg": {
|
|
2011
2149
|
"cssName": "--transfer-list-item-completing-bg",
|
|
2012
2150
|
"type": "color",
|
|
2013
2151
|
"mode": "light",
|
|
2014
2152
|
"value": "hsl(85, 76.0%, 92.3%)",
|
|
2015
|
-
"originalValue": "
|
|
2153
|
+
"originalValue": "{color.transfer.light.lime3}"
|
|
2016
2154
|
},
|
|
2017
2155
|
"surface.light.transferListItemDownloadingBg": {
|
|
2018
2156
|
"cssName": "--transfer-list-item-downloading-bg",
|
|
2019
2157
|
"type": "color",
|
|
2020
2158
|
"mode": "light",
|
|
2021
2159
|
"value": "hsl(85, 76.0%, 92.3%)",
|
|
2022
|
-
"originalValue": "
|
|
2160
|
+
"originalValue": "{color.transfer.light.lime3}"
|
|
2023
2161
|
},
|
|
2024
2162
|
"surface.light.transferListItemFinishedBg": {
|
|
2025
2163
|
"cssName": "--transfer-list-item-finished-bg",
|
|
2026
2164
|
"type": "color",
|
|
2027
2165
|
"mode": "light",
|
|
2028
2166
|
"value": "hsl(0, 0%, 97.3%)",
|
|
2029
|
-
"originalValue": "
|
|
2167
|
+
"originalValue": "{color.neutral.light.bgSecondary}"
|
|
2030
2168
|
},
|
|
2031
2169
|
"surface.light.transferListItemPassiveBg": {
|
|
2032
2170
|
"cssName": "--transfer-list-item-passive-bg",
|
|
@@ -2040,14 +2178,14 @@ export const tokens = {
|
|
|
2040
2178
|
"type": "color",
|
|
2041
2179
|
"mode": "light",
|
|
2042
2180
|
"value": "hsl(0, 0%, 9.0%)",
|
|
2043
|
-
"originalValue": "
|
|
2181
|
+
"originalValue": "{color.neutral.light.text}"
|
|
2044
2182
|
},
|
|
2045
2183
|
"surface.light.loContrast": {
|
|
2046
2184
|
"cssName": "--lo-contrast",
|
|
2047
2185
|
"type": "color",
|
|
2048
2186
|
"mode": "light",
|
|
2049
2187
|
"value": "hsl(0, 0%, 99.0%)",
|
|
2050
|
-
"originalValue": "
|
|
2188
|
+
"originalValue": "{color.neutral.light.bg}"
|
|
2051
2189
|
},
|
|
2052
2190
|
"surface.light.transparent": {
|
|
2053
2191
|
"cssName": "--transparent",
|
|
@@ -2089,7 +2227,7 @@ export const tokens = {
|
|
|
2089
2227
|
"type": "color",
|
|
2090
2228
|
"mode": "dark",
|
|
2091
2229
|
"value": "hsl(0, 0%, 8.5%)",
|
|
2092
|
-
"originalValue": "
|
|
2230
|
+
"originalValue": "{surface.dark.appBg}"
|
|
2093
2231
|
},
|
|
2094
2232
|
"surface.dark.navItemBg": {
|
|
2095
2233
|
"cssName": "--nav-item-bg",
|
|
@@ -2103,14 +2241,14 @@ export const tokens = {
|
|
|
2103
2241
|
"type": "color",
|
|
2104
2242
|
"mode": "dark",
|
|
2105
2243
|
"value": "hsl(0, 0%, 13.6%)",
|
|
2106
|
-
"originalValue": "
|
|
2244
|
+
"originalValue": "{color.neutral.dark.componentBg}"
|
|
2107
2245
|
},
|
|
2108
2246
|
"surface.dark.navItemBgActive": {
|
|
2109
2247
|
"cssName": "--nav-item-bg-active",
|
|
2110
2248
|
"type": "color",
|
|
2111
2249
|
"mode": "dark",
|
|
2112
2250
|
"value": "hsl(0, 0%, 13.6%)",
|
|
2113
|
-
"originalValue": "
|
|
2251
|
+
"originalValue": "{color.neutral.dark.componentBg}"
|
|
2114
2252
|
},
|
|
2115
2253
|
"surface.dark.listItemBg": {
|
|
2116
2254
|
"cssName": "--list-item-bg",
|
|
@@ -2124,14 +2262,14 @@ export const tokens = {
|
|
|
2124
2262
|
"type": "color",
|
|
2125
2263
|
"mode": "dark",
|
|
2126
2264
|
"value": "hsl(0, 0%, 11.0%)",
|
|
2127
|
-
"originalValue": "
|
|
2265
|
+
"originalValue": "{color.neutral.dark.bgSecondary}"
|
|
2128
2266
|
},
|
|
2129
2267
|
"surface.dark.listItemBgActive": {
|
|
2130
2268
|
"cssName": "--list-item-bg-active",
|
|
2131
2269
|
"type": "color",
|
|
2132
2270
|
"mode": "dark",
|
|
2133
2271
|
"value": "hsl(0, 0%, 11.0%)",
|
|
2134
|
-
"originalValue": "
|
|
2272
|
+
"originalValue": "{color.neutral.dark.bgSecondary}"
|
|
2135
2273
|
},
|
|
2136
2274
|
"surface.dark.listItemBorder": {
|
|
2137
2275
|
"cssName": "--list-item-border",
|
|
@@ -2145,14 +2283,14 @@ export const tokens = {
|
|
|
2145
2283
|
"type": "color",
|
|
2146
2284
|
"mode": "dark",
|
|
2147
2285
|
"value": "hsl(0, 0%, 8.5%)",
|
|
2148
|
-
"originalValue": "
|
|
2286
|
+
"originalValue": "{surface.dark.appBg}"
|
|
2149
2287
|
},
|
|
2150
2288
|
"surface.dark.segmentedControlBgActive": {
|
|
2151
2289
|
"cssName": "--segmented-control-bg-active",
|
|
2152
2290
|
"type": "color",
|
|
2153
2291
|
"mode": "dark",
|
|
2154
2292
|
"value": "hsl(0, 0%, 13.6%)",
|
|
2155
|
-
"originalValue": "
|
|
2293
|
+
"originalValue": "{color.neutral.dark.componentBg}"
|
|
2156
2294
|
},
|
|
2157
2295
|
"surface.dark.transferListItemCompletingBg": {
|
|
2158
2296
|
"cssName": "--transfer-list-item-completing-bg",
|
|
@@ -2173,7 +2311,7 @@ export const tokens = {
|
|
|
2173
2311
|
"type": "color",
|
|
2174
2312
|
"mode": "dark",
|
|
2175
2313
|
"value": "hsl(0, 0%, 11.0%)",
|
|
2176
|
-
"originalValue": "
|
|
2314
|
+
"originalValue": "{color.neutral.dark.bgSecondary}"
|
|
2177
2315
|
},
|
|
2178
2316
|
"surface.dark.transferListItemPassiveBg": {
|
|
2179
2317
|
"cssName": "--transfer-list-item-passive-bg",
|
|
@@ -2187,14 +2325,14 @@ export const tokens = {
|
|
|
2187
2325
|
"type": "color",
|
|
2188
2326
|
"mode": "dark",
|
|
2189
2327
|
"value": "hsl(0, 0%, 93.0%)",
|
|
2190
|
-
"originalValue": "
|
|
2328
|
+
"originalValue": "{color.neutral.dark.text}"
|
|
2191
2329
|
},
|
|
2192
2330
|
"surface.dark.loContrast": {
|
|
2193
2331
|
"cssName": "--lo-contrast",
|
|
2194
2332
|
"type": "color",
|
|
2195
2333
|
"mode": "dark",
|
|
2196
2334
|
"value": "hsl(0, 0%, 8.5%)",
|
|
2197
|
-
"originalValue": "
|
|
2335
|
+
"originalValue": "{color.neutral.dark.bg}"
|
|
2198
2336
|
},
|
|
2199
2337
|
"surface.dark.overlayInline": {
|
|
2200
2338
|
"cssName": "--overlay-inline",
|
|
@@ -2222,7 +2360,8 @@ export const tokens = {
|
|
|
2222
2360
|
"type": "color",
|
|
2223
2361
|
"mode": "dark",
|
|
2224
2362
|
"value": "hsl(0, 0%, 0%)",
|
|
2225
|
-
"originalValue": "
|
|
2363
|
+
"originalValue": "{surface.dark.shadowColor}",
|
|
2364
|
+
"description": "Compat name kept for existing web consumers — alias of surface.dark.shadowColor so the two can never drift."
|
|
2226
2365
|
},
|
|
2227
2366
|
"surface.dark.shadowSm": {
|
|
2228
2367
|
"cssName": "--shadow-sm",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putdotio/design",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Public put.io design tokens, brand assets, and design-system guidance.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"dev": "node scripts/serve-system.ts",
|
|
67
67
|
"tokens:build": "node scripts/build-tokens.ts",
|
|
68
68
|
"tokens:check": "node scripts/check-generated-tokens.ts && node scripts/verify-design-system.ts",
|
|
69
|
+
"design:mirror": "node scripts/export-design-mirror.ts",
|
|
69
70
|
"typecheck:scripts": "tsc --noEmit --ignoreConfig --skipLibCheck --module ESNext --moduleResolution Bundler --target ES2022 --strict --types node scripts/*.ts playwright.config.ts tests/e2e/*.ts sst.config.ts infra/*.ts",
|
|
70
71
|
"smoke": "node scripts/smoke-static.ts",
|
|
71
72
|
"html:check": "html-validate \"system/**/*.html\"",
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"devDependencies": {
|
|
79
80
|
"@axe-core/playwright": "^4.11.3",
|
|
80
81
|
"@playwright/test": "^1.60.0",
|
|
81
|
-
"@types/node": "^
|
|
82
|
+
"@types/node": "^26.0.0",
|
|
82
83
|
"html-validate": "^11.2.0",
|
|
83
84
|
"sst": "^4.14.3",
|
|
84
85
|
"style-dictionary": "^5.4.1",
|