@webority/tokens 0.0.0-stage → 0.90.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 (140) hide show
  1. package/LICENSE +5 -0
  2. package/dist/_virtual/_rolldown/runtime.js +1 -0
  3. package/dist/brand.d.ts +33 -0
  4. package/dist/brand.js +2 -0
  5. package/dist/build.js +5 -0
  6. package/dist/canvas/renames.json +159 -0
  7. package/dist/canvas/webority-phone.json +763 -0
  8. package/dist/canvas/webority-web-390.json +423 -0
  9. package/dist/canvas/webority-web.json +423 -0
  10. package/dist/canvas-renames.js +1 -0
  11. package/dist/check.js +2 -0
  12. package/dist/cli.d.ts +91 -0
  13. package/dist/cli.js +2 -0
  14. package/dist/deviations.js +1 -0
  15. package/dist/emit/canvas.js +1 -0
  16. package/dist/emit/email.js +2 -0
  17. package/dist/emit/meanings.js +1 -0
  18. package/dist/emit/phone.js +3 -0
  19. package/dist/emit/web.js +23 -0
  20. package/dist/index.d.ts +7 -0
  21. package/dist/index.js +1 -0
  22. package/dist/meanings.json +879 -0
  23. package/dist/model/colour.js +1 -0
  24. package/dist/model/derive.js +1 -0
  25. package/dist/model/index.js +1 -0
  26. package/dist/model/length.js +1 -0
  27. package/dist/model/load.js +1 -0
  28. package/dist/model/references.js +1 -0
  29. package/dist/model/resolve.js +2 -0
  30. package/dist/names.d.ts +13 -0
  31. package/dist/names.js +1 -0
  32. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2020.js +1 -0
  33. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js +1 -0
  34. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js +2 -0
  35. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js +1 -0
  36. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js +1 -0
  37. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js +1 -0
  38. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js +1 -0
  39. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js +1 -0
  40. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js +1 -0
  41. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js +1 -0
  42. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js +1 -0
  43. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js +1 -0
  44. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js +1 -0
  45. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js +4 -0
  46. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js +1 -0
  47. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js +1 -0
  48. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js +1 -0
  49. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js +1 -0
  50. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js +1 -0
  51. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.js +1 -0
  52. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +1 -0
  53. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.js +1 -0
  54. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.js +1 -0
  55. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.js +1 -0
  56. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.js +1 -0
  57. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.js +1 -0
  58. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.js +1 -0
  59. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.js +1 -0
  60. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/schema.js +1 -0
  61. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js +1 -0
  62. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js +1 -0
  63. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js +1 -0
  64. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js +1 -0
  65. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +1 -0
  66. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +1 -0
  67. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +1 -0
  68. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +1 -0
  69. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +1 -0
  70. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +4 -0
  71. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +1 -0
  72. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js +1 -0
  73. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js +1 -0
  74. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js +1 -0
  75. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +1 -0
  76. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js +1 -0
  77. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +1 -0
  78. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +1 -0
  79. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +1 -0
  80. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +1 -0
  81. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +1 -0
  82. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +1 -0
  83. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js +1 -0
  84. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js +1 -0
  85. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js +1 -0
  86. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js +1 -0
  87. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +1 -0
  88. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +1 -0
  89. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft2020.js +1 -0
  90. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +1 -0
  91. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +1 -0
  92. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/index.js +1 -0
  93. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +1 -0
  94. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +1 -0
  95. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js +1 -0
  96. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js +1 -0
  97. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js +1 -0
  98. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/next.js +1 -0
  99. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js +1 -0
  100. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +1 -0
  101. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +1 -0
  102. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js +1 -0
  103. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +1 -0
  104. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js +1 -0
  105. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js +1 -0
  106. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js +1 -0
  107. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +1 -0
  108. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +1 -0
  109. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +1 -0
  110. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +1 -0
  111. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +1 -0
  112. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +1 -0
  113. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js +1 -0
  114. package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +1 -0
  115. package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +1 -0
  116. package/dist/node_modules/.pnpm/fast-uri@3.1.9/node_modules/fast-uri/index.js +1 -0
  117. package/dist/node_modules/.pnpm/fast-uri@3.1.9/node_modules/fast-uri/lib/schemes.js +1 -0
  118. package/dist/node_modules/.pnpm/fast-uri@3.1.9/node_modules/fast-uri/lib/utils.js +1 -0
  119. package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +1 -0
  120. package/dist/outputs.d.ts +139 -0
  121. package/dist/source/component.tokens.json +1672 -0
  122. package/dist/source/meaning.tokens.json +1025 -0
  123. package/dist/source/mode.dark.tokens.json +594 -0
  124. package/dist/source/palette.tokens.json +1406 -0
  125. package/dist/source/platform.phone.tokens.json +395 -0
  126. package/dist/source/scale.tokens.json +869 -0
  127. package/dist/source/width.390.tokens.json +96 -0
  128. package/dist/upgrade/css.js +2 -0
  129. package/dist/upgrade/index.js +5 -0
  130. package/dist/upgrade/razorAttributes.js +3 -0
  131. package/dist/upgrade/themeReads.js +2 -0
  132. package/dist/webority.js +2 -0
  133. package/dist/webority.resolver.json +18 -0
  134. package/package.json +46 -3
  135. package/renames/0.87.1.json +14 -0
  136. package/renames/0.89.0.json +1423 -0
  137. package/renames/renames.d.ts +42 -0
  138. package/schema/design-map.schema.json +143 -0
  139. package/schema/webority-tokens.schema.json +211 -0
  140. package/README.md +0 -3
