@servicetitan/hammer-token 2.5.0 → 3.0.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.
Files changed (147) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/README.md +332 -0
  3. package/build/web/core/component-variables.scss +1088 -131
  4. package/build/web/core/component.d.ts +558 -0
  5. package/build/web/core/component.js +6685 -249
  6. package/build/web/core/component.scss +557 -69
  7. package/build/web/core/css-utils/a2-border.css +47 -45
  8. package/build/web/core/css-utils/a2-color.css +443 -227
  9. package/build/web/core/css-utils/a2-font.css +0 -2
  10. package/build/web/core/css-utils/a2-spacing.css +476 -478
  11. package/build/web/core/css-utils/a2-utils.css +992 -772
  12. package/build/web/core/css-utils/border.css +47 -45
  13. package/build/web/core/css-utils/color.css +443 -227
  14. package/build/web/core/css-utils/font.css +0 -2
  15. package/build/web/core/css-utils/spacing.css +476 -478
  16. package/build/web/core/css-utils/utils.css +992 -772
  17. package/build/web/core/index.d.ts +6 -0
  18. package/build/web/core/index.js +1 -1
  19. package/build/web/core/primitive-variables.scss +148 -65
  20. package/build/web/core/primitive.d.ts +209 -0
  21. package/build/web/core/primitive.js +779 -61
  22. package/build/web/core/primitive.scss +207 -124
  23. package/build/web/core/semantic-variables.scss +363 -239
  24. package/build/web/core/semantic.d.ts +221 -0
  25. package/build/web/core/semantic.js +1613 -347
  26. package/build/web/core/semantic.scss +219 -137
  27. package/build/web/index.d.ts +3 -4
  28. package/build/web/index.js +0 -1
  29. package/build/web/types.d.ts +17 -0
  30. package/config.js +121 -497
  31. package/eslint.config.mjs +11 -1
  32. package/package.json +15 -5
  33. package/src/global/primitive/breakpoint.tokens.json +54 -0
  34. package/src/global/primitive/color.tokens.json +1092 -0
  35. package/src/global/primitive/duration.tokens.json +44 -0
  36. package/src/global/primitive/font.tokens.json +151 -0
  37. package/src/global/primitive/radius.tokens.json +94 -0
  38. package/src/global/primitive/size.tokens.json +174 -0
  39. package/src/global/primitive/transition.tokens.json +32 -0
  40. package/src/theme/core/background.tokens.json +1312 -0
  41. package/src/theme/core/border.tokens.json +192 -0
  42. package/src/theme/core/chart.tokens.json +982 -0
  43. package/src/theme/core/component/ai-mark.tokens.json +20 -0
  44. package/src/theme/core/component/alert.tokens.json +261 -0
  45. package/src/theme/core/component/announcement.tokens.json +460 -0
  46. package/src/theme/core/component/avatar.tokens.json +137 -0
  47. package/src/theme/core/component/badge.tokens.json +42 -0
  48. package/src/theme/core/component/breadcrumb.tokens.json +42 -0
  49. package/src/theme/core/component/button-toggle.tokens.json +428 -0
  50. package/src/theme/core/component/button.tokens.json +941 -0
  51. package/src/theme/core/component/calendar.tokens.json +391 -0
  52. package/src/theme/core/component/card.tokens.json +107 -0
  53. package/src/theme/core/component/checkbox.tokens.json +631 -0
  54. package/src/theme/core/component/chip.tokens.json +169 -0
  55. package/src/theme/core/component/combobox.tokens.json +269 -0
  56. package/src/theme/core/component/details.tokens.json +152 -0
  57. package/src/theme/core/component/dialog.tokens.json +87 -0
  58. package/src/theme/core/component/divider.tokens.json +23 -0
  59. package/src/theme/core/component/dnd.tokens.json +208 -0
  60. package/src/theme/core/component/drawer.tokens.json +61 -0
  61. package/src/theme/core/component/drilldown.tokens.json +61 -0
  62. package/src/theme/core/component/edit-card.tokens.json +381 -0
  63. package/src/theme/core/component/field-label.tokens.json +42 -0
  64. package/src/theme/core/component/field-message.tokens.json +74 -0
  65. package/src/theme/core/component/icon.tokens.json +42 -0
  66. package/src/theme/core/component/link.tokens.json +108 -0
  67. package/src/theme/core/component/list-view.tokens.json +82 -0
  68. package/src/theme/core/component/listbox.tokens.json +283 -0
  69. package/src/theme/core/component/menu.tokens.json +230 -0
  70. package/src/theme/core/component/overflow.tokens.json +84 -0
  71. package/src/theme/core/component/page.tokens.json +377 -0
  72. package/src/theme/core/component/pagination.tokens.json +63 -0
  73. package/src/theme/core/component/popover.tokens.json +122 -0
  74. package/src/theme/core/component/progress-bar.tokens.json +133 -0
  75. package/src/theme/core/component/radio.tokens.json +631 -0
  76. package/src/theme/core/component/segmented-control.tokens.json +175 -0
  77. package/src/theme/core/component/select-card.tokens.json +943 -0
  78. package/src/theme/core/component/side-nav.tokens.json +349 -0
  79. package/src/theme/core/component/skeleton.tokens.json +42 -0
  80. package/src/theme/core/component/spinner.tokens.json +96 -0
  81. package/src/theme/core/component/status-icon.tokens.json +164 -0
  82. package/src/theme/core/component/stepper.tokens.json +484 -0
  83. package/src/theme/core/component/switch.tokens.json +285 -0
  84. package/src/theme/core/component/tab.tokens.json +192 -0
  85. package/src/theme/core/component/text-field.tokens.json +160 -0
  86. package/src/theme/core/component/text.tokens.json +59 -0
  87. package/src/theme/core/component/toast.tokens.json +343 -0
  88. package/src/theme/core/component/toolbar.tokens.json +114 -0
  89. package/src/theme/core/component/tooltip.tokens.json +61 -0
  90. package/src/theme/core/focus.tokens.json +56 -0
  91. package/src/theme/core/foreground.tokens.json +416 -0
  92. package/src/theme/core/gradient.tokens.json +41 -0
  93. package/src/theme/core/opacity.tokens.json +25 -0
  94. package/src/theme/core/shadow.tokens.json +81 -0
  95. package/src/theme/core/status.tokens.json +74 -0
  96. package/src/theme/core/typography.tokens.json +163 -0
  97. package/src/utils/__tests__/css-utils-format-utils.test.js +312 -0
  98. package/src/utils/__tests__/sd-build-configs.test.js +306 -0
  99. package/src/utils/__tests__/sd-formats.test.js +950 -0
  100. package/src/utils/__tests__/sd-transforms.test.js +336 -0
  101. package/src/utils/__tests__/token-helpers.test.js +1160 -0
  102. package/src/utils/copy-css-utils-cli.js +13 -1
  103. package/src/utils/css-utils-format-utils.js +105 -176
  104. package/src/utils/figma/__tests__/sync-gradient.test.js +561 -0
  105. package/src/utils/figma/__tests__/token-conversion.test.js +117 -0
  106. package/src/utils/figma/__tests__/token-resolution.test.js +231 -0
  107. package/src/utils/figma/auth.js +355 -0
  108. package/src/utils/figma/constants.js +22 -0
  109. package/src/utils/figma/errors.js +80 -0
  110. package/src/utils/figma/figma-api.js +1069 -0
  111. package/src/utils/figma/get-token.js +348 -0
  112. package/src/utils/figma/sync-components.js +909 -0
  113. package/src/utils/figma/sync-main.js +692 -0
  114. package/src/utils/figma/sync-orchestration.js +683 -0
  115. package/src/utils/figma/sync-primitives.js +230 -0
  116. package/src/utils/figma/sync-semantic.js +1056 -0
  117. package/src/utils/figma/token-conversion.js +340 -0
  118. package/src/utils/figma/token-parsing.js +186 -0
  119. package/src/utils/figma/token-resolution.js +569 -0
  120. package/src/utils/figma/utils.js +199 -0
  121. package/src/utils/sd-build-configs.js +305 -0
  122. package/src/utils/sd-formats.js +965 -0
  123. package/src/utils/sd-transforms.js +165 -0
  124. package/src/utils/token-helpers.js +848 -0
  125. package/tsconfig.json +18 -0
  126. package/vitest.config.js +17 -0
  127. package/.turbo/turbo-build.log +0 -37
  128. package/build/web/core/raw.js +0 -229
  129. package/src/global/primitive/breakpoint.js +0 -19
  130. package/src/global/primitive/color.js +0 -231
  131. package/src/global/primitive/duration.js +0 -16
  132. package/src/global/primitive/font.js +0 -60
  133. package/src/global/primitive/radius.js +0 -31
  134. package/src/global/primitive/size.js +0 -55
  135. package/src/global/primitive/transition.js +0 -16
  136. package/src/theme/core/background.js +0 -170
  137. package/src/theme/core/border.js +0 -103
  138. package/src/theme/core/charts.js +0 -439
  139. package/src/theme/core/component/button.js +0 -708
  140. package/src/theme/core/component/checkbox.js +0 -405
  141. package/src/theme/core/focus.js +0 -35
  142. package/src/theme/core/foreground.js +0 -148
  143. package/src/theme/core/overlay.js +0 -137
  144. package/src/theme/core/shadow.js +0 -29
  145. package/src/theme/core/status.js +0 -49
  146. package/src/theme/core/typography.js +0 -82
  147. package/type/types.ts +0 -341
