@lunar-js/lunar 0.0.1

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 (162) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE +21 -0
  3. package/README.md +41 -0
  4. package/dist/components/composite/Card/Card.d.ts +64 -0
  5. package/dist/components/composite/Card/Card.d.ts.map +1 -0
  6. package/dist/components/composite/Card/Card.js +86 -0
  7. package/dist/components/composite/Card/Card.js.map +1 -0
  8. package/dist/components/composite/Card/card.css.js +62 -0
  9. package/dist/components/composite/Card/card.css.js.map +1 -0
  10. package/dist/components/composite/Dialog/Dialog.d.ts +45 -0
  11. package/dist/components/composite/Dialog/Dialog.d.ts.map +1 -0
  12. package/dist/components/composite/Dialog/Dialog.js +117 -0
  13. package/dist/components/composite/Dialog/Dialog.js.map +1 -0
  14. package/dist/components/composite/Dialog/DialogProvider.d.ts +11 -0
  15. package/dist/components/composite/Dialog/DialogProvider.d.ts.map +1 -0
  16. package/dist/components/composite/Dialog/DialogProvider.js +19 -0
  17. package/dist/components/composite/Dialog/DialogProvider.js.map +1 -0
  18. package/dist/components/composite/Dialog/dialog.css.js +104 -0
  19. package/dist/components/composite/Dialog/dialog.css.js.map +1 -0
  20. package/dist/components/primitives/Button/Button.d.ts +27 -0
  21. package/dist/components/primitives/Button/Button.d.ts.map +1 -0
  22. package/dist/components/primitives/Button/Button.js +25 -0
  23. package/dist/components/primitives/Button/Button.js.map +1 -0
  24. package/dist/components/primitives/Button/button.css.d.ts +16 -0
  25. package/dist/components/primitives/Button/button.css.d.ts.map +1 -0
  26. package/dist/components/primitives/Button/button.css.js +202 -0
  27. package/dist/components/primitives/Button/button.css.js.map +1 -0
  28. package/dist/components/primitives/Button/button.types.d.ts +8 -0
  29. package/dist/components/primitives/Button/button.types.d.ts.map +1 -0
  30. package/dist/components/primitives/Input/Input.d.ts +12 -0
  31. package/dist/components/primitives/Input/Input.d.ts.map +1 -0
  32. package/dist/components/primitives/Input/Input.js +21 -0
  33. package/dist/components/primitives/Input/Input.js.map +1 -0
  34. package/dist/components/primitives/Input/input.css.js +54 -0
  35. package/dist/components/primitives/Input/input.css.js.map +1 -0
  36. package/dist/components/primitives/Label/Label.d.ts +13 -0
  37. package/dist/components/primitives/Label/Label.d.ts.map +1 -0
  38. package/dist/components/primitives/Label/Label.js +22 -0
  39. package/dist/components/primitives/Label/Label.js.map +1 -0
  40. package/dist/components/primitives/Label/label.css.js +35 -0
  41. package/dist/components/primitives/Label/label.css.js.map +1 -0
  42. package/dist/components/primitives/Typography/Text.d.ts +40 -0
  43. package/dist/components/primitives/Typography/Text.d.ts.map +1 -0
  44. package/dist/components/primitives/Typography/Text.js +28 -0
  45. package/dist/components/primitives/Typography/Text.js.map +1 -0
  46. package/dist/components/primitives/Typography/text.css.d.ts +31 -0
  47. package/dist/components/primitives/Typography/text.css.d.ts.map +1 -0
  48. package/dist/components/primitives/Typography/text.css.js +1019 -0
  49. package/dist/components/primitives/Typography/text.css.js.map +1 -0
  50. package/dist/components/primitives/Typography/text.types.d.ts +10 -0
  51. package/dist/components/primitives/Typography/text.types.d.ts.map +1 -0
  52. package/dist/constants/theming.d.ts +10 -0
  53. package/dist/constants/theming.d.ts.map +1 -0
  54. package/dist/constants/theming.js +11 -0
  55. package/dist/constants/theming.js.map +1 -0
  56. package/dist/hooks/dialog.d.ts +7 -0
  57. package/dist/hooks/dialog.d.ts.map +1 -0
  58. package/dist/hooks/dialog.js +14 -0
  59. package/dist/hooks/dialog.js.map +1 -0
  60. package/dist/hooks/refs.js +23 -0
  61. package/dist/hooks/refs.js.map +1 -0
  62. package/dist/hooks/theme.d.ts +7 -0
  63. package/dist/hooks/theme.d.ts.map +1 -0
  64. package/dist/hooks/theme.js +14 -0
  65. package/dist/hooks/theme.js.map +1 -0
  66. package/dist/hooks/utils.js +6 -0
  67. package/dist/hooks/utils.js.map +1 -0
  68. package/dist/index.d.ts +20 -0
  69. package/dist/index.js +20 -0
  70. package/dist/styles.css.d.ts +4 -0
  71. package/dist/styles.css.js +5 -0
  72. package/dist/themes/ThemeProvider/ThemeProvider.d.ts +19 -0
  73. package/dist/themes/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  74. package/dist/themes/ThemeProvider/ThemeProvider.js +25 -0
  75. package/dist/themes/ThemeProvider/ThemeProvider.js.map +1 -0
  76. package/dist/themes/regal.css.d.ts +5 -0
  77. package/dist/themes/regal.css.d.ts.map +1 -0
  78. package/dist/themes/regal.css.js +720 -0
  79. package/dist/themes/regal.css.js.map +1 -0
  80. package/dist/themes/styles/color-scheme.css.d.ts +6 -0
  81. package/dist/themes/styles/color-scheme.css.d.ts.map +1 -0
  82. package/dist/themes/styles/color-scheme.css.js +9 -0
  83. package/dist/themes/styles/color-scheme.css.js.map +1 -0
  84. package/dist/themes/styles/utilities.d.ts +125 -0
  85. package/dist/themes/styles/utilities.d.ts.map +1 -0
  86. package/dist/themes/styles/utilities.js +129 -0
  87. package/dist/themes/styles/utilities.js.map +1 -0
  88. package/dist/themes/tokens/primitives/borders.d.ts +22 -0
  89. package/dist/themes/tokens/primitives/borders.d.ts.map +1 -0
  90. package/dist/themes/tokens/primitives/borders.js +23 -0
  91. package/dist/themes/tokens/primitives/borders.js.map +1 -0
  92. package/dist/themes/tokens/primitives/colors.d.ts +100 -0
  93. package/dist/themes/tokens/primitives/colors.d.ts.map +1 -0
  94. package/dist/themes/tokens/primitives/colors.js +101 -0
  95. package/dist/themes/tokens/primitives/colors.js.map +1 -0
  96. package/dist/themes/tokens/primitives/shadows.d.ts +14 -0
  97. package/dist/themes/tokens/primitives/shadows.d.ts.map +1 -0
  98. package/dist/themes/tokens/primitives/shadows.js +15 -0
  99. package/dist/themes/tokens/primitives/shadows.js.map +1 -0
  100. package/dist/themes/tokens/primitives/spacing.d.ts +41 -0
  101. package/dist/themes/tokens/primitives/spacing.d.ts.map +1 -0
  102. package/dist/themes/tokens/primitives/spacing.js +42 -0
  103. package/dist/themes/tokens/primitives/spacing.js.map +1 -0
  104. package/dist/themes/tokens/primitives/typography.d.ts +105 -0
  105. package/dist/themes/tokens/primitives/typography.d.ts.map +1 -0
  106. package/dist/themes/tokens/primitives/typography.js +106 -0
  107. package/dist/themes/tokens/primitives/typography.js.map +1 -0
  108. package/dist/themes/tokens/semantic/borders.js +23 -0
  109. package/dist/themes/tokens/semantic/borders.js.map +1 -0
  110. package/dist/themes/tokens/semantic/colors.js +145 -0
  111. package/dist/themes/tokens/semantic/colors.js.map +1 -0
  112. package/dist/themes/tokens/semantic/shadows.js +15 -0
  113. package/dist/themes/tokens/semantic/shadows.js.map +1 -0
  114. package/dist/themes/tokens/semantic/spacing.js +70 -0
  115. package/dist/themes/tokens/semantic/spacing.js.map +1 -0
  116. package/dist/themes/tokens/semantic/typography.js +34 -0
  117. package/dist/themes/tokens/semantic/typography.js.map +1 -0
  118. package/dist/themes/tokens/tokens.css.d.ts +714 -0
  119. package/dist/themes/tokens/tokens.css.d.ts.map +1 -0
  120. package/dist/themes/tokens/tokens.css.js +36 -0
  121. package/dist/themes/tokens/tokens.css.js.map +1 -0
  122. package/dist/types/theming.d.ts +7 -0
  123. package/dist/types/theming.d.ts.map +1 -0
  124. package/package.json +80 -0
  125. package/src/components/composite/Card/Card.tsx +62 -0
  126. package/src/components/composite/Card/card.css.ts +79 -0
  127. package/src/components/composite/Dialog/Dialog.tsx +150 -0
  128. package/src/components/composite/Dialog/DialogProvider.tsx +21 -0
  129. package/src/components/composite/Dialog/dialog.css.ts +137 -0
  130. package/src/components/primitives/Button/Button.tsx +35 -0
  131. package/src/components/primitives/Button/button.css.ts +236 -0
  132. package/src/components/primitives/Button/button.types.ts +23 -0
  133. package/src/components/primitives/Input/Input.tsx +13 -0
  134. package/src/components/primitives/Input/input.css.ts +64 -0
  135. package/src/components/primitives/Label/Label.tsx +15 -0
  136. package/src/components/primitives/Label/label.css.ts +39 -0
  137. package/src/components/primitives/Typography/Text.tsx +55 -0
  138. package/src/components/primitives/Typography/text.css.ts +1091 -0
  139. package/src/components/primitives/Typography/text.types.ts +55 -0
  140. package/src/constants/theming.ts +16 -0
  141. package/src/hooks/dialog.ts +15 -0
  142. package/src/hooks/refs.ts +34 -0
  143. package/src/hooks/theme.ts +15 -0
  144. package/src/hooks/utils.ts +3 -0
  145. package/src/index.css.ts +26 -0
  146. package/src/index.ts +111 -0
  147. package/src/themes/ThemeProvider/ThemeProvider.tsx +39 -0
  148. package/src/themes/regal.css.ts +741 -0
  149. package/src/themes/styles/color-scheme.css.ts +11 -0
  150. package/src/themes/styles/utilities.ts +140 -0
  151. package/src/themes/tokens/primitives/borders.ts +21 -0
  152. package/src/themes/tokens/primitives/colors.ts +114 -0
  153. package/src/themes/tokens/primitives/shadows.ts +12 -0
  154. package/src/themes/tokens/primitives/spacing.ts +39 -0
  155. package/src/themes/tokens/primitives/typography.ts +125 -0
  156. package/src/themes/tokens/semantic/borders.ts +21 -0
  157. package/src/themes/tokens/semantic/colors.ts +166 -0
  158. package/src/themes/tokens/semantic/shadows.ts +12 -0
  159. package/src/themes/tokens/semantic/spacing.ts +75 -0
  160. package/src/themes/tokens/semantic/typography.ts +35 -0
  161. package/src/themes/tokens/tokens.css.ts +42 -0
  162. package/src/types/theming.ts +14 -0
