@link-foundation/ui-themes 0.0.0-stage → 0.1.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 (110) hide show
  1. package/LICENSE +24 -0
  2. package/README.md +121 -2
  3. package/package.json +52 -4
  4. package/src/classic/catalog.js +193 -0
  5. package/src/classic/effect-governor.js +199 -0
  6. package/src/classic/effect-quality.js +76 -0
  7. package/src/classic/frame-color.js +27 -0
  8. package/src/classic/frame-css-controls.js +65 -0
  9. package/src/classic/frame-css-corners.js +138 -0
  10. package/src/classic/frame-css-edge-geometry.js +74 -0
  11. package/src/classic/frame-css-edges.js +99 -0
  12. package/src/classic/frame-css-enums.js +65 -0
  13. package/src/classic/frame-css-geometry.js +133 -0
  14. package/src/classic/frame-css-modes.js +45 -0
  15. package/src/classic/frame-css-states.js +85 -0
  16. package/src/classic/frame-css-values.js +156 -0
  17. package/src/classic/frame-css.js +232 -0
  18. package/src/classic/frame-geometry.js +189 -0
  19. package/src/classic/frame-schema.js +328 -0
  20. package/src/classic/frame-vocabulary.js +10 -0
  21. package/src/classic/frames.d.ts +143 -0
  22. package/src/classic/frames.js +77 -0
  23. package/src/classic/material-visibility.js +94 -0
  24. package/src/classic/materials.d.ts +133 -0
  25. package/src/classic/materials.js +139 -0
  26. package/src/classic/optical-css.js +47 -0
  27. package/src/classic/optics.js +107 -0
  28. package/src/classic/refraction.js +145 -0
  29. package/src/fluent2/brand-aliases.js +157 -0
  30. package/src/fluent2/brand.js +84 -0
  31. package/src/fluent2/names.js +31 -0
  32. package/src/index.d.ts +54 -0
  33. package/src/index.js +79 -0
  34. package/src/mapping.js +135 -0
  35. package/src/material3/mapping.js +18 -0
  36. package/src/material3/mui.js +128 -0
  37. package/src/material3/seed.js +144 -0
  38. package/themes/base/theme.lino +35 -0
  39. package/themes/classic/README.md +90 -0
  40. package/themes/classic/deepcase/2025.lino +156 -0
  41. package/themes/classic/deepcase/classic.lino +86 -0
  42. package/themes/classic/deepcase/dark.lino +87 -0
  43. package/themes/classic/deepcase/deepcase-0.1.lino +63 -0
  44. package/themes/classic/deepcase/handler-windows.lino +22 -0
  45. package/themes/classic/deepcase/landing.lino +60 -0
  46. package/themes/classic/deepcase/perception.lino +88 -0
  47. package/themes/classic/formal-ai/chat-bubbles.lino +40 -0
  48. package/themes/classic/formal-ai/chat-cards.lino +40 -0
  49. package/themes/classic/formal-ai/chat-compact.lino +40 -0
  50. package/themes/classic/formal-ai/composer.lino +132 -0
  51. package/themes/classic/formal-ai/fa-contrast.lino +79 -0
  52. package/themes/classic/formal-ai/fa-flat.lino +79 -0
  53. package/themes/classic/formal-ai/fa-glass.lino +79 -0
  54. package/themes/classic/formal-ai/fa-material.lino +79 -0
  55. package/themes/classic/immortality/arwes.lino +59 -0
  56. package/themes/classic/immortality/palettes.lino +968 -0
  57. package/themes/classic/immortality/poseidon.lino +59 -0
  58. package/themes/classic/immortality/quiet.lino +59 -0
  59. package/themes/classic/konard/futuristic.lino +89 -0
  60. package/themes/classic/konard/glass.lino +89 -0
  61. package/themes/classic/konard/liquid.lino +89 -0
  62. package/themes/classic/meta-sovereign/chat-signal.lino +68 -0
  63. package/themes/classic/meta-sovereign/chat-t3.lino +68 -0
  64. package/themes/classic/meta-sovereign/chat-telegram.lino +74 -0
  65. package/themes/classic/meta-sovereign/chat-whatsapp.lino +68 -0
  66. package/themes/fluent2/LICENSE.txt +15 -0
  67. package/themes/fluent2/brand-aliases.lino +101 -0
  68. package/themes/fluent2/colors-dark.lino +1124 -0
  69. package/themes/fluent2/colors-high-contrast.lino +1109 -0
  70. package/themes/fluent2/colors.lino +1489 -0
  71. package/themes/fluent2/fluent-mapping.lino +120 -0
  72. package/themes/fluent2/motion-dark.lino +62 -0
  73. package/themes/fluent2/motion-high-contrast.lino +62 -0
  74. package/themes/fluent2/motion.lino +70 -0
  75. package/themes/fluent2/shadow-dark.lino +50 -0
  76. package/themes/fluent2/shadow-high-contrast.lino +50 -0
  77. package/themes/fluent2/shadow.lino +49 -0
  78. package/themes/fluent2/shape-dark.lino +47 -0
  79. package/themes/fluent2/shape-high-contrast.lino +47 -0
  80. package/themes/fluent2/shape.lino +46 -0
  81. package/themes/fluent2/spacing-dark.lino +68 -0
  82. package/themes/fluent2/spacing-high-contrast.lino +68 -0
  83. package/themes/fluent2/spacing.lino +67 -0
  84. package/themes/fluent2/styles.lino +511 -0
  85. package/themes/fluent2/templates.lino +60 -0
  86. package/themes/fluent2/theme.lino +31 -0
  87. package/themes/fluent2/type-dark.lino +83 -0
  88. package/themes/fluent2/type-high-contrast.lino +83 -0
  89. package/themes/fluent2/type.lino +82 -0
  90. package/themes/hig/colors.lino +54 -0
  91. package/themes/hig/materials.lino +7 -0
  92. package/themes/hig/motion.lino +13 -0
  93. package/themes/hig/shape.lino +5 -0
  94. package/themes/hig/spacing.lino +11 -0
  95. package/themes/hig/styles.lino +143 -0
  96. package/themes/hig/swiftui-mapping.lino +80 -0
  97. package/themes/hig/templates.lino +36 -0
  98. package/themes/hig/theme.lino +3 -0
  99. package/themes/hig/type.lino +26 -0
  100. package/themes/hig-ios/theme.lino +5 -0
  101. package/themes/hig-macos/theme.lino +5 -0
  102. package/themes/material3/colors.lino +320 -0
  103. package/themes/material3/elevation.lino +110 -0
  104. package/themes/material3/motion.lino +102 -0
  105. package/themes/material3/mui-mapping.lino +216 -0
  106. package/themes/material3/shape.lino +16 -0
  107. package/themes/material3/styles.lino +498 -0
  108. package/themes/material3/templates.lino +55 -0
  109. package/themes/material3/theme.lino +7 -0
  110. package/themes/material3/type.lino +336 -0