@@ -1,29 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-require-imports */
2
- const { color } = require("../../global/primitive/color");
3
- const { size } = require("../../global/primitive/size");
4
-
5
- module.exports = {
6
- shadow: {
7
- color: {
8
- value: `${color.neutral["400"].value}14`,
9
- attributes: {
10
- appearance: {
11
- dark: {
12
- value: `${color.neutral["0"].value}14`,
13
- },
14
- },
15
- },
16
- },
17
- size: {
18
- flat: {
19
- value: `${size["0"].value} ${size["0"].value} ${size["0"].value}`,
20
- },
21
- float: {
22
- value: `${size["0"].value} ${size.half.value} ${size["2"].value}`,
23
- },
24
- overlay: {
25
- value: `${size["0"].value} ${size["2"].value} ${size["6"].value}`,
26
- },
27
- },
28
- },
29
- };
@@ -1,49 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-require-imports */
2
- const { color } = require("../../global/primitive/color");
3
-
4
- module.exports = {
5
- status: {
6
- color: {
7
- info: {
8
- value: color.blue["500"].value,
9
- attributes: {
10
- appearance: {
11
- dark: {
12
- value: color.blue["300"].value,
13
- },
14
- },
15
- },
16
- },
17
- danger: {
18
- value: color.red["500"].value,
19
- attributes: {
20
- appearance: {
21
- dark: {
22
- value: color.red["300"].value,
23
- },
24
- },
25
- },
26
- },
27
- success: {
28
- value: color.green["500"].value,
29
- attributes: {
30
- appearance: {
31
- dark: {
32
- value: color.green["300"].value,
33
- },
34
- },
35
- },
36
- },
37
- warning: {
38
- value: color.yellow["500"].value,
39
- attributes: {
40
- appearance: {
41
- dark: {
42
- value: color.yellow["300"].value,
43
- },
44
- },
45
- },
46
- },
47
- },
48
- },
49
- };
@@ -1,82 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-require-imports */
2
- const { font } = require("../../global/primitive/font");
3
-
4
- module.exports = {
5
- typography: {
6
- paragraph: {
7
- size: {
8
- xsmall: {
9
- value: font.size["200"].value,
10
- },
11
- small: {
12
- value: font.size["300"].value,
13
- },
14
- default: {
15
- value: font.size["400"].value,
16
- },
17
- large: {
18
- value: font.size["500"].value,
19
- },
20
- xlarge: {
21
- value: font.size["600"].value,
22
- },
23
- },
24
- "font-weight": {
25
- value: font.weight.normal.value,
26
- },
27
- "font-family": {
28
- value: font.family.base.value,
29
- },
30
- },
31
- heading: {
32
- size: {
33
- xsmall: {
34
- value: font.size["300"].value,
35
- },
36
- small: {
37
- value: font.size["400"].value,
38
- },
39
- default: {
40
- value: font.size["500"].value,
41
- },
42
- large: {
43
- value: font.size["600"].value,
44
- },
45
- xlarge: {
46
- value: font.size["800"].value,
47
- },
48
- },
49
- "font-weight": {
50
- value: font.weight.bold.value,
51
- },
52
- "font-family": {
53
- value: font.family.display.value,
54
- },
55
- },
56
- label: {
57
- size: {
58
- xsmall: {
59
- value: font.size["100"].value,
60
- },
61
- small: {
62
- value: font.size["200"].value,
63
- },
64
- default: {
65
- value: font.size["300"].value,
66
- },
67
- large: {
68
- value: font.size["400"].value,
69
- },
70
- xlarge: {
71
- value: font.size["500"].value,
72
- },
73
- },
74
- "font-weight": {
75
- value: font.weight.semibold.value,
76
- },
77
- "font-family": {
78
- value: font.family.base.value,
79
- },
80
- },
81
- },
82
- };
package/type/types.ts DELETED
@@ -1,341 +0,0 @@
1
- export type TokenObj = {
2
- value: string;
3
- attributes?: {
4
- appearance?: {
5
- dark: {
6
- value: string;
7
- };
8
- };
9
- };
10
- };
11
-
12
- export type Primitive = {
13
- ColorBlue100: TokenObj;
14
- ColorBlue200: TokenObj;
15
- ColorBlue300: TokenObj;
16
- ColorBlue400: TokenObj;
17
- ColorBlue500: TokenObj;
18
- ColorBlue600: TokenObj;
19
- ColorNeutral0: TokenObj;
20
- ColorNeutral10: TokenObj;
21
- ColorNeutral20: TokenObj;
22
- ColorNeutral30: TokenObj;
23
- ColorNeutral40: TokenObj;
24
- ColorNeutral50: TokenObj;
25
- ColorNeutral60: TokenObj;
26
- ColorNeutral70: TokenObj;
27
- ColorNeutral80: TokenObj;
28
- ColorNeutral90: TokenObj;
29
- ColorNeutral100: TokenObj;
30
- ColorNeutral200: TokenObj;
31
- ColorNeutral300: TokenObj;
32
- ColorNeutral400: TokenObj;
33
- ColorNeutral500: TokenObj;
34
- ColorBlueGrey100: TokenObj;
35
- ColorBlueGrey200: TokenObj;
36
- ColorBlueGrey300: TokenObj;
37
- ColorBlueGrey400: TokenObj;
38
- ColorBlueGrey500: TokenObj;
39
- ColorBlueGrey600: TokenObj;
40
- ColorOrange100: TokenObj;
41
- ColorOrange200: TokenObj;
42
- ColorOrange300: TokenObj;
43
- ColorOrange400: TokenObj;
44
- ColorOrange500: TokenObj;
45
- ColorOrange600: TokenObj;
46
- ColorYellow100: TokenObj;
47
- ColorYellow200: TokenObj;
48
- ColorYellow300: TokenObj;
49
- ColorYellow400: TokenObj;
50
- ColorYellow500: TokenObj;
51
- ColorYellow600: TokenObj;
52
- ColorGreen100: TokenObj;
53
- ColorGreen200: TokenObj;
54
- ColorGreen300: TokenObj;
55
- ColorGreen400: TokenObj;
56
- ColorGreen500: TokenObj;
57
- ColorGreen600: TokenObj;
58
- ColorCyan100: TokenObj;
59
- ColorCyan200: TokenObj;
60
- ColorCyan300: TokenObj;
61
- ColorCyan400: TokenObj;
62
- ColorCyan500: TokenObj;
63
- ColorCyan600: TokenObj;
64
- ColorPurple100: TokenObj;
65
- ColorPurple200: TokenObj;
66
- ColorPurple300: TokenObj;
67
- ColorPurple400: TokenObj;
68
- ColorPurple500: TokenObj;
69
- ColorPurple600: TokenObj;
70
- ColorRed100: TokenObj;
71
- ColorRed200: TokenObj;
72
- ColorRed300: TokenObj;
73
- ColorRed400: TokenObj;
74
- ColorRed500: TokenObj;
75
- ColorRed600: TokenObj;
76
- ColorMagenta100: TokenObj;
77
- ColorMagenta200: TokenObj;
78
- ColorMagenta300: TokenObj;
79
- ColorMagenta400: TokenObj;
80
- ColorMagenta500: TokenObj;
81
- ColorMagenta600: TokenObj;
82
- Duration: TokenObj;
83
- DurationInstant: TokenObj;
84
- DurationFast: TokenObj;
85
- DurationSlow: TokenObj;
86
- FontFamilyBase: TokenObj;
87
- FontFamilyDisplay: TokenObj;
88
- FontLineHeightBase: TokenObj;
89
- FontLineHeightDisplay: TokenObj;
90
- FontWeightNormal: TokenObj;
91
- FontWeightSemibold: TokenObj;
92
- FontWeightBold: TokenObj;
93
- FontSize100: TokenObj;
94
- FontSize200: TokenObj;
95
- FontSize300: TokenObj;
96
- FontSize400: TokenObj;
97
- FontSize500: TokenObj;
98
- FontSize600: TokenObj;
99
- FontSize700: TokenObj;
100
- FontSize800: TokenObj;
101
- FontSize900: TokenObj;
102
- Size0: TokenObj;
103
- Size1: TokenObj;
104
- Size2: TokenObj;
105
- Size3: TokenObj;
106
- Size4: TokenObj;
107
- Size5: TokenObj;
108
- Size6: TokenObj;
109
- Size7: TokenObj;
110
- Size8: TokenObj;
111
- Size9: TokenObj;
112
- Size10: TokenObj;
113
- Size11: TokenObj;
114
- Size12: TokenObj;
115
- Size13: TokenObj;
116
- Size14: TokenObj;
117
- SizeQuarter: TokenObj;
118
- SizeHalf: TokenObj;
119
- TransitionEase: TokenObj;
120
- TransitionEaseIn: TokenObj;
121
- TransitionEaseOut: TokenObj;
122
- TransitionEaseInOut: TokenObj;
123
- BreakpointSm: TokenObj;
124
- BreakpointMd: TokenObj;
125
- BreakpointLg: TokenObj;
126
- BreakpointXl: TokenObj;
127
- BreakpointXxl: TokenObj;
128
- };
129
-
130
- export type Semantic = {
131
- BackgroundColor: TokenObj;
132
- BackgroundColorStrong: TokenObj;
133
- BackgroundColorStronger: TokenObj;
134
- BackgroundColorStrongest: TokenObj;
135
- BackgroundColorPrimary: TokenObj;
136
- BackgroundColorPrimarySubdued: TokenObj;
137
- BackgroundColorDanger: TokenObj;
138
- BackgroundColorWarning: TokenObj;
139
- BackgroundColorInverted: TokenObj;
140
- BackgroundColorInvertedStrong: TokenObj;
141
- BackgroundColorDisabled: TokenObj;
142
- BorderRadiusNone: TokenObj;
143
- BorderRadiusRounded: TokenObj;
144
- BorderRadiusRoundedStrong: TokenObj;
145
- BorderRadiusPill: TokenObj;
146
- BorderRadiusCircular: TokenObj;
147
- BorderWidthNone: TokenObj;
148
- BorderWidth: TokenObj;
149
- BorderWidthStrong: TokenObj;
150
- BorderColor: TokenObj;
151
- BorderColorStrong: TokenObj;
152
- BorderColorSubdued: TokenObj;
153
- BorderColorPrimary: TokenObj;
154
- BorderColorDanger: TokenObj;
155
- ChartsMonochrome1: TokenObj;
156
- ChartsMonochrome1Stroke: TokenObj;
157
- ChartsMonochrome1Pattern: TokenObj;
158
- ChartsMonochrome2: TokenObj;
159
- ChartsMonochrome2Stroke: TokenObj;
160
- ChartsMonochrome2Pattern: TokenObj;
161
- ChartsMonochrome3: TokenObj;
162
- ChartsMonochrome3Stroke: TokenObj;
163
- ChartsMonochrome3Pattern: TokenObj;
164
- ChartsMonochrome4: TokenObj;
165
- ChartsMonochrome4Stroke: TokenObj;
166
- ChartsMonochrome4Pattern: TokenObj;
167
- ChartsCategorical1: TokenObj;
168
- ChartsCategorical1Stroke: TokenObj;
169
- ChartsCategorical1Pattern: TokenObj;
170
- ChartsCategorical2: TokenObj;
171
- ChartsCategorical2Stroke: TokenObj;
172
- ChartsCategorical2Pattern: TokenObj;
173
- ChartsCategorical3: TokenObj;
174
- ChartsCategorical3Stroke: TokenObj;
175
- ChartsCategorical3Pattern: TokenObj;
176
- ChartsCategorical4: TokenObj;
177
- ChartsCategorical4Stroke: TokenObj;
178
- ChartsCategorical4Pattern: TokenObj;
179
- ChartsCategorical5: TokenObj;
180
- ChartsCategorical5Stroke: TokenObj;
181
- ChartsCategorical5Pattern: TokenObj;
182
- ChartsCategorical6: TokenObj;
183
- ChartsCategorical6Stroke: TokenObj;
184
- ChartsCategorical6Pattern: TokenObj;
185
- ChartsCategorical7: TokenObj;
186
- ChartsCategorical7Stroke: TokenObj;
187
- ChartsCategorical7Pattern: TokenObj;
188
- ChartsCategorical8: TokenObj;
189
- ChartsCategorical8Stroke: TokenObj;
190
- ChartsCategorical8Pattern: TokenObj;
191
- ChartsCategorical9: TokenObj;
192
- ChartsCategorical9Stroke: TokenObj;
193
- ChartsCategorical9Pattern: TokenObj;
194
- ChartsChartsStatusSuccess: TokenObj;
195
- ChartsChartsStatusSuccessStroke: TokenObj;
196
- ChartsChartsStatusSuccessPattern: TokenObj;
197
- ChartsChartsStatusWarning: TokenObj;
198
- ChartsChartsStatusWarningStroke: TokenObj;
199
- ChartsChartsStatusWarningPattern: TokenObj;
200
- ChartsChartsStatusDanger: TokenObj;
201
- ChartsChartsStatusDangerStroke: TokenObj;
202
- ChartsChartsStatusDangerPattern: TokenObj;
203
- ChartsChartsStatusNeutral: TokenObj;
204
- ChartsChartsStatusNeutralStroke: TokenObj;
205
- ChartsChartsStatusNeutralPattern: TokenObj;
206
- FocusRingColor: TokenObj;
207
- FocusRingColorDanger: TokenObj;
208
- FocusRingWidth: TokenObj;
209
- ForegroundColor: TokenObj;
210
- ForegroundColorSubdued: TokenObj;
211
- ForegroundColorPrimary: TokenObj;
212
- ForegroundColorDanger: TokenObj;
213
- ForegroundColorInverted: TokenObj;
214
- ForegroundColorOnPrimary: TokenObj;
215
- ForegroundColorOnDanger: TokenObj;
216
- ForegroundColorOnWarning: TokenObj;
217
- OverlayColorActive: TokenObj;
218
- OverlayColorActivePrimary: TokenObj;
219
- OverlayColorActiveDanger: TokenObj;
220
- OverlayColorActiveOn: TokenObj;
221
- OverlayColorActiveOnPrimary: TokenObj;
222
- OverlayColorActiveOnDanger: TokenObj;
223
- OverlayColorHover: TokenObj;
224
- OverlayColorHoverPrimary: TokenObj;
225
- OverlayColorHoverDanger: TokenObj;
226
- OverlayColorHoverOn: TokenObj;
227
- OverlayColorHoverOnPrimary: TokenObj;
228
- OverlayColorHoverOnDanger: TokenObj;
229
- ShadowColor: TokenObj;
230
- ShadowSizeFlat: TokenObj;
231
- ShadowSizeFloat: TokenObj;
232
- ShadowSizeOverlay: TokenObj;
233
- StatusColorInfo: TokenObj;
234
- StatusColorDanger: TokenObj;
235
- StatusColorSuccess: TokenObj;
236
- StatusColorWarning: TokenObj;
237
- TypographyParagraphSizeXsmall: TokenObj;
238
- TypographyParagraphSizeSmall: TokenObj;
239
- TypographyParagraphSize: TokenObj;
240
- TypographyParagraphSizeLarge: TokenObj;
241
- TypographyParagraphSizeXlarge: TokenObj;
242
- TypographyParagraphFontWeight: TokenObj;
243
- TypographyParagraphFontFamily: TokenObj;
244
- TypographyHeadingSizeXsmall: TokenObj;
245
- TypographyHeadingSizeSmall: TokenObj;
246
- TypographyHeadingSize: TokenObj;
247
- TypographyHeadingSizeLarge: TokenObj;
248
- TypographyHeadingSizeXlarge: TokenObj;
249
- TypographyHeadingFontWeight: TokenObj;
250
- TypographyHeadingFontFamily: TokenObj;
251
- TypographyLabelSizeXsmall: TokenObj;
252
- TypographyLabelSizeSmall: TokenObj;
253
- TypographyLabelSize: TokenObj;
254
- TypographyLabelSizeLarge: TokenObj;
255
- TypographyLabelSizeXlarge: TokenObj;
256
- TypographyLabelFontWeight: TokenObj;
257
- TypographyLabelFontFamily: TokenObj;
258
- };
259
-
260
- type Component = {
261
- // Button
262
- ButtonPrimaryForegroundColor: TokenObj;
263
- ButtonPrimaryForegroundColorHover: TokenObj;
264
- ButtonPrimaryForegroundColorActive: TokenObj;
265
- ButtonPrimaryBackgroundColor: TokenObj;
266
- ButtonPrimaryBackgroundColorHover: TokenObj;
267
- ButtonPrimaryBackgroundColorActive: TokenObj;
268
- ButtonPrimaryBorderColor: TokenObj;
269
- ButtonPrimaryFocusRingColor: TokenObj;
270
- ButtonSecondaryForegroundColor: TokenObj;
271
- ButtonSecondaryForegroundColorHover: TokenObj;
272
- ButtonSecondaryForegroundColorActive: TokenObj;
273
- ButtonSecondaryBackgroundColor: TokenObj;
274
- ButtonSecondaryBackgroundColorHover: TokenObj;
275
- ButtonSecondaryBackgroundColorActive: TokenObj;
276
- ButtonSecondaryBorderColor: TokenObj;
277
- ButtonSecondaryFocusRingColor: TokenObj;
278
- ButtonGhostForegroundColor: TokenObj;
279
- ButtonGhostForegroundColorHover: TokenObj;
280
- ButtonGhostForegroundColorActive: TokenObj;
281
- ButtonGhostBackgroundColor: TokenObj;
282
- ButtonGhostBackgroundColorHover: TokenObj;
283
- ButtonGhostBackgroundColorActive: TokenObj;
284
- ButtonGhostBorderColor: TokenObj;
285
- ButtonGhostFocusRingColor: TokenObj;
286
- ButtonDangerPrimaryForegroundColor: TokenObj;
287
- ButtonDangerPrimaryForegroundColorHover: TokenObj;
288
- ButtonDangerPrimaryForegroundColorActive: TokenObj;
289
- ButtonDangerPrimaryBackgroundColor: TokenObj;
290
- ButtonDangerPrimaryBackgroundColorHover: TokenObj;
291
- ButtonDangerPrimaryBackgroundColorActive: TokenObj;
292
- ButtonDangerPrimaryBorderColor: TokenObj;
293
- ButtonDangerPrimaryFocusRingColor: TokenObj;
294
- ButtonDangerSecondaryForegroundColor: TokenObj;
295
- ButtonDangerSecondaryForegroundColorHover: TokenObj;
296
- ButtonDangerSecondaryForegroundColorActive: TokenObj;
297
- ButtonDangerSecondaryBackgroundColor: TokenObj;
298
- ButtonDangerSecondaryBackgroundColorHover: TokenObj;
299
- ButtonDangerSecondaryBackgroundColorActive: TokenObj;
300
- ButtonDangerSecondaryBorderColor: TokenObj;
301
- ButtonDangerSecondaryFocusRingColor: TokenObj;
302
- ButtonPrimaryBorderRadius: TokenObj;
303
- ButtonSecondaryBorderRadius: TokenObj;
304
- ButtonGhostBorderRadius: TokenObj;
305
- ButtonDangerPrimaryBorderRadius: TokenObj;
306
- ButtonDangerSecondaryBorderRadius: TokenObj;
307
-
308
- // Checkbox
309
- CheckboxUncheckedFillColor: TokenObj;
310
- CheckboxUncheckedFillColorHover: TokenObj;
311
- CheckboxUncheckedFillColorActive: TokenObj;
312
- CheckboxUncheckedBackgroundColor: TokenObj;
313
- CheckboxUncheckedBackgroundColorHover: TokenObj;
314
- CheckboxUncheckedBackgroundColorActive: TokenObj;
315
- CheckboxCheckedFillColor: TokenObj;
316
- CheckboxCheckedFillColorHover: TokenObj;
317
- CheckboxCheckedFillColorActive: TokenObj;
318
- CheckboxCheckedBackgroundColor: TokenObj;
319
- CheckboxCheckedBackgroundColorHover: TokenObj;
320
- CheckboxCheckedBackgroundColorActive: TokenObj;
321
- CheckboxUncheckedErrorFillColor: TokenObj;
322
- CheckboxUncheckedErrorFillColorHover: TokenObj;
323
- CheckboxUncheckedErrorFillColorActive: TokenObj;
324
- CheckboxUncheckedErrorBackgroundColor: TokenObj;
325
- CheckboxUncheckedErrorBackgroundColorHover: TokenObj;
326
- CheckboxUncheckedErrorBackgroundColorActive: TokenObj;
327
- CheckboxCheckedErrorFillColor: TokenObj;
328
- CheckboxCheckedErrorFillColorHover: TokenObj;
329
- CheckboxCheckedErrorFillColorActive: TokenObj;
330
- CheckboxCheckedErrorBackgroundColor: TokenObj;
331
- CheckboxCheckedErrorBackgroundColorHover: TokenObj;
332
- CheckboxCheckedErrorBackgroundColorActive: TokenObj;
333
- };
334
- type Token = {
335
- primitive: Primitive;
336
- semantic: Semantic;
337
- component: Component;
338
- name: string;
339
- };
340
-
341
- export default Token;