@@ -0,0 +1,1019 @@
1
+ import { themeContract } from "../../../themes/tokens/tokens.css.js";
2
+ import { recipe } from "@vanilla-extract/recipes";
3
+
4
+ //#region src/components/primitives/Typography/text.css.ts
5
+ const TEXT_VARIANT__DISPLAY = "display";
6
+ const TEXT_VARIANT__HEADING = "heading";
7
+ const TEXT_VARIANT__SUBHEADING = "subheading";
8
+ const TEXT_VARIANT__BODY = "body";
9
+ const TEXT_VARIANT__CAPTION = "caption";
10
+ const TEXT_VARIANT__LABEL = "label";
11
+ const TEXT_SIZE__XL = "xl";
12
+ const TEXT_SIZE__LG = "lg";
13
+ const TEXT_SIZE__MD = "md";
14
+ const TEXT_SIZE__SM = "sm";
15
+ const TEXT_COLOR__PRIMARY = "primary";
16
+ const TEXT_COLOR__SECONDARY = "secondary";
17
+ const TEXT_COLOR__MUTED = "muted";
18
+ const TEXT_COLOR__DISABLED = "disabled";
19
+ const TEXT_COLOR__INVERSE = "inverse";
20
+ const TEXT_COLOR__INTERACTIVE = "interactive";
21
+ const TEXT_COLOR__SUCCESS = "success";
22
+ const TEXT_COLOR__WARNING = "warning";
23
+ const TEXT_COLOR__DANGER = "danger";
24
+ const TEXT_COLOR__INFO = "info";
25
+ const TEXT_COLOR__BRAND = "brand";
26
+ const TEXT_COLOR__ACCENT = "accent";
27
+ const TEXT_WEIGHT__LIGHT = "light";
28
+ const TEXT_WEIGHT__MEDIUM = "medium";
29
+ const TEXT_WEIGHT__BOLD = "bold";
30
+ const textVariants = recipe({
31
+ base: {
32
+ margin: 0,
33
+ padding: 0,
34
+ fontFamily: themeContract.typography.fontFamily.base
35
+ },
36
+ defaultVariants: {
37
+ variant: TEXT_VARIANT__BODY,
38
+ size: TEXT_SIZE__MD,
39
+ color: TEXT_COLOR__PRIMARY,
40
+ weight: TEXT_WEIGHT__MEDIUM
41
+ },
42
+ variants: {
43
+ variant: {
44
+ [TEXT_VARIANT__DISPLAY]: {},
45
+ [TEXT_VARIANT__HEADING]: {},
46
+ [TEXT_VARIANT__SUBHEADING]: {},
47
+ [TEXT_VARIANT__BODY]: {},
48
+ [TEXT_VARIANT__CAPTION]: {},
49
+ [TEXT_VARIANT__LABEL]: {}
50
+ },
51
+ size: {
52
+ [TEXT_SIZE__XL]: {},
53
+ [TEXT_SIZE__LG]: {},
54
+ [TEXT_SIZE__MD]: {},
55
+ [TEXT_SIZE__SM]: {}
56
+ },
57
+ weight: {
58
+ [TEXT_WEIGHT__LIGHT]: {},
59
+ [TEXT_WEIGHT__MEDIUM]: {},
60
+ [TEXT_WEIGHT__BOLD]: {}
61
+ },
62
+ color: {
63
+ [TEXT_COLOR__PRIMARY]: { color: themeContract.colors.text.primary },
64
+ [TEXT_COLOR__SECONDARY]: { color: themeContract.colors.text.secondary },
65
+ [TEXT_COLOR__MUTED]: { color: themeContract.colors.text.tertiary },
66
+ [TEXT_COLOR__DISABLED]: { color: themeContract.colors.text.disabled },
67
+ [TEXT_COLOR__INVERSE]: { color: themeContract.colors.text.inverse },
68
+ [TEXT_COLOR__INTERACTIVE]: { color: themeContract.colors.text.interactive.default },
69
+ [TEXT_COLOR__SUCCESS]: { color: themeContract.colors.text.success },
70
+ [TEXT_COLOR__WARNING]: { color: themeContract.colors.text.warning },
71
+ [TEXT_COLOR__DANGER]: { color: themeContract.colors.text.error },
72
+ [TEXT_COLOR__INFO]: { color: themeContract.colors.text.info },
73
+ [TEXT_COLOR__BRAND]: { color: themeContract.colors.text.interactive.default },
74
+ [TEXT_COLOR__ACCENT]: { color: themeContract.colors.text.interactive.hover }
75
+ }
76
+ },
77
+ compoundVariants: [
78
+ {
79
+ variants: {
80
+ variant: TEXT_VARIANT__DISPLAY,
81
+ size: TEXT_SIZE__XL,
82
+ weight: TEXT_WEIGHT__LIGHT
83
+ },
84
+ style: {
85
+ fontSize: themeContract.typography.display.xl.light.fontSize,
86
+ fontWeight: themeContract.typography.display.xl.light.fontWeight,
87
+ letterSpacing: themeContract.typography.display.xl.light.letterSpacing,
88
+ lineHeight: themeContract.typography.display.xl.light.lineHeight
89
+ }
90
+ },
91
+ {
92
+ variants: {
93
+ variant: TEXT_VARIANT__DISPLAY,
94
+ size: TEXT_SIZE__XL,
95
+ weight: TEXT_WEIGHT__MEDIUM
96
+ },
97
+ style: {
98
+ fontSize: themeContract.typography.display.xl.medium.fontSize,
99
+ fontWeight: themeContract.typography.display.xl.medium.fontWeight,
100
+ letterSpacing: themeContract.typography.display.xl.medium.letterSpacing,
101
+ lineHeight: themeContract.typography.display.xl.medium.lineHeight
102
+ }
103
+ },
104
+ {
105
+ variants: {
106
+ variant: TEXT_VARIANT__DISPLAY,
107
+ size: TEXT_SIZE__XL,
108
+ weight: TEXT_WEIGHT__BOLD
109
+ },
110
+ style: {
111
+ fontSize: themeContract.typography.display.xl.bold.fontSize,
112
+ fontWeight: themeContract.typography.display.xl.bold.fontWeight,
113
+ letterSpacing: themeContract.typography.display.xl.bold.letterSpacing,
114
+ lineHeight: themeContract.typography.display.xl.bold.lineHeight
115
+ }
116
+ },
117
+ {
118
+ variants: {
119
+ variant: TEXT_VARIANT__DISPLAY,
120
+ size: TEXT_SIZE__LG,
121
+ weight: TEXT_WEIGHT__LIGHT
122
+ },
123
+ style: {
124
+ fontSize: themeContract.typography.display.lg.light.fontSize,
125
+ fontWeight: themeContract.typography.display.lg.light.fontWeight,
126
+ letterSpacing: themeContract.typography.display.lg.light.letterSpacing,
127
+ lineHeight: themeContract.typography.display.lg.light.lineHeight
128
+ }
129
+ },
130
+ {
131
+ variants: {
132
+ variant: TEXT_VARIANT__DISPLAY,
133
+ size: TEXT_SIZE__LG,
134
+ weight: TEXT_WEIGHT__MEDIUM
135
+ },
136
+ style: {
137
+ fontSize: themeContract.typography.display.lg.medium.fontSize,
138
+ fontWeight: themeContract.typography.display.lg.medium.fontWeight,
139
+ letterSpacing: themeContract.typography.display.lg.medium.letterSpacing,
140
+ lineHeight: themeContract.typography.display.lg.medium.lineHeight
141
+ }
142
+ },
143
+ {
144
+ variants: {
145
+ variant: TEXT_VARIANT__DISPLAY,
146
+ size: TEXT_SIZE__LG,
147
+ weight: TEXT_WEIGHT__BOLD
148
+ },
149
+ style: {
150
+ fontSize: themeContract.typography.display.lg.bold.fontSize,
151
+ fontWeight: themeContract.typography.display.lg.bold.fontWeight,
152
+ letterSpacing: themeContract.typography.display.lg.bold.letterSpacing,
153
+ lineHeight: themeContract.typography.display.lg.bold.lineHeight
154
+ }
155
+ },
156
+ {
157
+ variants: {
158
+ variant: TEXT_VARIANT__DISPLAY,
159
+ size: TEXT_SIZE__MD,
160
+ weight: TEXT_WEIGHT__LIGHT
161
+ },
162
+ style: {
163
+ fontSize: themeContract.typography.display.md.light.fontSize,
164
+ fontWeight: themeContract.typography.display.md.light.fontWeight,
165
+ letterSpacing: themeContract.typography.display.md.light.letterSpacing,
166
+ lineHeight: themeContract.typography.display.md.light.lineHeight
167
+ }
168
+ },
169
+ {
170
+ variants: {
171
+ variant: TEXT_VARIANT__DISPLAY,
172
+ size: TEXT_SIZE__MD,
173
+ weight: TEXT_WEIGHT__MEDIUM
174
+ },
175
+ style: {
176
+ fontSize: themeContract.typography.display.md.medium.fontSize,
177
+ fontWeight: themeContract.typography.display.md.medium.fontWeight,
178
+ letterSpacing: themeContract.typography.display.md.medium.letterSpacing,
179
+ lineHeight: themeContract.typography.display.md.medium.lineHeight
180
+ }
181
+ },
182
+ {
183
+ variants: {
184
+ variant: TEXT_VARIANT__DISPLAY,
185
+ size: TEXT_SIZE__MD,
186
+ weight: TEXT_WEIGHT__BOLD
187
+ },
188
+ style: {
189
+ fontSize: themeContract.typography.display.md.bold.fontSize,
190
+ fontWeight: themeContract.typography.display.md.bold.fontWeight,
191
+ letterSpacing: themeContract.typography.display.md.bold.letterSpacing,
192
+ lineHeight: themeContract.typography.display.md.bold.lineHeight
193
+ }
194
+ },
195
+ {
196
+ variants: {
197
+ variant: TEXT_VARIANT__DISPLAY,
198
+ size: TEXT_SIZE__SM,
199
+ weight: TEXT_WEIGHT__LIGHT
200
+ },
201
+ style: {
202
+ fontSize: themeContract.typography.display.sm.light.fontSize,
203
+ fontWeight: themeContract.typography.display.sm.light.fontWeight,
204
+ letterSpacing: themeContract.typography.display.sm.light.letterSpacing,
205
+ lineHeight: themeContract.typography.display.sm.light.lineHeight
206
+ }
207
+ },
208
+ {
209
+ variants: {
210
+ variant: TEXT_VARIANT__DISPLAY,
211
+ size: TEXT_SIZE__SM,
212
+ weight: TEXT_WEIGHT__MEDIUM
213
+ },
214
+ style: {
215
+ fontSize: themeContract.typography.display.sm.medium.fontSize,
216
+ fontWeight: themeContract.typography.display.sm.medium.fontWeight,
217
+ letterSpacing: themeContract.typography.display.sm.medium.letterSpacing,
218
+ lineHeight: themeContract.typography.display.sm.medium.lineHeight
219
+ }
220
+ },
221
+ {
222
+ variants: {
223
+ variant: TEXT_VARIANT__DISPLAY,
224
+ size: TEXT_SIZE__SM,
225
+ weight: TEXT_WEIGHT__BOLD
226
+ },
227
+ style: {
228
+ fontSize: themeContract.typography.display.sm.bold.fontSize,
229
+ fontWeight: themeContract.typography.display.sm.bold.fontWeight,
230
+ letterSpacing: themeContract.typography.display.sm.bold.letterSpacing,
231
+ lineHeight: themeContract.typography.display.sm.bold.lineHeight
232
+ }
233
+ },
234
+ {
235
+ variants: {
236
+ variant: TEXT_VARIANT__HEADING,
237
+ size: TEXT_SIZE__XL,
238
+ weight: TEXT_WEIGHT__LIGHT
239
+ },
240
+ style: {
241
+ fontSize: themeContract.typography.heading.xl.light.fontSize,
242
+ fontWeight: themeContract.typography.heading.xl.light.fontWeight,
243
+ letterSpacing: themeContract.typography.heading.xl.light.letterSpacing,
244
+ lineHeight: themeContract.typography.heading.xl.light.lineHeight
245
+ }
246
+ },
247
+ {
248
+ variants: {
249
+ variant: TEXT_VARIANT__HEADING,
250
+ size: TEXT_SIZE__XL,
251
+ weight: TEXT_WEIGHT__MEDIUM
252
+ },
253
+ style: {
254
+ fontSize: themeContract.typography.heading.xl.medium.fontSize,
255
+ fontWeight: themeContract.typography.heading.xl.medium.fontWeight,
256
+ letterSpacing: themeContract.typography.heading.xl.medium.letterSpacing,
257
+ lineHeight: themeContract.typography.heading.xl.medium.lineHeight
258
+ }
259
+ },
260
+ {
261
+ variants: {
262
+ variant: TEXT_VARIANT__HEADING,
263
+ size: TEXT_SIZE__XL,
264
+ weight: TEXT_WEIGHT__BOLD
265
+ },
266
+ style: {
267
+ fontSize: themeContract.typography.heading.xl.bold.fontSize,
268
+ fontWeight: themeContract.typography.heading.xl.bold.fontWeight,
269
+ letterSpacing: themeContract.typography.heading.xl.bold.letterSpacing,
270
+ lineHeight: themeContract.typography.heading.xl.bold.lineHeight
271
+ }
272
+ },
273
+ {
274
+ variants: {
275
+ variant: TEXT_VARIANT__HEADING,
276
+ size: TEXT_SIZE__LG,
277
+ weight: TEXT_WEIGHT__LIGHT
278
+ },
279
+ style: {
280
+ fontSize: themeContract.typography.heading.lg.light.fontSize,
281
+ fontWeight: themeContract.typography.heading.lg.light.fontWeight,
282
+ letterSpacing: themeContract.typography.heading.lg.light.letterSpacing,
283
+ lineHeight: themeContract.typography.heading.lg.light.lineHeight
284
+ }
285
+ },
286
+ {
287
+ variants: {
288
+ variant: TEXT_VARIANT__HEADING,
289
+ size: TEXT_SIZE__LG,
290
+ weight: TEXT_WEIGHT__MEDIUM
291
+ },
292
+ style: {
293
+ fontSize: themeContract.typography.heading.lg.medium.fontSize,
294
+ fontWeight: themeContract.typography.heading.lg.medium.fontWeight,
295
+ letterSpacing: themeContract.typography.heading.lg.medium.letterSpacing,
296
+ lineHeight: themeContract.typography.heading.lg.medium.lineHeight
297
+ }
298
+ },
299
+ {
300
+ variants: {
301
+ variant: TEXT_VARIANT__HEADING,
302
+ size: TEXT_SIZE__LG,
303
+ weight: TEXT_WEIGHT__BOLD
304
+ },
305
+ style: {
306
+ fontSize: themeContract.typography.heading.lg.bold.fontSize,
307
+ fontWeight: themeContract.typography.heading.lg.bold.fontWeight,
308
+ letterSpacing: themeContract.typography.heading.lg.bold.letterSpacing,
309
+ lineHeight: themeContract.typography.heading.lg.bold.lineHeight
310
+ }
311
+ },
312
+ {
313
+ variants: {
314
+ variant: TEXT_VARIANT__HEADING,
315
+ size: TEXT_SIZE__MD,
316
+ weight: TEXT_WEIGHT__LIGHT
317
+ },
318
+ style: {
319
+ fontSize: themeContract.typography.heading.md.light.fontSize,
320
+ fontWeight: themeContract.typography.heading.md.light.fontWeight,
321
+ letterSpacing: themeContract.typography.heading.md.light.letterSpacing,
322
+ lineHeight: themeContract.typography.heading.md.light.lineHeight
323
+ }
324
+ },
325
+ {
326
+ variants: {
327
+ variant: TEXT_VARIANT__HEADING,
328
+ size: TEXT_SIZE__MD,
329
+ weight: TEXT_WEIGHT__MEDIUM
330
+ },
331
+ style: {
332
+ fontSize: themeContract.typography.heading.md.medium.fontSize,
333
+ fontWeight: themeContract.typography.heading.md.medium.fontWeight,
334
+ letterSpacing: themeContract.typography.heading.md.medium.letterSpacing,
335
+ lineHeight: themeContract.typography.heading.md.medium.lineHeight
336
+ }
337
+ },
338
+ {
339
+ variants: {
340
+ variant: TEXT_VARIANT__HEADING,
341
+ size: TEXT_SIZE__MD,
342
+ weight: TEXT_WEIGHT__BOLD
343
+ },
344
+ style: {
345
+ fontSize: themeContract.typography.heading.md.bold.fontSize,
346
+ fontWeight: themeContract.typography.heading.md.bold.fontWeight,
347
+ letterSpacing: themeContract.typography.heading.md.bold.letterSpacing,
348
+ lineHeight: themeContract.typography.heading.md.bold.lineHeight
349
+ }
350
+ },
351
+ {
352
+ variants: {
353
+ variant: TEXT_VARIANT__HEADING,
354
+ size: TEXT_SIZE__SM,
355
+ weight: TEXT_WEIGHT__LIGHT
356
+ },
357
+ style: {
358
+ fontSize: themeContract.typography.heading.sm.light.fontSize,
359
+ fontWeight: themeContract.typography.heading.sm.light.fontWeight,
360
+ letterSpacing: themeContract.typography.heading.sm.light.letterSpacing,
361
+ lineHeight: themeContract.typography.heading.sm.light.lineHeight
362
+ }
363
+ },
364
+ {
365
+ variants: {
366
+ variant: TEXT_VARIANT__HEADING,
367
+ size: TEXT_SIZE__SM,
368
+ weight: TEXT_WEIGHT__MEDIUM
369
+ },
370
+ style: {
371
+ fontSize: themeContract.typography.heading.sm.medium.fontSize,
372
+ fontWeight: themeContract.typography.heading.sm.medium.fontWeight,
373
+ letterSpacing: themeContract.typography.heading.sm.medium.letterSpacing,
374
+ lineHeight: themeContract.typography.heading.sm.medium.lineHeight
375
+ }
376
+ },
377
+ {
378
+ variants: {
379
+ variant: TEXT_VARIANT__HEADING,
380
+ size: TEXT_SIZE__SM,
381
+ weight: TEXT_WEIGHT__BOLD
382
+ },
383
+ style: {
384
+ fontSize: themeContract.typography.heading.sm.bold.fontSize,
385
+ fontWeight: themeContract.typography.heading.sm.bold.fontWeight,
386
+ letterSpacing: themeContract.typography.heading.sm.bold.letterSpacing,
387
+ lineHeight: themeContract.typography.heading.sm.bold.lineHeight
388
+ }
389
+ },
390
+ {
391
+ variants: {
392
+ variant: TEXT_VARIANT__SUBHEADING,
393
+ size: TEXT_SIZE__XL,
394
+ weight: TEXT_WEIGHT__LIGHT
395
+ },
396
+ style: {
397
+ fontSize: themeContract.typography.subheading.xl.light.fontSize,
398
+ fontWeight: themeContract.typography.subheading.xl.light.fontWeight,
399
+ letterSpacing: themeContract.typography.subheading.xl.light.letterSpacing,
400
+ lineHeight: themeContract.typography.subheading.xl.light.lineHeight
401
+ }
402
+ },
403
+ {
404
+ variants: {
405
+ variant: TEXT_VARIANT__SUBHEADING,
406
+ size: TEXT_SIZE__XL,
407
+ weight: TEXT_WEIGHT__MEDIUM
408
+ },
409
+ style: {
410
+ fontSize: themeContract.typography.subheading.xl.medium.fontSize,
411
+ fontWeight: themeContract.typography.subheading.xl.medium.fontWeight,
412
+ letterSpacing: themeContract.typography.subheading.xl.medium.letterSpacing,
413
+ lineHeight: themeContract.typography.subheading.xl.medium.lineHeight
414
+ }
415
+ },
416
+ {
417
+ variants: {
418
+ variant: TEXT_VARIANT__SUBHEADING,
419
+ size: TEXT_SIZE__XL,
420
+ weight: TEXT_WEIGHT__BOLD
421
+ },
422
+ style: {
423
+ fontSize: themeContract.typography.subheading.xl.bold.fontSize,
424
+ fontWeight: themeContract.typography.subheading.xl.bold.fontWeight,
425
+ letterSpacing: themeContract.typography.subheading.xl.bold.letterSpacing,
426
+ lineHeight: themeContract.typography.subheading.xl.bold.lineHeight
427
+ }
428
+ },
429
+ {
430
+ variants: {
431
+ variant: TEXT_VARIANT__SUBHEADING,
432
+ size: TEXT_SIZE__LG,
433
+ weight: TEXT_WEIGHT__LIGHT
434
+ },
435
+ style: {
436
+ fontSize: themeContract.typography.subheading.lg.light.fontSize,
437
+ fontWeight: themeContract.typography.subheading.lg.light.fontWeight,
438
+ letterSpacing: themeContract.typography.subheading.lg.light.letterSpacing,
439
+ lineHeight: themeContract.typography.subheading.lg.light.lineHeight
440
+ }
441
+ },
442
+ {
443
+ variants: {
444
+ variant: TEXT_VARIANT__SUBHEADING,
445
+ size: TEXT_SIZE__LG,
446
+ weight: TEXT_WEIGHT__MEDIUM
447
+ },
448
+ style: {
449
+ fontSize: themeContract.typography.subheading.lg.medium.fontSize,
450
+ fontWeight: themeContract.typography.subheading.lg.medium.fontWeight,
451
+ letterSpacing: themeContract.typography.subheading.lg.medium.letterSpacing,
452
+ lineHeight: themeContract.typography.subheading.lg.medium.lineHeight
453
+ }
454
+ },
455
+ {
456
+ variants: {
457
+ variant: TEXT_VARIANT__SUBHEADING,
458
+ size: TEXT_SIZE__LG,
459
+ weight: TEXT_WEIGHT__BOLD
460
+ },
461
+ style: {
462
+ fontSize: themeContract.typography.subheading.lg.bold.fontSize,
463
+ fontWeight: themeContract.typography.subheading.lg.bold.fontWeight,
464
+ letterSpacing: themeContract.typography.subheading.lg.bold.letterSpacing,
465
+ lineHeight: themeContract.typography.subheading.lg.bold.lineHeight
466
+ }
467
+ },
468
+ {
469
+ variants: {
470
+ variant: TEXT_VARIANT__SUBHEADING,
471
+ size: TEXT_SIZE__MD,
472
+ weight: TEXT_WEIGHT__LIGHT
473
+ },
474
+ style: {
475
+ fontSize: themeContract.typography.subheading.md.light.fontSize,
476
+ fontWeight: themeContract.typography.subheading.md.light.fontWeight,
477
+ letterSpacing: themeContract.typography.subheading.md.light.letterSpacing,
478
+ lineHeight: themeContract.typography.subheading.md.light.lineHeight
479
+ }
480
+ },
481
+ {
482
+ variants: {
483
+ variant: TEXT_VARIANT__SUBHEADING,
484
+ size: TEXT_SIZE__MD,
485
+ weight: TEXT_WEIGHT__MEDIUM
486
+ },
487
+ style: {
488
+ fontSize: themeContract.typography.subheading.md.medium.fontSize,
489
+ fontWeight: themeContract.typography.subheading.md.medium.fontWeight,
490
+ letterSpacing: themeContract.typography.subheading.md.medium.letterSpacing,
491
+ lineHeight: themeContract.typography.subheading.md.medium.lineHeight
492
+ }
493
+ },
494
+ {
495
+ variants: {
496
+ variant: TEXT_VARIANT__SUBHEADING,
497
+ size: TEXT_SIZE__MD,
498
+ weight: TEXT_WEIGHT__BOLD
499
+ },
500
+ style: {
501
+ fontSize: themeContract.typography.subheading.md.bold.fontSize,
502
+ fontWeight: themeContract.typography.subheading.md.bold.fontWeight,
503
+ letterSpacing: themeContract.typography.subheading.md.bold.letterSpacing,
504
+ lineHeight: themeContract.typography.subheading.md.bold.lineHeight
505
+ }
506
+ },
507
+ {
508
+ variants: {
509
+ variant: TEXT_VARIANT__SUBHEADING,
510
+ size: TEXT_SIZE__SM,
511
+ weight: TEXT_WEIGHT__LIGHT
512
+ },
513
+ style: {
514
+ fontSize: themeContract.typography.subheading.sm.light.fontSize,
515
+ fontWeight: themeContract.typography.subheading.sm.light.fontWeight,
516
+ letterSpacing: themeContract.typography.subheading.sm.light.letterSpacing,
517
+ lineHeight: themeContract.typography.subheading.sm.light.lineHeight
518
+ }
519
+ },
520
+ {
521
+ variants: {
522
+ variant: TEXT_VARIANT__SUBHEADING,
523
+ size: TEXT_SIZE__SM,
524
+ weight: TEXT_WEIGHT__MEDIUM
525
+ },
526
+ style: {
527
+ fontSize: themeContract.typography.subheading.sm.medium.fontSize,
528
+ fontWeight: themeContract.typography.subheading.sm.medium.fontWeight,
529
+ letterSpacing: themeContract.typography.subheading.sm.medium.letterSpacing,
530
+ lineHeight: themeContract.typography.subheading.sm.medium.lineHeight
531
+ }
532
+ },
533
+ {
534
+ variants: {
535
+ variant: TEXT_VARIANT__SUBHEADING,
536
+ size: TEXT_SIZE__SM,
537
+ weight: TEXT_WEIGHT__BOLD
538
+ },
539
+ style: {
540
+ fontSize: themeContract.typography.subheading.sm.bold.fontSize,
541
+ fontWeight: themeContract.typography.subheading.sm.bold.fontWeight,
542
+ letterSpacing: themeContract.typography.subheading.sm.bold.letterSpacing,
543
+ lineHeight: themeContract.typography.subheading.sm.bold.lineHeight
544
+ }
545
+ },
546
+ {
547
+ variants: {
548
+ variant: TEXT_VARIANT__BODY,
549
+ size: TEXT_SIZE__XL,
550
+ weight: TEXT_WEIGHT__LIGHT
551
+ },
552
+ style: {
553
+ fontSize: themeContract.typography.body.xl.light.fontSize,
554
+ fontWeight: themeContract.typography.body.xl.light.fontWeight,
555
+ letterSpacing: themeContract.typography.body.xl.light.letterSpacing,
556
+ lineHeight: themeContract.typography.body.xl.light.lineHeight
557
+ }
558
+ },
559
+ {
560
+ variants: {
561
+ variant: TEXT_VARIANT__BODY,
562
+ size: TEXT_SIZE__XL,
563
+ weight: TEXT_WEIGHT__MEDIUM
564
+ },
565
+ style: {
566
+ fontSize: themeContract.typography.body.xl.medium.fontSize,
567
+ fontWeight: themeContract.typography.body.xl.medium.fontWeight,
568
+ letterSpacing: themeContract.typography.body.xl.medium.letterSpacing,
569
+ lineHeight: themeContract.typography.body.xl.medium.lineHeight
570
+ }
571
+ },
572
+ {
573
+ variants: {
574
+ variant: TEXT_VARIANT__BODY,
575
+ size: TEXT_SIZE__XL,
576
+ weight: TEXT_WEIGHT__BOLD
577
+ },
578
+ style: {
579
+ fontSize: themeContract.typography.body.xl.bold.fontSize,
580
+ fontWeight: themeContract.typography.body.xl.bold.fontWeight,
581
+ letterSpacing: themeContract.typography.body.xl.bold.letterSpacing,
582
+ lineHeight: themeContract.typography.body.xl.bold.lineHeight
583
+ }
584
+ },
585
+ {
586
+ variants: {
587
+ variant: TEXT_VARIANT__BODY,
588
+ size: TEXT_SIZE__LG,
589
+ weight: TEXT_WEIGHT__LIGHT
590
+ },
591
+ style: {
592
+ fontSize: themeContract.typography.body.lg.light.fontSize,
593
+ fontWeight: themeContract.typography.body.lg.light.fontWeight,
594
+ letterSpacing: themeContract.typography.body.lg.light.letterSpacing,
595
+ lineHeight: themeContract.typography.body.lg.light.lineHeight
596
+ }
597
+ },
598
+ {
599
+ variants: {
600
+ variant: TEXT_VARIANT__BODY,
601
+ size: TEXT_SIZE__LG,
602
+ weight: TEXT_WEIGHT__MEDIUM
603
+ },
604
+ style: {
605
+ fontSize: themeContract.typography.body.lg.medium.fontSize,
606
+ fontWeight: themeContract.typography.body.lg.medium.fontWeight,
607
+ letterSpacing: themeContract.typography.body.lg.medium.letterSpacing,
608
+ lineHeight: themeContract.typography.body.lg.medium.lineHeight
609
+ }
610
+ },
611
+ {
612
+ variants: {
613
+ variant: TEXT_VARIANT__BODY,
614
+ size: TEXT_SIZE__LG,
615
+ weight: TEXT_WEIGHT__BOLD
616
+ },
617
+ style: {
618
+ fontSize: themeContract.typography.body.lg.bold.fontSize,
619
+ fontWeight: themeContract.typography.body.lg.bold.fontWeight,
620
+ letterSpacing: themeContract.typography.body.lg.bold.letterSpacing,
621
+ lineHeight: themeContract.typography.body.lg.bold.lineHeight
622
+ }
623
+ },
624
+ {
625
+ variants: {
626
+ variant: TEXT_VARIANT__BODY,
627
+ size: TEXT_SIZE__MD,
628
+ weight: TEXT_WEIGHT__LIGHT
629
+ },
630
+ style: {
631
+ fontSize: themeContract.typography.body.md.light.fontSize,
632
+ fontWeight: themeContract.typography.body.md.light.fontWeight,
633
+ letterSpacing: themeContract.typography.body.md.light.letterSpacing,
634
+ lineHeight: themeContract.typography.body.md.light.lineHeight
635
+ }
636
+ },
637
+ {
638
+ variants: {
639
+ variant: TEXT_VARIANT__BODY,
640
+ size: TEXT_SIZE__MD,
641
+ weight: TEXT_WEIGHT__MEDIUM
642
+ },
643
+ style: {
644
+ fontSize: themeContract.typography.body.md.medium.fontSize,
645
+ fontWeight: themeContract.typography.body.md.medium.fontWeight,
646
+ letterSpacing: themeContract.typography.body.md.medium.letterSpacing,
647
+ lineHeight: themeContract.typography.body.md.medium.lineHeight
648
+ }
649
+ },
650
+ {
651
+ variants: {
652
+ variant: TEXT_VARIANT__BODY,
653
+ size: TEXT_SIZE__MD,
654
+ weight: TEXT_WEIGHT__BOLD
655
+ },
656
+ style: {
657
+ fontSize: themeContract.typography.body.md.bold.fontSize,
658
+ fontWeight: themeContract.typography.body.md.bold.fontWeight,
659
+ letterSpacing: themeContract.typography.body.md.bold.letterSpacing,
660
+ lineHeight: themeContract.typography.body.md.bold.lineHeight
661
+ }
662
+ },
663
+ {
664
+ variants: {
665
+ variant: TEXT_VARIANT__BODY,
666
+ size: TEXT_SIZE__SM,
667
+ weight: TEXT_WEIGHT__LIGHT
668
+ },
669
+ style: {
670
+ fontSize: themeContract.typography.body.sm.light.fontSize,
671
+ fontWeight: themeContract.typography.body.sm.light.fontWeight,
672
+ letterSpacing: themeContract.typography.body.sm.light.letterSpacing,
673
+ lineHeight: themeContract.typography.body.sm.light.lineHeight
674
+ }
675
+ },
676
+ {
677
+ variants: {
678
+ variant: TEXT_VARIANT__BODY,
679
+ size: TEXT_SIZE__SM,
680
+ weight: TEXT_WEIGHT__MEDIUM
681
+ },
682
+ style: {
683
+ fontSize: themeContract.typography.body.sm.medium.fontSize,
684
+ fontWeight: themeContract.typography.body.sm.medium.fontWeight,
685
+ letterSpacing: themeContract.typography.body.sm.medium.letterSpacing,
686
+ lineHeight: themeContract.typography.body.sm.medium.lineHeight
687
+ }
688
+ },
689
+ {
690
+ variants: {
691
+ variant: TEXT_VARIANT__BODY,
692
+ size: TEXT_SIZE__SM,
693
+ weight: TEXT_WEIGHT__BOLD
694
+ },
695
+ style: {
696
+ fontSize: themeContract.typography.body.sm.bold.fontSize,
697
+ fontWeight: themeContract.typography.body.sm.bold.fontWeight,
698
+ letterSpacing: themeContract.typography.body.sm.bold.letterSpacing,
699
+ lineHeight: themeContract.typography.body.sm.bold.lineHeight
700
+ }
701
+ },
702
+ {
703
+ variants: {
704
+ variant: TEXT_VARIANT__CAPTION,
705
+ size: TEXT_SIZE__XL,
706
+ weight: TEXT_WEIGHT__LIGHT
707
+ },
708
+ style: {
709
+ fontSize: themeContract.typography.caption.xl.light.fontSize,
710
+ fontWeight: themeContract.typography.caption.xl.light.fontWeight,
711
+ letterSpacing: themeContract.typography.caption.xl.light.letterSpacing,
712
+ lineHeight: themeContract.typography.caption.xl.light.lineHeight
713
+ }
714
+ },
715
+ {
716
+ variants: {
717
+ variant: TEXT_VARIANT__CAPTION,
718
+ size: TEXT_SIZE__XL,
719
+ weight: TEXT_WEIGHT__MEDIUM
720
+ },
721
+ style: {
722
+ fontSize: themeContract.typography.caption.xl.medium.fontSize,
723
+ fontWeight: themeContract.typography.caption.xl.medium.fontWeight,
724
+ letterSpacing: themeContract.typography.caption.xl.medium.letterSpacing,
725
+ lineHeight: themeContract.typography.caption.xl.medium.lineHeight
726
+ }
727
+ },
728
+ {
729
+ variants: {
730
+ variant: TEXT_VARIANT__CAPTION,
731
+ size: TEXT_SIZE__XL,
732
+ weight: TEXT_WEIGHT__BOLD
733
+ },
734
+ style: {
735
+ fontSize: themeContract.typography.caption.xl.bold.fontSize,
736
+ fontWeight: themeContract.typography.caption.xl.bold.fontWeight,
737
+ letterSpacing: themeContract.typography.caption.xl.bold.letterSpacing,
738
+ lineHeight: themeContract.typography.caption.xl.bold.lineHeight
739
+ }
740
+ },
741
+ {
742
+ variants: {
743
+ variant: TEXT_VARIANT__CAPTION,
744
+ size: TEXT_SIZE__LG,
745
+ weight: TEXT_WEIGHT__LIGHT
746
+ },
747
+ style: {
748
+ fontSize: themeContract.typography.caption.lg.light.fontSize,
749
+ fontWeight: themeContract.typography.caption.lg.light.fontWeight,
750
+ letterSpacing: themeContract.typography.caption.lg.light.letterSpacing,
751
+ lineHeight: themeContract.typography.caption.lg.light.lineHeight
752
+ }
753
+ },
754
+ {
755
+ variants: {
756
+ variant: TEXT_VARIANT__CAPTION,
757
+ size: TEXT_SIZE__LG,
758
+ weight: TEXT_WEIGHT__MEDIUM
759
+ },
760
+ style: {
761
+ fontSize: themeContract.typography.caption.lg.medium.fontSize,
762
+ fontWeight: themeContract.typography.caption.lg.medium.fontWeight,
763
+ letterSpacing: themeContract.typography.caption.lg.medium.letterSpacing,
764
+ lineHeight: themeContract.typography.caption.lg.medium.lineHeight
765
+ }
766
+ },
767
+ {
768
+ variants: {
769
+ variant: TEXT_VARIANT__CAPTION,
770
+ size: TEXT_SIZE__LG,
771
+ weight: TEXT_WEIGHT__BOLD
772
+ },
773
+ style: {
774
+ fontSize: themeContract.typography.caption.lg.bold.fontSize,
775
+ fontWeight: themeContract.typography.caption.lg.bold.fontWeight,
776
+ letterSpacing: themeContract.typography.caption.lg.bold.letterSpacing,
777
+ lineHeight: themeContract.typography.caption.lg.bold.lineHeight
778
+ }
779
+ },
780
+ {
781
+ variants: {
782
+ variant: TEXT_VARIANT__CAPTION,
783
+ size: TEXT_SIZE__MD,
784
+ weight: TEXT_WEIGHT__LIGHT
785
+ },
786
+ style: {
787
+ fontSize: themeContract.typography.caption.md.light.fontSize,
788
+ fontWeight: themeContract.typography.caption.md.light.fontWeight,
789
+ letterSpacing: themeContract.typography.caption.md.light.letterSpacing,
790
+ lineHeight: themeContract.typography.caption.md.light.lineHeight
791
+ }
792
+ },
793
+ {
794
+ variants: {
795
+ variant: TEXT_VARIANT__CAPTION,
796
+ size: TEXT_SIZE__MD,
797
+ weight: TEXT_WEIGHT__MEDIUM
798
+ },
799
+ style: {
800
+ fontSize: themeContract.typography.caption.md.medium.fontSize,
801
+ fontWeight: themeContract.typography.caption.md.medium.fontWeight,
802
+ letterSpacing: themeContract.typography.caption.md.medium.letterSpacing,
803
+ lineHeight: themeContract.typography.caption.md.medium.lineHeight
804
+ }
805
+ },
806
+ {
807
+ variants: {
808
+ variant: TEXT_VARIANT__CAPTION,
809
+ size: TEXT_SIZE__MD,
810
+ weight: TEXT_WEIGHT__BOLD
811
+ },
812
+ style: {
813
+ fontSize: themeContract.typography.caption.md.bold.fontSize,
814
+ fontWeight: themeContract.typography.caption.md.bold.fontWeight,
815
+ letterSpacing: themeContract.typography.caption.md.bold.letterSpacing,
816
+ lineHeight: themeContract.typography.caption.md.bold.lineHeight
817
+ }
818
+ },
819
+ {
820
+ variants: {
821
+ variant: TEXT_VARIANT__CAPTION,
822
+ size: TEXT_SIZE__SM,
823
+ weight: TEXT_WEIGHT__LIGHT
824
+ },
825
+ style: {
826
+ fontSize: themeContract.typography.caption.sm.light.fontSize,
827
+ fontWeight: themeContract.typography.caption.sm.light.fontWeight,
828
+ letterSpacing: themeContract.typography.caption.sm.light.letterSpacing,
829
+ lineHeight: themeContract.typography.caption.sm.light.lineHeight
830
+ }
831
+ },
832
+ {
833
+ variants: {
834
+ variant: TEXT_VARIANT__CAPTION,
835
+ size: TEXT_SIZE__SM,
836
+ weight: TEXT_WEIGHT__MEDIUM
837
+ },
838
+ style: {
839
+ fontSize: themeContract.typography.caption.sm.medium.fontSize,
840
+ fontWeight: themeContract.typography.caption.sm.medium.fontWeight,
841
+ letterSpacing: themeContract.typography.caption.sm.medium.letterSpacing,
842
+ lineHeight: themeContract.typography.caption.sm.medium.lineHeight
843
+ }
844
+ },
845
+ {
846
+ variants: {
847
+ variant: TEXT_VARIANT__CAPTION,
848
+ size: TEXT_SIZE__SM,
849
+ weight: TEXT_WEIGHT__BOLD
850
+ },
851
+ style: {
852
+ fontSize: themeContract.typography.caption.sm.bold.fontSize,
853
+ fontWeight: themeContract.typography.caption.sm.bold.fontWeight,
854
+ letterSpacing: themeContract.typography.caption.sm.bold.letterSpacing,
855
+ lineHeight: themeContract.typography.caption.sm.bold.lineHeight
856
+ }
857
+ },
858
+ {
859
+ variants: {
860
+ variant: TEXT_VARIANT__LABEL,
861
+ size: TEXT_SIZE__XL,
862
+ weight: TEXT_WEIGHT__LIGHT
863
+ },
864
+ style: {
865
+ fontSize: themeContract.typography.label.xl.light.fontSize,
866
+ fontWeight: themeContract.typography.label.xl.light.fontWeight,
867
+ letterSpacing: themeContract.typography.label.xl.light.letterSpacing,
868
+ lineHeight: themeContract.typography.label.xl.light.lineHeight
869
+ }
870
+ },
871
+ {
872
+ variants: {
873
+ variant: TEXT_VARIANT__LABEL,
874
+ size: TEXT_SIZE__XL,
875
+ weight: TEXT_WEIGHT__MEDIUM
876
+ },
877
+ style: {
878
+ fontSize: themeContract.typography.label.xl.medium.fontSize,
879
+ fontWeight: themeContract.typography.label.xl.medium.fontWeight,
880
+ letterSpacing: themeContract.typography.label.xl.medium.letterSpacing,
881
+ lineHeight: themeContract.typography.label.xl.medium.lineHeight
882
+ }
883
+ },
884
+ {
885
+ variants: {
886
+ variant: TEXT_VARIANT__LABEL,
887
+ size: TEXT_SIZE__XL,
888
+ weight: TEXT_WEIGHT__BOLD
889
+ },
890
+ style: {
891
+ fontSize: themeContract.typography.label.xl.bold.fontSize,
892
+ fontWeight: themeContract.typography.label.xl.bold.fontWeight,
893
+ letterSpacing: themeContract.typography.label.xl.bold.letterSpacing,
894
+ lineHeight: themeContract.typography.label.xl.bold.lineHeight
895
+ }
896
+ },
897
+ {
898
+ variants: {
899
+ variant: TEXT_VARIANT__LABEL,
900
+ size: TEXT_SIZE__LG,
901
+ weight: TEXT_WEIGHT__LIGHT
902
+ },
903
+ style: {
904
+ fontSize: themeContract.typography.label.lg.light.fontSize,
905
+ fontWeight: themeContract.typography.label.lg.light.fontWeight,
906
+ letterSpacing: themeContract.typography.label.lg.light.letterSpacing,
907
+ lineHeight: themeContract.typography.label.lg.light.lineHeight
908
+ }
909
+ },
910
+ {
911
+ variants: {
912
+ variant: TEXT_VARIANT__LABEL,
913
+ size: TEXT_SIZE__LG,
914
+ weight: TEXT_WEIGHT__MEDIUM
915
+ },
916
+ style: {
917
+ fontSize: themeContract.typography.label.lg.medium.fontSize,
918
+ fontWeight: themeContract.typography.label.lg.medium.fontWeight,
919
+ letterSpacing: themeContract.typography.label.lg.medium.letterSpacing,
920
+ lineHeight: themeContract.typography.label.lg.medium.lineHeight
921
+ }
922
+ },
923
+ {
924
+ variants: {
925
+ variant: TEXT_VARIANT__LABEL,
926
+ size: TEXT_SIZE__LG,
927
+ weight: TEXT_WEIGHT__BOLD
928
+ },
929
+ style: {
930
+ fontSize: themeContract.typography.label.lg.bold.fontSize,
931
+ fontWeight: themeContract.typography.label.lg.bold.fontWeight,
932
+ letterSpacing: themeContract.typography.label.lg.bold.letterSpacing,
933
+ lineHeight: themeContract.typography.label.lg.bold.lineHeight
934
+ }
935
+ },
936
+ {
937
+ variants: {
938
+ variant: TEXT_VARIANT__LABEL,
939
+ size: TEXT_SIZE__MD,
940
+ weight: TEXT_WEIGHT__LIGHT
941
+ },
942
+ style: {
943
+ fontSize: themeContract.typography.label.md.light.fontSize,
944
+ fontWeight: themeContract.typography.label.md.light.fontWeight,
945
+ letterSpacing: themeContract.typography.label.md.light.letterSpacing,
946
+ lineHeight: themeContract.typography.label.md.light.lineHeight
947
+ }
948
+ },
949
+ {
950
+ variants: {
951
+ variant: TEXT_VARIANT__LABEL,
952
+ size: TEXT_SIZE__MD,
953
+ weight: TEXT_WEIGHT__MEDIUM
954
+ },
955
+ style: {
956
+ fontSize: themeContract.typography.label.md.medium.fontSize,
957
+ fontWeight: themeContract.typography.label.md.medium.fontWeight,
958
+ letterSpacing: themeContract.typography.label.md.medium.letterSpacing,
959
+ lineHeight: themeContract.typography.label.md.medium.lineHeight
960
+ }
961
+ },
962
+ {
963
+ variants: {
964
+ variant: TEXT_VARIANT__LABEL,
965
+ size: TEXT_SIZE__MD,
966
+ weight: TEXT_WEIGHT__BOLD
967
+ },
968
+ style: {
969
+ fontSize: themeContract.typography.label.md.bold.fontSize,
970
+ fontWeight: themeContract.typography.label.md.bold.fontWeight,
971
+ letterSpacing: themeContract.typography.label.md.bold.letterSpacing,
972
+ lineHeight: themeContract.typography.label.md.bold.lineHeight
973
+ }
974
+ },
975
+ {
976
+ variants: {
977
+ variant: TEXT_VARIANT__LABEL,
978
+ size: TEXT_SIZE__SM,
979
+ weight: TEXT_WEIGHT__LIGHT
980
+ },
981
+ style: {
982
+ fontSize: themeContract.typography.label.sm.light.fontSize,
983
+ fontWeight: themeContract.typography.label.sm.light.fontWeight,
984
+ letterSpacing: themeContract.typography.label.sm.light.letterSpacing,
985
+ lineHeight: themeContract.typography.label.sm.light.lineHeight
986
+ }
987
+ },
988
+ {
989
+ variants: {
990
+ variant: TEXT_VARIANT__LABEL,
991
+ size: TEXT_SIZE__SM,
992
+ weight: TEXT_WEIGHT__MEDIUM
993
+ },
994
+ style: {
995
+ fontSize: themeContract.typography.label.sm.medium.fontSize,
996
+ fontWeight: themeContract.typography.label.sm.medium.fontWeight,
997
+ letterSpacing: themeContract.typography.label.sm.medium.letterSpacing,
998
+ lineHeight: themeContract.typography.label.sm.medium.lineHeight
999
+ }
1000
+ },
1001
+ {
1002
+ variants: {
1003
+ variant: TEXT_VARIANT__LABEL,
1004
+ size: TEXT_SIZE__SM,
1005
+ weight: TEXT_WEIGHT__BOLD
1006
+ },
1007
+ style: {
1008
+ fontSize: themeContract.typography.label.sm.bold.fontSize,
1009
+ fontWeight: themeContract.typography.label.sm.bold.fontWeight,
1010
+ letterSpacing: themeContract.typography.label.sm.bold.letterSpacing,
1011
+ lineHeight: themeContract.typography.label.sm.bold.lineHeight
1012
+ }
1013
+ }
1014
+ ]
1015
+ });
1016
+
1017
+ //#endregion
1018
+ export { TEXT_COLOR__ACCENT, TEXT_COLOR__BRAND, TEXT_COLOR__DANGER, TEXT_COLOR__DISABLED, TEXT_COLOR__INFO, TEXT_COLOR__INTERACTIVE, TEXT_COLOR__INVERSE, TEXT_COLOR__MUTED, TEXT_COLOR__PRIMARY, TEXT_COLOR__SECONDARY, TEXT_COLOR__SUCCESS, TEXT_COLOR__WARNING, TEXT_SIZE__LG, TEXT_SIZE__MD, TEXT_SIZE__SM, TEXT_SIZE__XL, TEXT_VARIANT__BODY, TEXT_VARIANT__CAPTION, TEXT_VARIANT__DISPLAY, TEXT_VARIANT__HEADING, TEXT_VARIANT__LABEL, TEXT_VARIANT__SUBHEADING, TEXT_WEIGHT__BOLD, TEXT_WEIGHT__LIGHT, TEXT_WEIGHT__MEDIUM, textVariants };
1019
+ //# sourceMappingURL=text.css.js.map