@webority/theme 0.146.2 → 0.148.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -44,6 +44,18 @@ The 245 `.wui-flag-*` rules are about 187 KB raw (38 KB Brotli) of inlined SVG,
44
44
  - **Per page:** on a site with one phone field, link the flags stylesheet only on the pages that
45
45
  render it. Without it every flag is an empty grey box, and nothing reports the cause.
46
46
 
47
+ ### Tokens only, for sites that keep their own CSS
48
+
49
+ A site that does not load the full chain or `webority-theme.css` (a public site with its own bundle)
50
+ links one sheet to read every `--wui-*` and `--color-*` token, light and dark, with no Bootstrap and no
51
+ component skins (about 63 KB against the theme's 865 KB):
52
+
53
+ - **npm:** `@webority/theme/css/tokens` (`dist/webority-tokens.css`).
54
+ - **Razor:** `_content/Webority.Ui.Razor/css/webority-tokens.css`, linked before the site's own CSS.
55
+
56
+ The build cuts it from the built `webority-theme.css`, so every value equals the full theme's; the gate's
57
+ `tokens-css` check fails if the two differ. A site that loads the full theme never loads it as well.
58
+
47
59
  ### Purging unused CSS (PurgeCSS)
48
60
 
49
61
  A consuming site's PurgeCSS pass reads its own pages, but `Webority.Ui.Razor` ships as a DLL and the
@@ -1,52 +1,32 @@
1
1
  {
2
2
  "color": {
3
- "accent-dark": {
4
- "light": "#4338CA",
5
- "dark": "#4338CA"
6
- },
7
- "ai-cyan": {
8
- "light": "#0E9BD6",
9
- "dark": "#0E9BD6"
10
- },
11
- "ai-green": {
12
- "light": "#12B886",
13
- "dark": "#12B886"
14
- },
15
- "ai-violet": {
16
- "light": "#7C3AED",
17
- "dark": "#A78BFA"
18
- },
19
- "bg-elevated": {
20
- "light": "#F9FBFC",
21
- "dark": "#F9FBFC"
22
- },
23
- "bg-light": {
24
- "light": "#FFFFFF",
25
- "dark": "#FFFFFF"
3
+ "bg": {
4
+ "light": "#F4F6F8",
5
+ "dark": "#0f1117"
26
6
  },
27
7
  "bg-muted": {
28
8
  "light": "#F5F6FA",
29
- "dark": "#F5F6FA"
9
+ "dark": "#232733"
30
10
  },
31
- "bg-page": {
32
- "light": "#F4F6F8",
33
- "dark": "#F4F6F8"
11
+ "bg-subtle": {
12
+ "light": "#F9FBFC",
13
+ "dark": "#0d0f15"
34
14
  },
35
- "border-light": {
15
+ "border": {
36
16
  "light": "#EBEDF3",
37
- "dark": "#EBEDF3"
38
- },
39
- "border-soft": {
40
- "light": "#F4F6F8",
41
- "dark": "#F4F6F8"
17
+ "dark": "#3d4554"
42
18
  },
43
19
  "border-strong": {
44
20
  "light": "#C4CADA",
45
- "dark": "#C4CADA"
21
+ "dark": "#515b6e"
22
+ },
23
+ "border-subtle": {
24
+ "light": "#F4F6F8",
25
+ "dark": "#3d455480"
46
26
  },
47
27
  "chart-1": {
48
28
  "light": "#4F46E5",
49
- "dark": "#9590ef"
29
+ "dark": "#aeaaf5"
50
30
  },
51
31
  "chart-2": {
52
32
  "light": "#eb6834",
@@ -76,6 +56,10 @@
76
56
  "light": "#e34948",
77
57
  "dark": "#e66767"
78
58
  },
59
+ "chart-axis": {
60
+ "light": "#C4CADA",
61
+ "dark": "#515b6e"
62
+ },
79
63
  "chart-diverging-high": {
80
64
  "light": "#2a78d6",
81
65
  "dark": "#3987e5"
@@ -88,6 +72,14 @@
88
72
  "light": "#c4cada",
89
73
  "dark": "#3a414f"
90
74
  },
75
+ "chart-grid": {
76
+ "light": "#EBEDF3",
77
+ "dark": "#3d4554"
78
+ },
79
+ "chart-label": {
80
+ "light": "#626A82",
81
+ "dark": "#8a90a0"
82
+ },
91
83
  "chart-neutral": {
92
84
  "light": "#99a1b7",
93
85
  "dark": "#5d6475"
@@ -122,299 +114,223 @@
122
114
  },
123
115
  "danger": {
124
116
  "light": "#E82646",
125
- "dark": "#E82646"
126
- },
127
- "danger-10": {
128
- "light": "#FFEAEF",
129
- "dark": "#391d29"
130
- },
131
- "danger-20": {
132
- "light": "#FED4DE",
133
- "dark": "#FED4DE"
117
+ "dark": "#F87171"
134
118
  },
135
- "danger-30": {
119
+ "danger-border": {
136
120
  "light": "#FDBFCE",
137
- "dark": "#FDBFCE"
121
+ "dark": "#f8717166"
138
122
  },
139
- "danger-5": {
140
- "light": "#FEF4F6",
141
- "dark": "#2d1c27"
142
- },
143
- "danger-50": {
144
- "light": "#FC94AD",
145
- "dark": "#FC94AD"
146
- },
147
- "danger-active": {
123
+ "danger-pressed": {
148
124
  "light": "#E82646",
149
- "dark": "#E82646"
125
+ "dark": "#f98686"
126
+ },
127
+ "danger-soft": {
128
+ "light": "#FFEAEF",
129
+ "dark": "#e826462e"
150
130
  },
151
131
  "danger-strong": {
152
132
  "light": "#C81340",
153
- "dark": "#C81340"
154
- },
155
- "danger-strong-hover": {
156
- "light": "#AB1036",
157
- "dark": "#AB1036"
133
+ "dark": "#ee5c74"
158
134
  },
159
135
  "danger-text": {
160
136
  "light": "#CF1735",
161
- "dark": "#CF1735"
162
- },
163
- "fg-2": {
164
- "light": "#252F4A",
165
- "dark": "#252F4A"
166
- },
167
- "fg-3": {
168
- "light": "#4B5675",
169
- "dark": "#4B5675"
170
- },
171
- "fg-4": {
172
- "light": "#626A82",
173
- "dark": "#626A82"
137
+ "dark": "#ee5c74"
174
138
  },
175
- "fg-5": {
176
- "light": "#C4CADA",
177
- "dark": "#C4CADA"
139
+ "danger-text-on-soft": {
140
+ "light": "#CF1735",
141
+ "dark": "#f07287"
178
142
  },
179
143
  "field-bg": {
180
144
  "light": "#F9FBFC",
181
- "dark": "#F9FBFC"
145
+ "dark": "#232733"
182
146
  },
183
147
  "field-border": {
184
148
  "light": "#DFE2EA",
185
- "dark": "#DFE2EA"
149
+ "dark": "#3d4554"
150
+ },
151
+ "field-border-focus": {
152
+ "light": "#A5B4FC",
153
+ "dark": "#aeaaf5"
186
154
  },
187
155
  "field-border-hover": {
188
156
  "light": "#C4CADA",
189
- "dark": "#C4CADA"
157
+ "dark": "#515b6e"
190
158
  },
191
- "info": {
192
- "light": "#056EE9",
193
- "dark": "#056EE9"
159
+ "focus-ring": {
160
+ "light": "#4F46E5",
161
+ "dark": "#aeaaf5"
194
162
  },
195
- "info-10": {
196
- "light": "#E9F3FF",
197
- "dark": "#152843"
163
+ "focus-ring-soft": {
164
+ "light": "#4f46e540",
165
+ "dark": "#aeaaf540"
198
166
  },
199
- "info-20": {
200
- "light": "#D1E6FF",
201
- "dark": "#D1E6FF"
167
+ "info": {
168
+ "light": "#056EE9",
169
+ "dark": "#60A5FA"
202
170
  },
203
- "info-30": {
171
+ "info-border": {
204
172
  "light": "#BBDBFF",
205
- "dark": "#BBDBFF"
173
+ "dark": "#60a5fa66"
206
174
  },
207
- "info-5": {
208
- "light": "#F3F9FF",
209
- "dark": "#162337"
175
+ "info-pressed": {
176
+ "light": "#056EE9",
177
+ "dark": "#78b3fb"
210
178
  },
211
- "info-50": {
212
- "light": "#8DC2FF",
213
- "dark": "#8DC2FF"
179
+ "info-soft": {
180
+ "light": "#E9F3FF",
181
+ "dark": "#056ee92e"
214
182
  },
215
- "info-active": {
183
+ "info-strong": {
216
184
  "light": "#056EE9",
217
- "dark": "#056EE9"
185
+ "dark": "#4492ef"
218
186
  },
219
187
  "info-text": {
220
188
  "light": "#1460ba",
221
- "dark": "#1460ba"
222
- },
223
- "ink": {
224
- "light": "#000000",
225
- "dark": "#000000"
189
+ "dark": "#4492ef"
226
190
  },
227
- "neutral-bg-dark": {
228
- "light": "#F5F6FA",
229
- "dark": "#232733"
230
- },
231
- "neutral-bg-light": {
232
- "light": "#F9FBFC",
233
- "dark": "#181b23"
191
+ "info-text-on-soft": {
192
+ "light": "#1460ba",
193
+ "dark": "#5da1f1"
234
194
  },
235
- "neutral-border-dark": {
236
- "light": "#EBEDF3",
237
- "dark": "#EBEDF3"
195
+ "on-primary": {
196
+ "light": "#ffffff",
197
+ "dark": "#0F0F0F"
238
198
  },
239
- "neutral-border-light": {
240
- "light": "#F9FBFC",
241
- "dark": "#F9FBFC"
199
+ "on-scrim": {
200
+ "light": "#FFFFFF",
201
+ "dark": "#FFFFFF"
242
202
  },
243
203
  "primary": {
244
204
  "light": "#4F46E5",
245
- "dark": "#4F46E5"
246
- },
247
- "primary-10": {
248
- "light": "#E0E7FF",
249
- "dark": "#2c2e44"
250
- },
251
- "primary-15": {
252
- "light": "#DDE1FD",
253
- "dark": "#32344e"
254
- },
255
- "primary-20": {
256
- "light": "#C7D2FE",
257
- "dark": "#393958"
258
- },
259
- "primary-30": {
260
- "light": "#A5B4FC",
261
- "dark": "#4a4a75"
262
- },
263
- "primary-5": {
264
- "light": "#EEF2FF",
265
- "dark": "#252737"
266
- },
267
- "primary-50": {
268
- "light": "#818CF8",
269
- "dark": "#6664a1"
205
+ "dark": "#aeaaf5"
270
206
  },
271
207
  "primary-hover": {
272
- "light": "#6366F1",
273
- "dark": "#6366F1"
274
- },
275
- "primary-ink": {
276
- "light": "#4F46E5",
277
- "dark": "#4F46E5"
278
- },
279
- "primary-pressed": {
280
208
  "light": "#4338CA",
281
- "dark": "#4338CA"
209
+ "dark": "#c3c0f8"
210
+ },
211
+ "primary-soft": {
212
+ "light": "#E0E7FF",
213
+ "dark": "#4f46e533"
282
214
  },
283
215
  "primary-text": {
284
- "light": "#ffffff",
285
- "dark": "#ffffff"
216
+ "light": "#4F46E5",
217
+ "dark": "#aeaaf5"
218
+ },
219
+ "progress-label": {
220
+ "light": "#FFFFFF",
221
+ "dark": "#0F0F0F"
286
222
  },
287
223
  "progress-track": {
288
224
  "light": "#E1E5EE",
289
- "dark": "#E1E5EE"
225
+ "dark": "#323845"
290
226
  },
291
- "scrollbar": {
292
- "light": "rgba(145, 158, 171, 0.45)",
293
- "dark": "rgba(145, 158, 171, 0.45)"
227
+ "scrim": {
228
+ "light": "#07143773",
229
+ "dark": "#00000073"
294
230
  },
295
- "scrollbar-active": {
296
- "light": "rgba(145, 158, 171, 0.85)",
297
- "dark": "rgba(145, 158, 171, 0.85)"
298
- },
299
- "scrollbar-hover": {
300
- "light": "rgba(145, 158, 171, 0.65)",
301
- "dark": "rgba(145, 158, 171, 0.65)"
231
+ "scrim-strong": {
232
+ "light": "#0714379e",
233
+ "dark": "#0000009e"
302
234
  },
303
235
  "success": {
304
236
  "light": "#04B440",
305
- "dark": "#04B440"
237
+ "dark": "#30C780"
306
238
  },
307
- "success-10": {
308
- "light": "#E8FAEE",
309
- "dark": "#153328"
310
- },
311
- "success-20": {
312
- "light": "#D1F4DD",
313
- "dark": "#D1F4DD"
314
- },
315
- "success-30": {
239
+ "success-border": {
316
240
  "light": "#BAEECC",
317
- "dark": "#BAEECC"
318
- },
319
- "success-5": {
320
- "light": "#F3FCF6",
321
- "dark": "#162a26"
241
+ "dark": "#30c78066"
322
242
  },
323
- "success-50": {
324
- "light": "#8BE3A9",
325
- "dark": "#8BE3A9"
326
- },
327
- "success-active": {
243
+ "success-pressed": {
328
244
  "light": "#04B440",
329
- "dark": "#04B440"
245
+ "dark": "#4fcf93"
246
+ },
247
+ "success-soft": {
248
+ "light": "#E8FAEE",
249
+ "dark": "#04b4402e"
330
250
  },
331
251
  "success-strong": {
332
252
  "light": "#0e7531",
333
- "dark": "#0e7531"
253
+ "dark": "#43c770"
334
254
  },
335
255
  "success-text": {
336
256
  "light": "#0e7531",
337
- "dark": "#0e7531"
257
+ "dark": "#43c770"
338
258
  },
339
- "surface-mute": {
340
- "light": "#F9FBFC",
341
- "dark": "#232733"
259
+ "success-text-on-soft": {
260
+ "light": "#0e7531",
261
+ "dark": "#5cce83"
262
+ },
263
+ "surface": {
264
+ "light": "#FFFFFF",
265
+ "dark": "#181b23"
266
+ },
267
+ "surface-ink": {
268
+ "light": "#0B0E16",
269
+ "dark": "#0B0E16"
270
+ },
271
+ "surface-inverse-wash-12": {
272
+ "light": "#ffffff1f",
273
+ "dark": "#0714371f"
342
274
  },
343
- "surface-soft": {
344
- "light": "#F2EFFE",
345
- "dark": "#252737"
275
+ "surface-inverse-wash-24": {
276
+ "light": "#ffffff3d",
277
+ "dark": "#0714373d"
346
278
  },
347
- "surface-violet": {
348
- "light": "#ECE4FE",
349
- "dark": "#ECE4FE"
279
+ "surface-inverse-wash-4": {
280
+ "light": "#ffffff0a",
281
+ "dark": "#0714370a"
350
282
  },
351
- "surface-violet-soft": {
352
- "light": "#FCFCFC",
353
- "dark": "#20222f"
283
+ "surface-inverse-wash-8": {
284
+ "light": "#ffffff14",
285
+ "dark": "#07143714"
354
286
  },
355
- "text-1": {
287
+ "text": {
288
+ "light": "#071437",
289
+ "dark": "#e6e8ee"
290
+ },
291
+ "text-body": {
356
292
  "light": "#252F4A",
357
- "dark": "#252F4A"
293
+ "dark": "#e6e8ee"
358
294
  },
359
- "text-2": {
295
+ "text-muted": {
360
296
  "light": "#4B5675",
361
- "dark": "#4B5675"
297
+ "dark": "#b4b9c6"
362
298
  },
363
- "text-3": {
299
+ "text-subtle": {
364
300
  "light": "#626A82",
365
- "dark": "#626A82"
366
- },
367
- "text-4": {
368
- "light": "#99A1B7",
369
- "dark": "#99A1B7"
301
+ "dark": "#8a90a0"
370
302
  },
371
- "text-5": {
372
- "light": "#C4CADA",
373
- "dark": "#C4CADA"
374
- },
375
- "text-heading": {
376
- "light": "#071437",
377
- "dark": "#071437"
303
+ "thumb": {
304
+ "light": "#FFFFFF",
305
+ "dark": "#3a3e49"
378
306
  },
379
307
  "warning": {
380
308
  "light": "#DFA000",
381
- "dark": "#DFA000"
382
- },
383
- "warning-10": {
384
- "light": "#FFF8E6",
385
- "dark": "#38301d"
386
- },
387
- "warning-20": {
388
- "light": "#FDEFCC",
389
- "dark": "#FDEFCC"
309
+ "dark": "#FBBF24"
390
310
  },
391
- "warning-30": {
311
+ "warning-border": {
392
312
  "light": "#FDE8B3",
393
- "dark": "#FDE8B3"
313
+ "dark": "#fbbf2466"
394
314
  },
395
- "warning-5": {
396
- "light": "#FEFBF2",
397
- "dark": "#2c2820"
398
- },
399
- "warning-50": {
400
- "light": "#FBD880",
401
- "dark": "#FBD880"
402
- },
403
- "warning-active": {
315
+ "warning-pressed": {
404
316
  "light": "#DFA000",
405
- "dark": "#DFA000"
317
+ "dark": "#fcc945"
318
+ },
319
+ "warning-soft": {
320
+ "light": "#FFF8E6",
321
+ "dark": "#dfa0002e"
406
322
  },
407
323
  "warning-strong": {
408
324
  "light": "#9A6B00",
409
- "dark": "#9A6B00"
410
- },
411
- "warning-strong-hover": {
412
- "light": "#855C00",
413
- "dark": "#855C00"
325
+ "dark": "#e7b840"
414
326
  },
415
327
  "warning-text": {
416
328
  "light": "#876100",
417
- "dark": "#876100"
329
+ "dark": "#e7b840"
330
+ },
331
+ "warning-text-on-soft": {
332
+ "light": "#876100",
333
+ "dark": "#eac159"
418
334
  }
419
335
  },
420
336
  "space": {
@@ -447,6 +447,7 @@
447
447
  "page-title",
448
448
  "page-titlebar",
449
449
  "pagination",
450
+ "pb-2",
450
451
  "phone-chevron",
451
452
  "phone-country-adornment",
452
453
  "phone-dial",
@@ -595,6 +596,7 @@
595
596
  "tbl-empty-block",
596
597
  "tbl-empty-plain",
597
598
  "text-bg-primary",
599
+ "text-bg-secondary",
598
600
  "text-body-secondary",
599
601
  "text-center",
600
602
  "text-danger",
@@ -746,6 +748,7 @@
746
748
  "wui-brand-dark",
747
749
  "wui-brand-has-mark",
748
750
  "wui-brand-light",
751
+ "wui-brand-link",
749
752
  "wui-brand-logo",
750
753
  "wui-brand-mark",
751
754
  "wui-brand-mark-only",
@@ -819,6 +822,7 @@
819
822
  "wui-chart-tooltip-title",
820
823
  "wui-chart-tooltip-value",
821
824
  "wui-check",
825
+ "wui-chip-count",
822
826
  "wui-chip-group",
823
827
  "wui-chip-group-nowrap",
824
828
  "wui-choice-chip-solid",
@@ -890,6 +894,7 @@
890
894
  "wui-comment-reply",
891
895
  "wui-comment-row",
892
896
  "wui-comment-text",
897
+ "wui-comment-text--markdown",
893
898
  "wui-comment-text-deleted",
894
899
  "wui-comment-thread",
895
900
  "wui-comment-thread--conversation",
@@ -1573,6 +1578,7 @@
1573
1578
  "wui-timeline--steps",
1574
1579
  "wui-timeline--steps-vertical",
1575
1580
  "wui-timeline-eyebrow",
1581
+ "wui-timeline-note--markdown",
1576
1582
  "wui-timepicker-col",
1577
1583
  "wui-timepicker-cols",
1578
1584
  "wui-timepicker-error",