@@ -0,0 +1,869 @@
1
+ {
2
+ "space": {
3
+ "none": {
4
+ "$type": "dimension",
5
+ "$value": {
6
+ "value": 0,
7
+ "unit": "px"
8
+ },
9
+ "$description": "No space."
10
+ },
11
+ "xxs": {
12
+ "$type": "dimension",
13
+ "$value": {
14
+ "value": 2,
15
+ "unit": "px"
16
+ },
17
+ "$description": "Hairline step of the spacing scale."
18
+ },
19
+ "xs": {
20
+ "$type": "dimension",
21
+ "$value": {
22
+ "value": 4,
23
+ "unit": "px"
24
+ },
25
+ "$description": "Extra-small step of the spacing scale."
26
+ },
27
+ "sm": {
28
+ "$type": "dimension",
29
+ "$value": {
30
+ "value": 8,
31
+ "unit": "px"
32
+ },
33
+ "$description": "Small step of the spacing scale."
34
+ },
35
+ "md": {
36
+ "$type": "dimension",
37
+ "$value": {
38
+ "value": 12,
39
+ "unit": "px"
40
+ },
41
+ "$description": "Medium step of the spacing scale."
42
+ },
43
+ "lg": {
44
+ "$type": "dimension",
45
+ "$value": {
46
+ "value": 16,
47
+ "unit": "px"
48
+ },
49
+ "$description": "Large step of the spacing scale."
50
+ },
51
+ "xl": {
52
+ "$type": "dimension",
53
+ "$value": {
54
+ "value": 24,
55
+ "unit": "px"
56
+ },
57
+ "$description": "Extra-large step of the spacing scale."
58
+ },
59
+ "2xl": {
60
+ "$type": "dimension",
61
+ "$value": {
62
+ "value": 32,
63
+ "unit": "px"
64
+ },
65
+ "$description": "Double extra-large step of the spacing scale."
66
+ },
67
+ "3xl": {
68
+ "$type": "dimension",
69
+ "$value": {
70
+ "value": 48,
71
+ "unit": "px"
72
+ },
73
+ "$description": "Triple extra-large step of the spacing scale."
74
+ },
75
+ "4xl": {
76
+ "$type": "dimension",
77
+ "$value": {
78
+ "value": 64,
79
+ "unit": "px"
80
+ },
81
+ "$description": "Largest step of the spacing scale."
82
+ }
83
+ },
84
+ "radius": {
85
+ "none": {
86
+ "$type": "dimension",
87
+ "$value": {
88
+ "value": 0,
89
+ "unit": "px"
90
+ },
91
+ "$description": "No rounding, for square corners."
92
+ },
93
+ "sm": {
94
+ "$type": "dimension",
95
+ "$value": {
96
+ "value": 8,
97
+ "unit": "px"
98
+ },
99
+ "$description": "Small step of the corner radius scale."
100
+ },
101
+ "md": {
102
+ "$type": "dimension",
103
+ "$value": {
104
+ "value": 10,
105
+ "unit": "px"
106
+ },
107
+ "$description": "Medium step of the corner radius scale, the default corner."
108
+ },
109
+ "lg": {
110
+ "$type": "dimension",
111
+ "$value": {
112
+ "value": 14,
113
+ "unit": "px"
114
+ },
115
+ "$description": "Large step of the corner radius scale."
116
+ },
117
+ "xl": {
118
+ "$type": "dimension",
119
+ "$value": {
120
+ "value": 16,
121
+ "unit": "px"
122
+ },
123
+ "$description": "Extra-large step of the corner radius scale."
124
+ },
125
+ "pill": {
126
+ "$type": "dimension",
127
+ "$value": {
128
+ "value": 9999,
129
+ "unit": "px"
130
+ },
131
+ "$description": "Fully rounded corner, for pills and round buttons."
132
+ }
133
+ },
134
+ "text": {
135
+ "xs": {
136
+ "$type": "dimension",
137
+ "$value": {
138
+ "value": 13,
139
+ "unit": "px",
140
+ "lineHeight": 1.5
141
+ },
142
+ "$description": "Extra-small step of the fluid type scale; a product opts in per element.",
143
+ "$extensions": {
144
+ "com.webority": {
145
+ "fluidUntil": 1320
146
+ }
147
+ }
148
+ },
149
+ "sm": {
150
+ "$type": "dimension",
151
+ "$value": {
152
+ "value": 14,
153
+ "unit": "px",
154
+ "lineHeight": 1.5
155
+ },
156
+ "$description": "Small step of the fluid type scale; a product opts in per element.",
157
+ "$extensions": {
158
+ "com.webority": {
159
+ "fluidUntil": 1133
160
+ }
161
+ }
162
+ },
163
+ "base": {
164
+ "$type": "dimension",
165
+ "$value": {
166
+ "value": 16.8,
167
+ "unit": "px",
168
+ "lineHeight": 1.5
169
+ },
170
+ "$description": "Body-size step of the fluid type scale, close to Bootstrap's 1rem.",
171
+ "$extensions": {
172
+ "com.webority": {
173
+ "fluidUntil": 960
174
+ }
175
+ }
176
+ },
177
+ "lg": {
178
+ "$type": "dimension",
179
+ "$value": {
180
+ "value": 20,
181
+ "unit": "px",
182
+ "lineHeight": 1.4
183
+ },
184
+ "$description": "Large step of the fluid type scale; a product opts in per element.",
185
+ "$extensions": {
186
+ "com.webority": {
187
+ "fluidUntil": 1234
188
+ }
189
+ }
190
+ },
191
+ "xl": {
192
+ "$type": "dimension",
193
+ "$value": {
194
+ "value": 24,
195
+ "unit": "px",
196
+ "lineHeight": 1.3
197
+ },
198
+ "$description": "Extra-large step of the fluid type scale; a product opts in per element.",
199
+ "$extensions": {
200
+ "com.webority": {
201
+ "fluidUntil": 1120
202
+ }
203
+ }
204
+ },
205
+ "2xl": {
206
+ "$type": "dimension",
207
+ "$value": {
208
+ "value": 32,
209
+ "unit": "px",
210
+ "lineHeight": 1.25
211
+ },
212
+ "$description": "Double extra-large step of the fluid type scale; a product opts in per element.",
213
+ "$extensions": {
214
+ "com.webority": {
215
+ "fluidUntil": 1120
216
+ }
217
+ }
218
+ },
219
+ "3xl": {
220
+ "$type": "dimension",
221
+ "$value": {
222
+ "value": 44,
223
+ "unit": "px",
224
+ "lineHeight": 1.2
225
+ },
226
+ "$description": "Triple extra-large step of the fluid type scale; a product opts in per element.",
227
+ "$extensions": {
228
+ "com.webority": {
229
+ "fluidUntil": 1143
230
+ }
231
+ }
232
+ },
233
+ "4xl": {
234
+ "$type": "dimension",
235
+ "$value": {
236
+ "value": 56,
237
+ "unit": "px",
238
+ "lineHeight": 1.1
239
+ },
240
+ "$description": "Fourth extra-large step of the fluid type scale; a product opts in per element.",
241
+ "$extensions": {
242
+ "com.webority": {
243
+ "fluidUntil": 1152
244
+ }
245
+ }
246
+ },
247
+ "5xl": {
248
+ "$type": "dimension",
249
+ "$value": {
250
+ "value": 72,
251
+ "unit": "px",
252
+ "lineHeight": 1.05
253
+ },
254
+ "$description": "Fifth extra-large step of the fluid type scale; a product opts in per element.",
255
+ "$extensions": {
256
+ "com.webority": {
257
+ "fluidUntil": 1109
258
+ }
259
+ }
260
+ },
261
+ "6xl": {
262
+ "$type": "dimension",
263
+ "$value": {
264
+ "value": 96,
265
+ "unit": "px",
266
+ "lineHeight": 1
267
+ },
268
+ "$description": "Sixth extra-large step of the fluid type scale; a product opts in per element.",
269
+ "$extensions": {
270
+ "com.webority": {
271
+ "fluidUntil": 1105
272
+ }
273
+ }
274
+ },
275
+ "7xl": {
276
+ "$type": "dimension",
277
+ "$value": {
278
+ "value": 119.95,
279
+ "unit": "px",
280
+ "lineHeight": 1
281
+ },
282
+ "$description": "First display step above the fluid type scale, 64px on a phone to 120px on a desktop.",
283
+ "$extensions": {
284
+ "com.webority": {
285
+ "fluidUntil": 1440
286
+ }
287
+ }
288
+ },
289
+ "8xl": {
290
+ "$type": "dimension",
291
+ "$value": {
292
+ "value": 144,
293
+ "unit": "px",
294
+ "lineHeight": 1
295
+ },
296
+ "$description": "Largest display step of the fluid type scale, 72px on a phone to 144px on a desktop.",
297
+ "$extensions": {
298
+ "com.webority": {
299
+ "fluidUntil": 1440
300
+ }
301
+ }
302
+ }
303
+ },
304
+ "weight": {
305
+ "normal": {
306
+ "$type": "fontWeight",
307
+ "$value": 400,
308
+ "$description": "Regular text weight."
309
+ },
310
+ "medium": {
311
+ "$type": "fontWeight",
312
+ "$value": 500,
313
+ "$description": "Medium text weight."
314
+ },
315
+ "semibold": {
316
+ "$type": "fontWeight",
317
+ "$value": 600,
318
+ "$description": "Semibold text weight, for labels and titles."
319
+ },
320
+ "bold": {
321
+ "$type": "fontWeight",
322
+ "$value": 700,
323
+ "$description": "Bold text weight."
324
+ }
325
+ },
326
+ "leading": {
327
+ "tight": {
328
+ "$type": "number",
329
+ "$value": 1.2,
330
+ "$description": "Tight line height, for headings and single-line labels."
331
+ },
332
+ "normal": {
333
+ "$type": "number",
334
+ "$value": 1.4,
335
+ "$description": "Default line height for running text on a phone.",
336
+ "$extensions": {
337
+ "com.webority": {
338
+ "platforms": ["phone"]
339
+ }
340
+ }
341
+ },
342
+ "relaxed": {
343
+ "$type": "number",
344
+ "$value": 1.6,
345
+ "$description": "Loose line height for long reading on a phone.",
346
+ "$extensions": {
347
+ "com.webority": {
348
+ "platforms": ["phone"]
349
+ }
350
+ }
351
+ }
352
+ },
353
+ "letter-spacing": {
354
+ "tight": {
355
+ "$type": "dimension",
356
+ "$value": {
357
+ "value": -0.2,
358
+ "unit": "px"
359
+ },
360
+ "$description": "Tighter letter spacing for large headings."
361
+ },
362
+ "normal": {
363
+ "$type": "dimension",
364
+ "$value": {
365
+ "value": 0,
366
+ "unit": "px"
367
+ },
368
+ "$description": "Default letter spacing."
369
+ },
370
+ "wide": {
371
+ "$type": "dimension",
372
+ "$value": {
373
+ "value": 0.4,
374
+ "unit": "px"
375
+ },
376
+ "$description": "Wider letter spacing for small caps labels."
377
+ },
378
+ "$extensions": {
379
+ "com.webority": {
380
+ "platforms": ["phone"]
381
+ }
382
+ }
383
+ },
384
+ "font": {
385
+ "ui": {
386
+ "$type": "fontFamily",
387
+ "$value": [
388
+ "Webority Sans",
389
+ "Inter",
390
+ "-apple-system",
391
+ "BlinkMacSystemFont",
392
+ "Segoe UI",
393
+ "Roboto",
394
+ "Helvetica Neue",
395
+ "Arial",
396
+ "sans-serif"
397
+ ],
398
+ "$description": "Body typeface for running text and controls."
399
+ },
400
+ "display": {
401
+ "$type": "fontFamily",
402
+ "$value": ["Webority Serif", "Cambria", "Georgia", "Times New Roman", "Noto Serif", "serif"],
403
+ "$description": "Display typeface for headings marked as display text."
404
+ },
405
+ "mono": {
406
+ "$type": "fontFamily",
407
+ "$value": ["JetBrains Mono", "SFMono-Regular", "Menlo", "Monaco", "Consolas", "monospace"],
408
+ "$description": "Monospace typeface for code, identifiers and figures that must line up."
409
+ }
410
+ },
411
+ "shadow": {
412
+ "card": {
413
+ "$type": "shadow",
414
+ "$value": "none",
415
+ "$description": "Shadow under in-page cards, none in this theme so cards stay flat."
416
+ },
417
+ "elevated": {
418
+ "$type": "shadow",
419
+ "$value": {
420
+ "color": "{palette.phone-shadow-md}",
421
+ "offsetX": {
422
+ "value": 0,
423
+ "unit": "px"
424
+ },
425
+ "offsetY": {
426
+ "value": 4,
427
+ "unit": "px"
428
+ },
429
+ "blur": {
430
+ "value": 8,
431
+ "unit": "px"
432
+ },
433
+ "spread": {
434
+ "value": 0,
435
+ "unit": "px"
436
+ }
437
+ },
438
+ "$description": "Shadow of a surface lifted above the page, such as a toast or a floating action button.",
439
+ "$extensions": {
440
+ "com.webority": {
441
+ "platforms": ["phone"],
442
+ "elevation": 4
443
+ }
444
+ }
445
+ },
446
+ "popover": {
447
+ "$type": "shadow",
448
+ "$value": {
449
+ "color": "rgba(7, 20, 55, 0.14)",
450
+ "offsetX": {
451
+ "value": 0,
452
+ "unit": "px"
453
+ },
454
+ "offsetY": {
455
+ "value": 8,
456
+ "unit": "px"
457
+ },
458
+ "blur": {
459
+ "value": 28,
460
+ "unit": "px"
461
+ },
462
+ "spread": {
463
+ "value": -6,
464
+ "unit": "px"
465
+ }
466
+ },
467
+ "$description": "Shadow of floating menus, popovers, hover cards and the chat panel."
468
+ },
469
+ "modal": {
470
+ "$type": "shadow",
471
+ "$value": {
472
+ "color": "rgba(7, 20, 55, 0.28)",
473
+ "offsetX": {
474
+ "value": 0,
475
+ "unit": "px"
476
+ },
477
+ "offsetY": {
478
+ "value": 24,
479
+ "unit": "px"
480
+ },
481
+ "blur": {
482
+ "value": 60,
483
+ "unit": "px"
484
+ },
485
+ "spread": {
486
+ "value": -16,
487
+ "unit": "px"
488
+ }
489
+ },
490
+ "$description": "Shadow of a modal dialog that blocks the page."
491
+ },
492
+ "drawer": {
493
+ "$type": "shadow",
494
+ "$value": {
495
+ "color": "rgba(7, 20, 55, 0.28)",
496
+ "offsetX": {
497
+ "value": 0,
498
+ "unit": "px"
499
+ },
500
+ "offsetY": {
501
+ "value": 24,
502
+ "unit": "px"
503
+ },
504
+ "blur": {
505
+ "value": 60,
506
+ "unit": "px"
507
+ },
508
+ "spread": {
509
+ "value": -16,
510
+ "unit": "px"
511
+ }
512
+ },
513
+ "$description": "Shadow of a panel anchored to a page edge, such as a drawer or the consent banner."
514
+ },
515
+ "overlay": {
516
+ "$type": "shadow",
517
+ "$value": {
518
+ "color": "rgba(7, 20, 55, 0.28)",
519
+ "offsetX": {
520
+ "value": 0,
521
+ "unit": "px"
522
+ },
523
+ "offsetY": {
524
+ "value": 24,
525
+ "unit": "px"
526
+ },
527
+ "blur": {
528
+ "value": 60,
529
+ "unit": "px"
530
+ },
531
+ "spread": {
532
+ "value": -16,
533
+ "unit": "px"
534
+ }
535
+ },
536
+ "$description": "Shadow of the top-most layer, such as an item being dragged.",
537
+ "$extensions": {
538
+ "com.webority": {
539
+ "platforms": ["web"]
540
+ }
541
+ }
542
+ }
543
+ },
544
+ "motion": {
545
+ "duration": {
546
+ "instant": {
547
+ "$type": "duration",
548
+ "$value": {
549
+ "value": 80,
550
+ "unit": "ms"
551
+ },
552
+ "$description": "Near-instant feedback, for a press or a toggle.",
553
+ "$extensions": {
554
+ "com.webority": {
555
+ "platforms": ["phone"]
556
+ }
557
+ }
558
+ },
559
+ "fast": {
560
+ "$type": "duration",
561
+ "$value": {
562
+ "value": 150,
563
+ "unit": "ms"
564
+ },
565
+ "$description": "Short transition, for hover and small state changes."
566
+ },
567
+ "default": {
568
+ "$type": "duration",
569
+ "$value": {
570
+ "value": 250,
571
+ "unit": "ms"
572
+ },
573
+ "$description": "Default transition, for panels opening and content changing."
574
+ },
575
+ "slow": {
576
+ "$type": "duration",
577
+ "$value": {
578
+ "value": 400,
579
+ "unit": "ms"
580
+ },
581
+ "$description": "Long transition, for large surfaces entering the screen."
582
+ },
583
+ "slower": {
584
+ "$type": "duration",
585
+ "$value": {
586
+ "value": 500,
587
+ "unit": "ms"
588
+ },
589
+ "$description": "Longest transition, for a full screen entering.",
590
+ "$extensions": {
591
+ "com.webority": {
592
+ "platforms": ["phone"]
593
+ }
594
+ }
595
+ }
596
+ },
597
+ "ease": {
598
+ "out": {
599
+ "$type": "cubicBezier",
600
+ "$value": [0.22, 1, 0.36, 1],
601
+ "$description": "Decelerating curve for things entering or settling.",
602
+ "$extensions": {
603
+ "com.webority": {
604
+ "platforms": ["web"]
605
+ }
606
+ }
607
+ },
608
+ "in-out": {
609
+ "$type": "cubicBezier",
610
+ "$value": [0.4, 0, 0.2, 1],
611
+ "$description": "Symmetric curve for things moving between two places."
612
+ },
613
+ "accelerate": {
614
+ "$type": "cubicBezier",
615
+ "$value": [0.4, 0, 1, 1],
616
+ "$description": "Accelerating curve for things leaving the screen.",
617
+ "$extensions": {
618
+ "com.webority": {
619
+ "platforms": ["phone"]
620
+ }
621
+ }
622
+ },
623
+ "decelerate": {
624
+ "$type": "cubicBezier",
625
+ "$value": [0, 0, 0.2, 1],
626
+ "$description": "Decelerating curve for things arriving on screen.",
627
+ "$extensions": {
628
+ "com.webority": {
629
+ "platforms": ["phone"]
630
+ }
631
+ }
632
+ },
633
+ "sharp": {
634
+ "$type": "cubicBezier",
635
+ "$value": [0.4, 0, 0.6, 1],
636
+ "$description": "Quick curve for things that leave and return.",
637
+ "$extensions": {
638
+ "com.webority": {
639
+ "platforms": ["phone"]
640
+ }
641
+ }
642
+ },
643
+ "ui": {
644
+ "$type": "cubicBezier",
645
+ "$value": [0.32, 0.72, 0, 1],
646
+ "$description": "Easing curve for interface transitions.",
647
+ "$extensions": {
648
+ "com.webority": {
649
+ "platforms": ["web"]
650
+ }
651
+ }
652
+ },
653
+ "elastic": {
654
+ "$type": "cubicBezier",
655
+ "$value": [0.34, 1.56, 0.64, 1],
656
+ "$description": "Overshooting easing for the tab ink bar's spring into place.",
657
+ "$extensions": {
658
+ "com.webority": {
659
+ "platforms": ["web"]
660
+ }
661
+ }
662
+ }
663
+ }
664
+ },
665
+ "section": {
666
+ "sm": {
667
+ "$type": "dimension",
668
+ "$value": {
669
+ "value": 80,
670
+ "unit": "px"
671
+ },
672
+ "$description": "Small vertical gap between sections of a public page."
673
+ },
674
+ "md": {
675
+ "$type": "dimension",
676
+ "$value": {
677
+ "value": 96,
678
+ "unit": "px"
679
+ },
680
+ "$description": "Default vertical gap between sections of a public page."
681
+ },
682
+ "lg": {
683
+ "$type": "dimension",
684
+ "$value": {
685
+ "value": 120,
686
+ "unit": "px"
687
+ },
688
+ "$description": "Large vertical gap between sections of a public page."
689
+ },
690
+ "$extensions": {
691
+ "com.webority": {
692
+ "platforms": ["web"]
693
+ }
694
+ }
695
+ },
696
+ "size": {
697
+ "control-sm": {
698
+ "$type": "dimension",
699
+ "$value": {
700
+ "value": 32,
701
+ "unit": "px"
702
+ },
703
+ "$description": "Height of the small control size, for dense toolbars and chips.",
704
+ "$extensions": {
705
+ "com.webority": {
706
+ "platforms": ["web"]
707
+ }
708
+ }
709
+ },
710
+ "control-md": {
711
+ "$type": "dimension",
712
+ "$value": {
713
+ "value": 36,
714
+ "unit": "px"
715
+ },
716
+ "$description": "Default height of a button, field, select or tab; larger on phones.",
717
+ "$extensions": {
718
+ "com.webority": {
719
+ "platforms": ["web"]
720
+ }
721
+ }
722
+ },
723
+ "control-lg": {
724
+ "$type": "dimension",
725
+ "$value": {
726
+ "value": 44,
727
+ "unit": "px"
728
+ },
729
+ "$description": "Height of the large control size, for prominent buttons and fields.",
730
+ "$extensions": {
731
+ "com.webority": {
732
+ "platforms": ["web"]
733
+ }
734
+ }
735
+ },
736
+ "container-max": {
737
+ "$type": "dimension",
738
+ "$value": {
739
+ "value": 1512,
740
+ "unit": "px"
741
+ },
742
+ "$description": "Maximum width of the page container on every surface.",
743
+ "$extensions": {
744
+ "com.webority": {
745
+ "platforms": ["web"]
746
+ }
747
+ }
748
+ },
749
+ "container-pad": {
750
+ "$type": "dimension",
751
+ "$value": {
752
+ "value": 88,
753
+ "unit": "px"
754
+ },
755
+ "$description": "Side padding of the page container at desktop width.",
756
+ "$extensions": {
757
+ "com.webority": {
758
+ "platforms": ["web"],
759
+ "breakpoints": {
760
+ "md": "{space.4xl}"
761
+ }
762
+ }
763
+ }
764
+ },
765
+ "table-pad": {
766
+ "$type": "dimension",
767
+ "$value": {
768
+ "value": 20,
769
+ "unit": "px"
770
+ },
771
+ "$description": "Inset of the table wrapper and toolbar, which a table class can retune.",
772
+ "$extensions": {
773
+ "com.webority": {
774
+ "platforms": ["web"]
775
+ }
776
+ }
777
+ },
778
+ "border": {
779
+ "$type": "dimension",
780
+ "$value": {
781
+ "value": 1,
782
+ "unit": "px"
783
+ },
784
+ "$description": "Width of borders and dividers on a phone.",
785
+ "$extensions": {
786
+ "com.webority": {
787
+ "platforms": ["phone"]
788
+ }
789
+ }
790
+ }
791
+ },
792
+ "z": {
793
+ "dropdown": {
794
+ "$type": "number",
795
+ "$value": 1000,
796
+ "$description": "Stacking layer of in-page dropdown menus."
797
+ },
798
+ "sticky": {
799
+ "$type": "number",
800
+ "$value": 1020,
801
+ "$description": "Stacking layer of sticky page chrome such as headers."
802
+ },
803
+ "shell-sidebar": {
804
+ "$type": "number",
805
+ "$value": 1025,
806
+ "$description": "Stacking layer of the desktop shell sidebar and its overflowing menus."
807
+ },
808
+ "fixed": {
809
+ "$type": "number",
810
+ "$value": 1030,
811
+ "$description": "Stacking layer of fixed corner layers such as the consent banner."
812
+ },
813
+ "shell": {
814
+ "$type": "number",
815
+ "$value": 1040,
816
+ "$description": "Stacking layer of the app shell base chrome and the splash."
817
+ },
818
+ "shell-scrim": {
819
+ "$type": "number",
820
+ "$value": 1044,
821
+ "$description": "Stacking layer of the dim behind the mobile drawer."
822
+ },
823
+ "shell-drawer": {
824
+ "$type": "number",
825
+ "$value": 1045,
826
+ "$description": "Stacking layer of the mobile sidebar drawer."
827
+ },
828
+ "modal-backdrop": {
829
+ "$type": "number",
830
+ "$value": 1500,
831
+ "$description": "Stacking layer of the dim behind a modal dialog."
832
+ },
833
+ "modal": {
834
+ "$type": "number",
835
+ "$value": 1505,
836
+ "$description": "Stacking layer of a modal dialog above its backdrop."
837
+ },
838
+ "tour": {
839
+ "$type": "number",
840
+ "$value": 1550,
841
+ "$description": "Stacking layer of the product tour, above modals and below menus."
842
+ },
843
+ "menu": {
844
+ "$type": "number",
845
+ "$value": 1600,
846
+ "$description": "Stacking layer of portalled select, date and phone menus and info tips."
847
+ },
848
+ "popover": {
849
+ "$type": "number",
850
+ "$value": 1600,
851
+ "$description": "Stacking layer of popovers, on the same rung as menus."
852
+ },
853
+ "tooltip": {
854
+ "$type": "number",
855
+ "$value": 1650,
856
+ "$description": "Stacking layer of tooltips, above menus and popovers."
857
+ },
858
+ "toast": {
859
+ "$type": "number",
860
+ "$value": 1700,
861
+ "$description": "Stacking layer of toast notifications, the topmost layer."
862
+ },
863
+ "$extensions": {
864
+ "com.webority": {
865
+ "platforms": ["web"]
866
+ }
867
+ }
868
+ }
869
+ }