@@ -0,0 +1,216 @@
1
+ map Button
2
+ kind button
3
+ prop variant contained
4
+ variant filled
5
+ prop variant outlined
6
+ variant outlined
7
+ prop variant text
8
+ variant text
9
+ prop disabled *
10
+ disabled *
11
+ status partial
12
+ map IconButton
13
+ kind icon-button
14
+ prop disabled *
15
+ disabled *
16
+ prop aria-label *
17
+ label *
18
+ status partial
19
+ map TextField
20
+ kind text-field
21
+ prop variant filled
22
+ variant filled
23
+ prop variant outlined
24
+ variant outlined
25
+ prop label *
26
+ label *
27
+ prop value *
28
+ value *
29
+ prop disabled *
30
+ disabled *
31
+ prop required *
32
+ required *
33
+ prop name *
34
+ name *
35
+ prop placeholder *
36
+ placeholder *
37
+ status partial
38
+ map Checkbox
39
+ kind checkbox
40
+ prop checked *
41
+ checked *
42
+ prop disabled *
43
+ disabled *
44
+ prop name *
45
+ name *
46
+ prop value *
47
+ value *
48
+ status partial
49
+ map Radio
50
+ kind radio
51
+ prop value *
52
+ value *
53
+ prop disabled *
54
+ disabled *
55
+ status partial
56
+ map RadioGroup
57
+ kind radio-group
58
+ prop value *
59
+ value *
60
+ prop name *
61
+ name *
62
+ status partial
63
+ map Switch
64
+ kind switch
65
+ prop checked *
66
+ checked *
67
+ prop disabled *
68
+ disabled *
69
+ status partial
70
+ map Slider
71
+ kind slider
72
+ prop value *
73
+ value *
74
+ prop min *
75
+ min *
76
+ prop max *
77
+ max *
78
+ prop step *
79
+ step *
80
+ prop disabled *
81
+ disabled *
82
+ status partial
83
+ map Select
84
+ kind select
85
+ status partial
86
+ map Dialog
87
+ kind dialog
88
+ status partial
89
+ map Menu
90
+ kind menu
91
+ status partial
92
+ map Tooltip
93
+ kind tooltip
94
+ status partial
95
+ map Snackbar
96
+ kind toast
97
+ status partial
98
+ map Drawer
99
+ kind drawer
100
+ status partial
101
+ map AppBar
102
+ kind app-bar
103
+ prop position static
104
+ position static
105
+ prop position sticky
106
+ position sticky
107
+ prop position fixed
108
+ position fixed
109
+ prop color default
110
+ tone surface
111
+ prop color primary
112
+ tone primary
113
+ status partial
114
+ map Tabs
115
+ kind tabs
116
+ status partial
117
+ map Card
118
+ kind card
119
+ prop variant elevation
120
+ variant elevated
121
+ prop variant outlined
122
+ variant outlined
123
+ status partial
124
+ map Paper
125
+ kind paper
126
+ prop elevation *
127
+ elevation *
128
+ prop variant elevation
129
+ variant elevated
130
+ prop variant outlined
131
+ variant outlined
132
+ prop square *
133
+ square *
134
+ status partial
135
+ map Container
136
+ kind container
137
+ prop maxWidth xs
138
+ size extra-small
139
+ prop maxWidth sm
140
+ size small
141
+ prop maxWidth md
142
+ size medium
143
+ prop maxWidth lg
144
+ size large
145
+ prop maxWidth xl
146
+ size extra-large
147
+ prop disableGutters true
148
+ gutters false
149
+ status partial
150
+ map List
151
+ kind list
152
+ status partial
153
+ map Table
154
+ kind table
155
+ status partial
156
+ map Chip
157
+ kind chip
158
+ prop label *
159
+ label *
160
+ prop onDelete *
161
+ removable true
162
+ prop variant filled
163
+ variant filled
164
+ prop variant outlined
165
+ variant outlined
166
+ prop color default
167
+ tone neutral
168
+ prop color primary
169
+ tone primary
170
+ prop color error
171
+ tone error
172
+ prop disabled *
173
+ disabled *
174
+ status partial
175
+ map Accordion
176
+ kind accordion
177
+ prop expanded *
178
+ open *
179
+ prop disabled *
180
+ disabled *
181
+ status partial
182
+ map Avatar
183
+ kind avatar
184
+ prop src *
185
+ source *
186
+ status partial
187
+ map Badge
188
+ kind badge
189
+ prop badgeContent *
190
+ value *
191
+ status partial
192
+ map Box
193
+ kind stack
194
+ status partial
195
+ map Stack
196
+ kind stack
197
+ prop direction row
198
+ direction horizontal
199
+ prop direction column
200
+ direction vertical
201
+ status partial
202
+ map Grid
203
+ kind grid
204
+ status partial
205
+ map Typography
206
+ kind text
207
+ status partial
208
+ map CircularProgress
209
+ kind progress
210
+ prop variant determinate
211
+ shape circular
212
+ prop variant indeterminate
213
+ shape circular
214
+ prop value *
215
+ value *
216
+ status partial
@@ -0,0 +1,16 @@
1
+ material3-shape: theme
2
+ source 'https://m3.material.io/styles/shape/corner-radius-scale'
3
+ token shape.corner.none 0px
4
+ m3 md.sys.shape.corner.none
5
+ token shape.corner.extra-small 4px
6
+ m3 md.sys.shape.corner.extra-small
7
+ token shape.corner.small 8px
8
+ m3 md.sys.shape.corner.small
9
+ token shape.corner.medium 12px
10
+ m3 md.sys.shape.corner.medium
11
+ token shape.corner.large 16px
12
+ m3 md.sys.shape.corner.large
13
+ token shape.corner.extra-large 28px
14
+ m3 md.sys.shape.corner.extra-large
15
+ token shape.corner.full 9999px
16
+ m3 md.sys.shape.corner.full
@@ -0,0 +1,498 @@
1
+ material3-styles: theme
2
+ source 'https://m3.material.io/components/buttons/specs'
3
+ style
4
+ selector
5
+ data-part root
6
+ within
7
+ type button
8
+ variant filled
9
+ background
10
+ token color.primary
11
+ color
12
+ token color.on-primary
13
+ radius
14
+ token shape.corner.full
15
+ font-size
16
+ token type.label.large.size
17
+ font-weight
18
+ token type.label.large.weight
19
+ style
20
+ selector
21
+ data-part root
22
+ within
23
+ type button
24
+ variant tonal
25
+ background
26
+ token color.secondary-container
27
+ color
28
+ token color.on-secondary-container
29
+ radius
30
+ token shape.corner.full
31
+ font-size
32
+ token type.label.large.size
33
+ font-weight
34
+ token type.label.large.weight
35
+ style
36
+ selector
37
+ data-part root
38
+ within
39
+ type button
40
+ variant outlined
41
+ background
42
+ token color.surface
43
+ color
44
+ token color.primary
45
+ radius
46
+ token shape.corner.full
47
+ font-size
48
+ token type.label.large.size
49
+ font-weight
50
+ token type.label.large.weight
51
+ border-width 1px
52
+ border-color
53
+ token color.outline
54
+ style
55
+ selector
56
+ data-part root
57
+ within
58
+ type button
59
+ variant text
60
+ background
61
+ token color.surface
62
+ color
63
+ token color.primary
64
+ radius
65
+ token shape.corner.full
66
+ font-size
67
+ token type.label.large.size
68
+ font-weight
69
+ token type.label.large.weight
70
+ style
71
+ selector
72
+ data-part root
73
+ within
74
+ type button
75
+ variant elevated
76
+ background
77
+ token color.surface-container-low
78
+ color
79
+ token color.primary
80
+ radius
81
+ token shape.corner.full
82
+ font-size
83
+ token type.label.large.size
84
+ font-weight
85
+ token type.label.large.weight
86
+ elevation 1
87
+ style
88
+ selector
89
+ data-part root
90
+ within
91
+ type button
92
+ state hover
93
+ elevation 101
94
+ state focus
95
+ elevation 102
96
+ state pressed
97
+ elevation 102
98
+ style
99
+ selector
100
+ data-part input
101
+ within
102
+ type text-field
103
+ state hover
104
+ elevation 101
105
+ state focus
106
+ elevation 102
107
+ state pressed
108
+ elevation 102
109
+ style
110
+ selector
111
+ data-part input
112
+ within
113
+ type checkbox
114
+ state hover
115
+ elevation 101
116
+ state focus
117
+ elevation 102
118
+ state pressed
119
+ elevation 102
120
+ style
121
+ selector
122
+ data-part input
123
+ within
124
+ type radio
125
+ state hover
126
+ elevation 101
127
+ state focus
128
+ elevation 102
129
+ state pressed
130
+ elevation 102
131
+ style
132
+ selector
133
+ data-part input
134
+ within
135
+ type switch
136
+ state hover
137
+ elevation 101
138
+ state focus
139
+ elevation 102
140
+ state pressed
141
+ elevation 102
142
+ style
143
+ selector
144
+ data-part thumb
145
+ within
146
+ type slider
147
+ state hover
148
+ elevation 101
149
+ state focus
150
+ elevation 102
151
+ state pressed
152
+ elevation 102
153
+ style
154
+ selector
155
+ data-part root
156
+ within
157
+ type chip
158
+ variant filled
159
+ tone neutral
160
+ background
161
+ token color.secondary-container
162
+ color
163
+ token color.on-secondary-container
164
+ radius
165
+ token shape.corner.small
166
+ font-size
167
+ token type.label.large.size
168
+ font-weight
169
+ token type.label.large.weight
170
+ style
171
+ selector
172
+ data-part root
173
+ within
174
+ type chip
175
+ variant filled
176
+ tone primary
177
+ background
178
+ token color.primary-container
179
+ color
180
+ token color.on-primary-container
181
+ radius
182
+ token shape.corner.small
183
+ font-size
184
+ token type.label.large.size
185
+ font-weight
186
+ token type.label.large.weight
187
+ style
188
+ selector
189
+ data-part root
190
+ within
191
+ type chip
192
+ variant filled
193
+ tone error
194
+ background
195
+ token color.error-container
196
+ color
197
+ token color.on-error-container
198
+ radius
199
+ token shape.corner.small
200
+ font-size
201
+ token type.label.large.size
202
+ font-weight
203
+ token type.label.large.weight
204
+ style
205
+ selector
206
+ data-part root
207
+ within
208
+ type chip
209
+ variant outlined
210
+ tone neutral
211
+ background
212
+ token color.surface
213
+ color
214
+ token color.on-surface-variant
215
+ radius
216
+ token shape.corner.small
217
+ font-size
218
+ token type.label.large.size
219
+ font-weight
220
+ token type.label.large.weight
221
+ border-width 1px
222
+ border-color
223
+ token color.outline
224
+ style
225
+ selector
226
+ data-part root
227
+ within
228
+ type chip
229
+ variant outlined
230
+ tone primary
231
+ background
232
+ token color.surface
233
+ color
234
+ token color.primary
235
+ radius
236
+ token shape.corner.small
237
+ font-size
238
+ token type.label.large.size
239
+ font-weight
240
+ token type.label.large.weight
241
+ border-width 1px
242
+ border-color
243
+ token color.outline
244
+ style
245
+ selector
246
+ data-part root
247
+ within
248
+ type chip
249
+ variant outlined
250
+ tone error
251
+ background
252
+ token color.surface
253
+ color
254
+ token color.error
255
+ radius
256
+ token shape.corner.small
257
+ font-size
258
+ token type.label.large.size
259
+ font-weight
260
+ token type.label.large.weight
261
+ border-width 1px
262
+ border-color
263
+ token color.outline
264
+ style
265
+ selector
266
+ data-part trigger
267
+ within
268
+ type accordion
269
+ color
270
+ token color.on-surface
271
+ font-size
272
+ token type.title.medium.size
273
+ font-weight
274
+ token type.title.medium.weight
275
+ style
276
+ selector
277
+ data-part content
278
+ within
279
+ type accordion
280
+ color
281
+ token color.on-surface-variant
282
+ font-size
283
+ token type.body.medium.size
284
+ style
285
+ selector
286
+ type card
287
+ variant elevated
288
+ background
289
+ token color.surface-container-low
290
+ color
291
+ token color.on-surface
292
+ radius
293
+ token shape.corner.medium
294
+ elevation 1
295
+ style
296
+ selector
297
+ type card
298
+ variant filled
299
+ background
300
+ token color.surface-container-highest
301
+ color
302
+ token color.on-surface
303
+ radius
304
+ token shape.corner.medium
305
+ style
306
+ selector
307
+ type card
308
+ variant outlined
309
+ background
310
+ token color.surface
311
+ color
312
+ token color.on-surface
313
+ radius
314
+ token shape.corner.medium
315
+ border-width 1px
316
+ border-color
317
+ token color.outline-variant
318
+ style
319
+ selector
320
+ data-part title
321
+ within
322
+ type card
323
+ font-size
324
+ token type.title.large.size
325
+ font-weight
326
+ token type.title.large.weight
327
+ style
328
+ selector
329
+ data-part subtitle
330
+ within
331
+ type card
332
+ color
333
+ token color.on-surface-variant
334
+ font-size
335
+ token type.body.medium.size
336
+ style
337
+ selector
338
+ type paper
339
+ variant elevated
340
+ elevation 0
341
+ background
342
+ token color.surface
343
+ color
344
+ token color.on-surface
345
+ elevation 0
346
+ style
347
+ selector
348
+ type paper
349
+ variant elevated
350
+ elevation 1
351
+ background
352
+ token color.surface-container-low
353
+ color
354
+ token color.on-surface
355
+ elevation 1
356
+ style
357
+ selector
358
+ type paper
359
+ variant elevated
360
+ elevation 2
361
+ background
362
+ token color.surface-container
363
+ color
364
+ token color.on-surface
365
+ elevation 2
366
+ style
367
+ selector
368
+ type paper
369
+ variant elevated
370
+ elevation 3
371
+ background
372
+ token color.surface-container-high
373
+ color
374
+ token color.on-surface
375
+ elevation 3
376
+ style
377
+ selector
378
+ type paper
379
+ variant elevated
380
+ elevation 4
381
+ background
382
+ token color.surface-container-high
383
+ color
384
+ token color.on-surface
385
+ elevation 4
386
+ style
387
+ selector
388
+ type paper
389
+ variant elevated
390
+ elevation 5
391
+ background
392
+ token color.surface-container-highest
393
+ color
394
+ token color.on-surface
395
+ elevation 5
396
+ style
397
+ selector
398
+ type paper
399
+ variant outlined
400
+ background
401
+ token color.surface
402
+ color
403
+ token color.on-surface
404
+ border-width 1px
405
+ border-color
406
+ token color.outline-variant
407
+ style
408
+ selector
409
+ data-part root
410
+ within
411
+ type app-bar
412
+ tone surface
413
+ background
414
+ token color.surface-container
415
+ color
416
+ token color.on-surface
417
+ style
418
+ selector
419
+ data-part root
420
+ within
421
+ type app-bar
422
+ tone primary
423
+ background
424
+ token color.primary
425
+ color
426
+ token color.on-primary
427
+ style
428
+ selector
429
+ data-part title
430
+ within
431
+ type app-bar
432
+ font-size
433
+ token type.title.large.size
434
+ font-weight
435
+ token type.title.large.weight
436
+ token elevation.101
437
+ shadow
438
+ color '#00000014'
439
+ offset-x 0px
440
+ offset-y 0px
441
+ blur 0px
442
+ spread 1000px
443
+ inset true
444
+ token elevation.102
445
+ shadow
446
+ color '#0000001f'
447
+ offset-x 0px
448
+ offset-y 0px
449
+ blur 0px
450
+ spread 1000px
451
+ inset true
452
+ style
453
+ selector
454
+ data-part input
455
+ within
456
+ type text-field
457
+ variant filled
458
+ background
459
+ token color.surface-container-highest
460
+ color
461
+ token color.on-surface
462
+ radius
463
+ token shape.corner.extra-small
464
+ border-width 0px
465
+ state focus
466
+ border-width 2px
467
+ border-color
468
+ token color.primary
469
+ style
470
+ selector
471
+ data-part input
472
+ within
473
+ type text-field
474
+ variant outlined
475
+ background
476
+ token color.surface
477
+ color
478
+ token color.on-surface
479
+ radius
480
+ token shape.corner.extra-small
481
+ border-width 1px
482
+ mode dark
483
+ token elevation.101
484
+ shadow
485
+ color '#ffffff14'
486
+ offset-x 0px
487
+ offset-y 0px
488
+ blur 0px
489
+ spread 1000px
490
+ inset true
491
+ token elevation.102
492
+ shadow
493
+ color '#ffffff1f'
494
+ offset-x 0px
495
+ offset-y 0px
496
+ blur 0px
497
+ spread 1000px
498
+ inset true