@dixy-ui/themes 0.1.0-beta.3 → 0.1.0-beta.4
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/dist/ansi-panes.css +74 -5
- package/dist/arcade/ornament.d.ts +3 -0
- package/dist/arcade/ornament.js +8 -0
- package/dist/arcade-cabinet.css +1086 -0
- package/dist/art-deco.css +74 -5
- package/dist/atomic-lounge.css +78 -5
- package/dist/authoring.d.ts +8 -8
- package/dist/azulejo-tile.css +78 -5
- package/dist/blueprint.css +74 -5
- package/dist/brutalist-concrete.css +78 -5
- package/dist/bytes.json +97 -62
- package/dist/candy-clay.css +80 -5
- package/dist/catalog.d.ts +294 -0
- package/dist/catalog.js +301 -0
- package/dist/character.d.ts +1 -1
- package/dist/character.js +6 -0
- package/dist/chrome.js +13 -3
- package/dist/compile-css.js +22 -5
- package/dist/dispatch.css +731 -0
- package/dist/diwali-lights.css +78 -5
- package/dist/documents.d.ts +115 -7
- package/dist/documents.js +10 -2
- package/dist/foundations.d.ts +8 -0
- package/dist/foundations.js +10 -0
- package/dist/frame-styles.d.ts +3 -0
- package/dist/frame-styles.js +6 -0
- package/dist/freighter.css +140 -15
- package/dist/glass-ui.css +74 -5
- package/dist/holi-colours.css +78 -5
- package/dist/ledger.css +566 -0
- package/dist/living-forest.css +80 -5
- package/dist/mainframe.css +764 -0
- package/dist/manifests.d.ts +144 -144
- package/dist/material-light.css +78 -5
- package/dist/neon-night-market.css +78 -5
- package/dist/ocean-depths.css +80 -5
- package/dist/orbital-hud.css +140 -15
- package/dist/organic-paint-launch.d.ts +9 -0
- package/dist/organic-paint-launch.js +121 -46
- package/dist/organic-paint.d.ts +1 -1
- package/dist/organic-settings.d.ts +109 -25
- package/dist/organic-settings.js +49 -0
- package/dist/papel-picado.css +78 -5
- package/dist/phosphor-terminal.css +78 -5
- package/dist/prism-glass.css +74 -5
- package/dist/recipes.d.ts +162 -0
- package/dist/recipes.js +164 -0
- package/dist/resolve.d.ts +18 -2
- package/dist/retro-os.css +74 -5
- package/dist/riso-zine.css +74 -5
- package/dist/save-point.css +948 -0
- package/dist/savepoint/ornament.d.ts +3 -0
- package/dist/savepoint/ornament.js +8 -0
- package/dist/scrapbook.css +74 -5
- package/dist/signal.css +563 -0
- package/dist/skins/arcade-cabinet.d.ts +68 -0
- package/dist/skins/arcade-cabinet.js +68 -0
- package/dist/skins/dispatch.d.ts +57 -0
- package/dist/skins/dispatch.js +57 -0
- package/dist/skins/ledger.d.ts +57 -0
- package/dist/skins/ledger.js +57 -0
- package/dist/skins/mainframe.d.ts +57 -0
- package/dist/skins/mainframe.js +57 -0
- package/dist/skins/save-point.d.ts +68 -0
- package/dist/skins/save-point.js +68 -0
- package/dist/skins/signal.d.ts +57 -0
- package/dist/skins/signal.js +57 -0
- package/dist/skins/sunset-drive.d.ts +68 -0
- package/dist/skins/sunset-drive.js +68 -0
- package/dist/solar-sail.css +74 -5
- package/dist/starters-launch.d.ts +24 -0
- package/dist/starters-launch.js +343 -0
- package/dist/studio-hardware.css +78 -5
- package/dist/sumi-ink.css +74 -5
- package/dist/sunset/ornament.d.ts +3 -0
- package/dist/sunset/ornament.js +8 -0
- package/dist/sunset-drive.css +1024 -0
- package/dist/swiss-poster.css +144 -15
- package/dist/tactile-atelier.css +80 -5
- package/dist/theme-document.schema.json +34 -6
- package/dist/theme-fix.d.ts +11 -0
- package/dist/theme-fix.js +32 -0
- package/dist/theme-fixes.d.ts +2 -0
- package/dist/theme-fixes.js +1 -0
- package/dist/theme-schema.d.ts +6 -6
- package/dist/theme-schema.js +2 -0
- package/dist/tokyo-transit.css +78 -5
- package/dist/winamp-signal.css +78 -5
- package/dist/y2k-titanium.css +146 -15
- package/dist/yule-knit.css +74 -5
- package/package.json +50 -3
package/dist/papel-picado.css
CHANGED
|
@@ -42,6 +42,11 @@
|
|
|
42
42
|
"Bricolage Grotesque Variable", "Bricolage Grotesque", ui-sans-serif,
|
|
43
43
|
sans-serif;
|
|
44
44
|
--dixy-skin-edge: #f3cfb0;
|
|
45
|
+
--dixy-skin-field-edge: color-mix(
|
|
46
|
+
in oklab,
|
|
47
|
+
var(--dixy-color-base-9) 50%,
|
|
48
|
+
var(--dixy-color-base-8)
|
|
49
|
+
);
|
|
45
50
|
--dixy-organic-density: 55;
|
|
46
51
|
--dixy-organic-cornerDensity: 60;
|
|
47
52
|
--dixy-organic-canopyDepth: 45;
|
|
@@ -139,7 +144,6 @@
|
|
|
139
144
|
--dixy-organic-b: #f06595;
|
|
140
145
|
--dixy-organic-c: #9775fa;
|
|
141
146
|
--dixy-organic-d: #38d9a9;
|
|
142
|
-
--dixy-skin-selected: var(--dixy-skin-finish);
|
|
143
147
|
--dixy-color-text-primary: color-mix(
|
|
144
148
|
in srgb,
|
|
145
149
|
var(--dixy-color-base-12) 75%,
|
|
@@ -157,6 +161,7 @@
|
|
|
157
161
|
#1e1533
|
|
158
162
|
);
|
|
159
163
|
}
|
|
164
|
+
|
|
160
165
|
.dixy-theme[data-dixy-skin="dixy/papel-picado"][data-relief="2"] {
|
|
161
166
|
--dixy-skin-shadow:
|
|
162
167
|
var(--dixy-skin-depth-shadow, var(--dixy-skin-authored-shadow)),
|
|
@@ -292,6 +297,30 @@
|
|
|
292
297
|
):not([data-variant="soft"]) {
|
|
293
298
|
background-color: var(--dixy-skin-surface);
|
|
294
299
|
}
|
|
300
|
+
:is(
|
|
301
|
+
.dixy-dialog-popup,
|
|
302
|
+
.dixy-alert-dialog-popup,
|
|
303
|
+
.dixy-drawer-popup,
|
|
304
|
+
.dixy-popover-popup,
|
|
305
|
+
.dixy-preview-card-popup,
|
|
306
|
+
.dixy-tooltip-popup,
|
|
307
|
+
.dixy-select-popup,
|
|
308
|
+
.dixy-combobox-popup,
|
|
309
|
+
.dixy-autocomplete-popup,
|
|
310
|
+
.dixy-menu-popup,
|
|
311
|
+
.dixy-context-menu-popup,
|
|
312
|
+
.dixy-navigation-menu-popup
|
|
313
|
+
)[data-dixy-skin="dixy/papel-picado"]:not(
|
|
314
|
+
[data-dixy-material-override]
|
|
315
|
+
):not(:where([data-dixy-material-override]) *):not(
|
|
316
|
+
[data-variant="solid"]
|
|
317
|
+
):not([data-variant="soft"]) {
|
|
318
|
+
background-color: color-mix(
|
|
319
|
+
in srgb,
|
|
320
|
+
var(--dixy-color-background-surface-raised) 94%,
|
|
321
|
+
var(--dixy-skin-surface)
|
|
322
|
+
);
|
|
323
|
+
}
|
|
295
324
|
:is(
|
|
296
325
|
.dixy-input,
|
|
297
326
|
.dixy-textarea,
|
|
@@ -324,7 +353,7 @@
|
|
|
324
353
|
[data-dixy-material-override]
|
|
325
354
|
):not(:where([data-dixy-material-override]) *) {
|
|
326
355
|
border-width: var(--dixy-input-border-width);
|
|
327
|
-
border-color: var(--dixy-skin-edge);
|
|
356
|
+
border-color: var(--dixy-skin-field-edge);
|
|
328
357
|
background-image: var(--dixy-skin-paint);
|
|
329
358
|
background-color: var(--dixy-color-background-canvas);
|
|
330
359
|
background-size:
|
|
@@ -334,6 +363,45 @@
|
|
|
334
363
|
100% 100%;
|
|
335
364
|
box-shadow: var(--dixy-skin-inset);
|
|
336
365
|
}
|
|
366
|
+
/* materials.css styles [data-dixy-visual] surfaces at 0,5,0. Match the
|
|
367
|
+
skin's paint to that so its image and grain size always land together;
|
|
368
|
+
otherwise the material image is tiled at the grain size (stripes). */
|
|
369
|
+
:is(
|
|
370
|
+
.dixy-card,
|
|
371
|
+
.dixy-box,
|
|
372
|
+
.dixy-dialog-popup,
|
|
373
|
+
.dixy-alert-dialog-popup,
|
|
374
|
+
.dixy-drawer-popup,
|
|
375
|
+
.dixy-popover-popup,
|
|
376
|
+
.dixy-preview-card-popup,
|
|
377
|
+
.dixy-tooltip-popup,
|
|
378
|
+
.dixy-select-popup,
|
|
379
|
+
.dixy-combobox-popup,
|
|
380
|
+
.dixy-autocomplete-popup,
|
|
381
|
+
.dixy-menu-popup,
|
|
382
|
+
.dixy-context-menu-popup,
|
|
383
|
+
.dixy-navigation-menu-popup,
|
|
384
|
+
.dixy-toast-root,
|
|
385
|
+
.dixy-alert,
|
|
386
|
+
.dixy-list-box,
|
|
387
|
+
.dixy-calendar,
|
|
388
|
+
.dixy-range-calendar,
|
|
389
|
+
.dixy-input,
|
|
390
|
+
.dixy-textarea,
|
|
391
|
+
.dixy-native-select,
|
|
392
|
+
.dixy-select-trigger,
|
|
393
|
+
.dixy-input-group,
|
|
394
|
+
.dixy-combobox-input-group,
|
|
395
|
+
.dixy-autocomplete-input-group,
|
|
396
|
+
.dixy-number-field-group,
|
|
397
|
+
.dixy-otp-field-input
|
|
398
|
+
)[data-dixy-skin="dixy/papel-picado"]:not(
|
|
399
|
+
[data-dixy-material-override]
|
|
400
|
+
):not(
|
|
401
|
+
:where([data-dixy-material-override]) *
|
|
402
|
+
)[data-dixy-visual][data-material]:not([data-disabled]) {
|
|
403
|
+
background-image: var(--dixy-skin-paint);
|
|
404
|
+
}
|
|
337
405
|
:is(.dixy-button)[data-dixy-skin="dixy/papel-picado"]:not(
|
|
338
406
|
[data-dixy-material-override]
|
|
339
407
|
):not(:where([data-dixy-material-override]) *):is(
|
|
@@ -364,14 +432,19 @@
|
|
|
364
432
|
border: 1px solid var(--dixy-skin-edge);
|
|
365
433
|
box-shadow: var(--dixy-skin-inset);
|
|
366
434
|
}
|
|
435
|
+
/* Selected tabs and toggles are one flat colour, lifted by edge and relief only. A gradient behind the label (thumb art, sheen, material image) splits it across two colours. :not([data-variant="line"]) also outranks materials.css (0,3,0). */
|
|
367
436
|
:is(.dixy-tabs-indicator)[data-dixy-skin="dixy/papel-picado"]:not(
|
|
368
437
|
[data-dixy-material-override]
|
|
369
438
|
):not(:where([data-dixy-material-override]) *) {
|
|
370
|
-
background-image: var(--dixy-skin-finish);
|
|
371
439
|
box-shadow: var(--dixy-skin-control-relief);
|
|
372
440
|
border: 1px solid var(--dixy-skin-edge);
|
|
373
441
|
}
|
|
374
|
-
|
|
442
|
+
:is(.dixy-tabs-indicator)[data-dixy-skin="dixy/papel-picado"]:not(
|
|
443
|
+
[data-dixy-material-override]
|
|
444
|
+
):not(:where([data-dixy-material-override]) *):not([data-variant="line"]) {
|
|
445
|
+
background-image: none;
|
|
446
|
+
}
|
|
447
|
+
/* Toggle groups read like tabs: a sunken track, the selected toggle a raised, flat thumb. */
|
|
375
448
|
.dixy-theme[data-dixy-skin="dixy/papel-picado"]
|
|
376
449
|
.dixy-toggle-group:is([data-attached], [data-segmented]):not(
|
|
377
450
|
[data-dixy-material-override]
|
|
@@ -386,7 +459,7 @@
|
|
|
386
459
|
[data-variant="solid"]
|
|
387
460
|
)[data-pressed]:not([data-disabled]) {
|
|
388
461
|
background-color: var(--dixy-color-background-surface-raised);
|
|
389
|
-
background-image:
|
|
462
|
+
background-image: none;
|
|
390
463
|
box-shadow: var(--dixy-skin-control-relief);
|
|
391
464
|
border-color: var(--dixy-skin-edge);
|
|
392
465
|
color: var(--dixy-color-text-primary);
|
|
@@ -27,6 +27,11 @@
|
|
|
27
27
|
--dixy-font-title-sm-family:
|
|
28
28
|
"VT323", "Share Tech Mono", ui-monospace, monospace;
|
|
29
29
|
--dixy-skin-edge: #7fae88;
|
|
30
|
+
--dixy-skin-field-edge: color-mix(
|
|
31
|
+
in oklab,
|
|
32
|
+
var(--dixy-color-base-9) 50%,
|
|
33
|
+
var(--dixy-color-base-8)
|
|
34
|
+
);
|
|
30
35
|
--dixy-organic-density: 55;
|
|
31
36
|
--dixy-organic-cornerDensity: 70;
|
|
32
37
|
--dixy-organic-canopyDepth: 30;
|
|
@@ -120,7 +125,6 @@
|
|
|
120
125
|
--dixy-organic-b: #1f9e44;
|
|
121
126
|
--dixy-organic-c: #ffb000;
|
|
122
127
|
--dixy-organic-d: #7dffa0;
|
|
123
|
-
--dixy-skin-selected: var(--dixy-skin-finish);
|
|
124
128
|
--dixy-color-text-primary: color-mix(
|
|
125
129
|
in srgb,
|
|
126
130
|
var(--dixy-color-base-12) 44.99999999999999%,
|
|
@@ -138,6 +142,7 @@
|
|
|
138
142
|
#040b06
|
|
139
143
|
);
|
|
140
144
|
}
|
|
145
|
+
|
|
141
146
|
.dixy-theme[data-dixy-skin="dixy/phosphor-terminal"][data-relief="2"] {
|
|
142
147
|
--dixy-skin-shadow:
|
|
143
148
|
var(--dixy-skin-depth-shadow, var(--dixy-skin-authored-shadow)),
|
|
@@ -273,6 +278,30 @@
|
|
|
273
278
|
):not([data-variant="soft"]) {
|
|
274
279
|
background-color: var(--dixy-skin-surface);
|
|
275
280
|
}
|
|
281
|
+
:is(
|
|
282
|
+
.dixy-dialog-popup,
|
|
283
|
+
.dixy-alert-dialog-popup,
|
|
284
|
+
.dixy-drawer-popup,
|
|
285
|
+
.dixy-popover-popup,
|
|
286
|
+
.dixy-preview-card-popup,
|
|
287
|
+
.dixy-tooltip-popup,
|
|
288
|
+
.dixy-select-popup,
|
|
289
|
+
.dixy-combobox-popup,
|
|
290
|
+
.dixy-autocomplete-popup,
|
|
291
|
+
.dixy-menu-popup,
|
|
292
|
+
.dixy-context-menu-popup,
|
|
293
|
+
.dixy-navigation-menu-popup
|
|
294
|
+
)[data-dixy-skin="dixy/phosphor-terminal"]:not(
|
|
295
|
+
[data-dixy-material-override]
|
|
296
|
+
):not(:where([data-dixy-material-override]) *):not(
|
|
297
|
+
[data-variant="solid"]
|
|
298
|
+
):not([data-variant="soft"]) {
|
|
299
|
+
background-color: color-mix(
|
|
300
|
+
in srgb,
|
|
301
|
+
var(--dixy-color-background-surface-raised) 94%,
|
|
302
|
+
var(--dixy-skin-surface)
|
|
303
|
+
);
|
|
304
|
+
}
|
|
276
305
|
:is(
|
|
277
306
|
.dixy-input,
|
|
278
307
|
.dixy-textarea,
|
|
@@ -305,7 +334,7 @@
|
|
|
305
334
|
[data-dixy-material-override]
|
|
306
335
|
):not(:where([data-dixy-material-override]) *) {
|
|
307
336
|
border-width: var(--dixy-input-border-width);
|
|
308
|
-
border-color: var(--dixy-skin-edge);
|
|
337
|
+
border-color: var(--dixy-skin-field-edge);
|
|
309
338
|
background-image: var(--dixy-skin-paint);
|
|
310
339
|
background-color: var(--dixy-color-background-canvas);
|
|
311
340
|
background-size:
|
|
@@ -315,6 +344,45 @@
|
|
|
315
344
|
100% 100%;
|
|
316
345
|
box-shadow: var(--dixy-skin-inset);
|
|
317
346
|
}
|
|
347
|
+
/* materials.css styles [data-dixy-visual] surfaces at 0,5,0. Match the
|
|
348
|
+
skin's paint to that so its image and grain size always land together;
|
|
349
|
+
otherwise the material image is tiled at the grain size (stripes). */
|
|
350
|
+
:is(
|
|
351
|
+
.dixy-card,
|
|
352
|
+
.dixy-box,
|
|
353
|
+
.dixy-dialog-popup,
|
|
354
|
+
.dixy-alert-dialog-popup,
|
|
355
|
+
.dixy-drawer-popup,
|
|
356
|
+
.dixy-popover-popup,
|
|
357
|
+
.dixy-preview-card-popup,
|
|
358
|
+
.dixy-tooltip-popup,
|
|
359
|
+
.dixy-select-popup,
|
|
360
|
+
.dixy-combobox-popup,
|
|
361
|
+
.dixy-autocomplete-popup,
|
|
362
|
+
.dixy-menu-popup,
|
|
363
|
+
.dixy-context-menu-popup,
|
|
364
|
+
.dixy-navigation-menu-popup,
|
|
365
|
+
.dixy-toast-root,
|
|
366
|
+
.dixy-alert,
|
|
367
|
+
.dixy-list-box,
|
|
368
|
+
.dixy-calendar,
|
|
369
|
+
.dixy-range-calendar,
|
|
370
|
+
.dixy-input,
|
|
371
|
+
.dixy-textarea,
|
|
372
|
+
.dixy-native-select,
|
|
373
|
+
.dixy-select-trigger,
|
|
374
|
+
.dixy-input-group,
|
|
375
|
+
.dixy-combobox-input-group,
|
|
376
|
+
.dixy-autocomplete-input-group,
|
|
377
|
+
.dixy-number-field-group,
|
|
378
|
+
.dixy-otp-field-input
|
|
379
|
+
)[data-dixy-skin="dixy/phosphor-terminal"]:not(
|
|
380
|
+
[data-dixy-material-override]
|
|
381
|
+
):not(
|
|
382
|
+
:where([data-dixy-material-override]) *
|
|
383
|
+
)[data-dixy-visual][data-material]:not([data-disabled]) {
|
|
384
|
+
background-image: var(--dixy-skin-paint);
|
|
385
|
+
}
|
|
318
386
|
:is(.dixy-button)[data-dixy-skin="dixy/phosphor-terminal"]:not(
|
|
319
387
|
[data-dixy-material-override]
|
|
320
388
|
):not(:where([data-dixy-material-override]) *):is(
|
|
@@ -345,14 +413,19 @@
|
|
|
345
413
|
border: 1px solid var(--dixy-skin-edge);
|
|
346
414
|
box-shadow: var(--dixy-skin-inset);
|
|
347
415
|
}
|
|
416
|
+
/* Selected tabs and toggles are one flat colour, lifted by edge and relief only. A gradient behind the label (thumb art, sheen, material image) splits it across two colours. :not([data-variant="line"]) also outranks materials.css (0,3,0). */
|
|
348
417
|
:is(.dixy-tabs-indicator)[data-dixy-skin="dixy/phosphor-terminal"]:not(
|
|
349
418
|
[data-dixy-material-override]
|
|
350
419
|
):not(:where([data-dixy-material-override]) *) {
|
|
351
|
-
background-image: var(--dixy-skin-finish);
|
|
352
420
|
box-shadow: var(--dixy-skin-control-relief);
|
|
353
421
|
border: 1px solid var(--dixy-skin-edge);
|
|
354
422
|
}
|
|
355
|
-
|
|
423
|
+
:is(.dixy-tabs-indicator)[data-dixy-skin="dixy/phosphor-terminal"]:not(
|
|
424
|
+
[data-dixy-material-override]
|
|
425
|
+
):not(:where([data-dixy-material-override]) *):not([data-variant="line"]) {
|
|
426
|
+
background-image: none;
|
|
427
|
+
}
|
|
428
|
+
/* Toggle groups read like tabs: a sunken track, the selected toggle a raised, flat thumb. */
|
|
356
429
|
.dixy-theme[data-dixy-skin="dixy/phosphor-terminal"]
|
|
357
430
|
.dixy-toggle-group:is([data-attached], [data-segmented]):not(
|
|
358
431
|
[data-dixy-material-override]
|
|
@@ -367,7 +440,7 @@
|
|
|
367
440
|
[data-variant="solid"]
|
|
368
441
|
)[data-pressed]:not([data-disabled]) {
|
|
369
442
|
background-color: var(--dixy-color-background-surface-raised);
|
|
370
|
-
background-image:
|
|
443
|
+
background-image: none;
|
|
371
444
|
box-shadow: var(--dixy-skin-control-relief);
|
|
372
445
|
border-color: var(--dixy-skin-edge);
|
|
373
446
|
color: var(--dixy-color-text-primary);
|
package/dist/prism-glass.css
CHANGED
|
@@ -33,6 +33,11 @@
|
|
|
33
33
|
--dixy-font-title-sm-family:
|
|
34
34
|
"Manrope Variable", "Manrope", ui-sans-serif, system-ui, sans-serif;
|
|
35
35
|
--dixy-skin-edge: rgb(255 255 255 / 0.75);
|
|
36
|
+
--dixy-skin-field-edge: color-mix(
|
|
37
|
+
in oklab,
|
|
38
|
+
var(--dixy-color-base-9) 50%,
|
|
39
|
+
var(--dixy-color-base-8)
|
|
40
|
+
);
|
|
36
41
|
|
|
37
42
|
--dixy-skin-surface: color-mix(
|
|
38
43
|
in srgb,
|
|
@@ -127,7 +132,6 @@
|
|
|
127
132
|
--dixy-font-title-sm-letter-spacing: -0.03em;
|
|
128
133
|
}
|
|
129
134
|
.dixy-theme[data-dixy-skin="dixy/prism-glass"][data-appearance="dark"] {
|
|
130
|
-
--dixy-skin-selected: var(--dixy-skin-finish);
|
|
131
135
|
--dixy-skin-edge: rgb(255 255 255 / 0.16);
|
|
132
136
|
--dixy-skin-canvas:
|
|
133
137
|
radial-gradient(
|
|
@@ -156,6 +160,7 @@
|
|
|
156
160
|
#1c1b33a6
|
|
157
161
|
);
|
|
158
162
|
}
|
|
163
|
+
|
|
159
164
|
.dixy-theme[data-dixy-skin="dixy/prism-glass"][data-relief="2"] {
|
|
160
165
|
--dixy-skin-shadow:
|
|
161
166
|
var(--dixy-skin-depth-shadow, var(--dixy-skin-authored-shadow)),
|
|
@@ -289,6 +294,28 @@
|
|
|
289
294
|
):not([data-variant="solid"]):not([data-variant="soft"]) {
|
|
290
295
|
background-color: var(--dixy-skin-surface);
|
|
291
296
|
}
|
|
297
|
+
:is(
|
|
298
|
+
.dixy-dialog-popup,
|
|
299
|
+
.dixy-alert-dialog-popup,
|
|
300
|
+
.dixy-drawer-popup,
|
|
301
|
+
.dixy-popover-popup,
|
|
302
|
+
.dixy-preview-card-popup,
|
|
303
|
+
.dixy-tooltip-popup,
|
|
304
|
+
.dixy-select-popup,
|
|
305
|
+
.dixy-combobox-popup,
|
|
306
|
+
.dixy-autocomplete-popup,
|
|
307
|
+
.dixy-menu-popup,
|
|
308
|
+
.dixy-context-menu-popup,
|
|
309
|
+
.dixy-navigation-menu-popup
|
|
310
|
+
)[data-dixy-skin="dixy/prism-glass"]:not([data-dixy-material-override]):not(
|
|
311
|
+
:where([data-dixy-material-override]) *
|
|
312
|
+
):not([data-variant="solid"]):not([data-variant="soft"]) {
|
|
313
|
+
background-color: color-mix(
|
|
314
|
+
in srgb,
|
|
315
|
+
var(--dixy-color-background-surface-raised) 72%,
|
|
316
|
+
var(--dixy-skin-surface)
|
|
317
|
+
);
|
|
318
|
+
}
|
|
292
319
|
:is(
|
|
293
320
|
.dixy-input,
|
|
294
321
|
.dixy-textarea,
|
|
@@ -321,7 +348,7 @@
|
|
|
321
348
|
:where([data-dixy-material-override]) *
|
|
322
349
|
) {
|
|
323
350
|
border-width: var(--dixy-input-border-width);
|
|
324
|
-
border-color: var(--dixy-skin-edge);
|
|
351
|
+
border-color: var(--dixy-skin-field-edge);
|
|
325
352
|
background-image: var(--dixy-skin-paint);
|
|
326
353
|
background-color: var(--dixy-color-background-canvas);
|
|
327
354
|
background-size:
|
|
@@ -331,6 +358,43 @@
|
|
|
331
358
|
100% 100%;
|
|
332
359
|
box-shadow: var(--dixy-skin-inset);
|
|
333
360
|
}
|
|
361
|
+
/* materials.css styles [data-dixy-visual] surfaces at 0,5,0. Match the
|
|
362
|
+
skin's paint to that so its image and grain size always land together;
|
|
363
|
+
otherwise the material image is tiled at the grain size (stripes). */
|
|
364
|
+
:is(
|
|
365
|
+
.dixy-card,
|
|
366
|
+
.dixy-box,
|
|
367
|
+
.dixy-dialog-popup,
|
|
368
|
+
.dixy-alert-dialog-popup,
|
|
369
|
+
.dixy-drawer-popup,
|
|
370
|
+
.dixy-popover-popup,
|
|
371
|
+
.dixy-preview-card-popup,
|
|
372
|
+
.dixy-tooltip-popup,
|
|
373
|
+
.dixy-select-popup,
|
|
374
|
+
.dixy-combobox-popup,
|
|
375
|
+
.dixy-autocomplete-popup,
|
|
376
|
+
.dixy-menu-popup,
|
|
377
|
+
.dixy-context-menu-popup,
|
|
378
|
+
.dixy-navigation-menu-popup,
|
|
379
|
+
.dixy-toast-root,
|
|
380
|
+
.dixy-alert,
|
|
381
|
+
.dixy-list-box,
|
|
382
|
+
.dixy-calendar,
|
|
383
|
+
.dixy-range-calendar,
|
|
384
|
+
.dixy-input,
|
|
385
|
+
.dixy-textarea,
|
|
386
|
+
.dixy-native-select,
|
|
387
|
+
.dixy-select-trigger,
|
|
388
|
+
.dixy-input-group,
|
|
389
|
+
.dixy-combobox-input-group,
|
|
390
|
+
.dixy-autocomplete-input-group,
|
|
391
|
+
.dixy-number-field-group,
|
|
392
|
+
.dixy-otp-field-input
|
|
393
|
+
)[data-dixy-skin="dixy/prism-glass"]:not([data-dixy-material-override]):not(
|
|
394
|
+
:where([data-dixy-material-override]) *
|
|
395
|
+
)[data-dixy-visual][data-material]:not([data-disabled]) {
|
|
396
|
+
background-image: var(--dixy-skin-paint);
|
|
397
|
+
}
|
|
334
398
|
:is(.dixy-button)[data-dixy-skin="dixy/prism-glass"]:not(
|
|
335
399
|
[data-dixy-material-override]
|
|
336
400
|
):not(:where([data-dixy-material-override]) *):is(
|
|
@@ -361,14 +425,19 @@
|
|
|
361
425
|
border: 1px solid var(--dixy-skin-edge);
|
|
362
426
|
box-shadow: var(--dixy-skin-inset);
|
|
363
427
|
}
|
|
428
|
+
/* Selected tabs and toggles are one flat colour, lifted by edge and relief only. A gradient behind the label (thumb art, sheen, material image) splits it across two colours. :not([data-variant="line"]) also outranks materials.css (0,3,0). */
|
|
364
429
|
:is(.dixy-tabs-indicator)[data-dixy-skin="dixy/prism-glass"]:not(
|
|
365
430
|
[data-dixy-material-override]
|
|
366
431
|
):not(:where([data-dixy-material-override]) *) {
|
|
367
|
-
background-image: var(--dixy-skin-finish);
|
|
368
432
|
box-shadow: var(--dixy-skin-control-relief);
|
|
369
433
|
border: 1px solid var(--dixy-skin-edge);
|
|
370
434
|
}
|
|
371
|
-
|
|
435
|
+
:is(.dixy-tabs-indicator)[data-dixy-skin="dixy/prism-glass"]:not(
|
|
436
|
+
[data-dixy-material-override]
|
|
437
|
+
):not(:where([data-dixy-material-override]) *):not([data-variant="line"]) {
|
|
438
|
+
background-image: none;
|
|
439
|
+
}
|
|
440
|
+
/* Toggle groups read like tabs: a sunken track, the selected toggle a raised, flat thumb. */
|
|
372
441
|
.dixy-theme[data-dixy-skin="dixy/prism-glass"]
|
|
373
442
|
.dixy-toggle-group:is([data-attached], [data-segmented]):not(
|
|
374
443
|
[data-dixy-material-override]
|
|
@@ -383,7 +452,7 @@
|
|
|
383
452
|
[data-variant="solid"]
|
|
384
453
|
)[data-pressed]:not([data-disabled]) {
|
|
385
454
|
background-color: var(--dixy-color-background-surface-raised);
|
|
386
|
-
background-image:
|
|
455
|
+
background-image: none;
|
|
387
456
|
box-shadow: var(--dixy-skin-control-relief);
|
|
388
457
|
border-color: var(--dixy-skin-edge);
|
|
389
458
|
color: var(--dixy-color-text-primary);
|
package/dist/recipes.d.ts
CHANGED
|
@@ -107,6 +107,8 @@ export declare const materialRecipes: {
|
|
|
107
107
|
readonly darkEdge: "#4a3150";
|
|
108
108
|
readonly shadow: "8px 10px 22px rgb(214 120 150 / .3), -6px -6px 16px color-mix(in srgb, var(--dixy-color-background-canvas) 60%, #fff), inset 2px 2px 3px rgb(255 255 255 / .5)";
|
|
109
109
|
readonly inset: "inset 3px 3px 6px rgb(214 120 150 / .28), inset -3px -3px 6px color-mix(in srgb, var(--dixy-color-background-canvas) 50%, #fff)";
|
|
110
|
+
readonly darkShadow: "6px 8px 18px rgb(0 0 0 / .4), -3px -3px 10px rgb(255 255 255 / .04), inset 2px 2px 3px rgb(255 255 255 / .12)";
|
|
111
|
+
readonly darkInset: "inset 3px 3px 6px rgb(0 0 0 / .35), inset -3px -3px 6px rgb(255 255 255 / .05)";
|
|
110
112
|
readonly canvas: "radial-gradient(ellipse at 20% 0%, rgb(255 181 71 / .14), transparent 55%), radial-gradient(ellipse at 90% 90%, rgb(180 139 255 / .14), transparent 55%)";
|
|
111
113
|
readonly tint: readonly ["#fff6f2", "#36233c", "#ffe9ef"];
|
|
112
114
|
readonly label: "Candy clay";
|
|
@@ -451,6 +453,121 @@ export declare const materialRecipes: {
|
|
|
451
453
|
readonly thumb: "radial-gradient(circle at 35% 25%,#ffffff,#ffffffb3 40%,#cfe2ff80 70%,#ffffff4d)";
|
|
452
454
|
readonly tintActions: false;
|
|
453
455
|
};
|
|
456
|
+
readonly "sunset-neon": {
|
|
457
|
+
readonly label: "Sunset neon";
|
|
458
|
+
readonly baseMaterial: "glossy";
|
|
459
|
+
readonly finish: "linear-gradient(180deg,#ffffff14,transparent 35%,#ff4fa30d)";
|
|
460
|
+
readonly edge: "#f2b8d6";
|
|
461
|
+
readonly darkEdge: "#6e3570";
|
|
462
|
+
readonly shadow: "inset 0 1px 0 #ffffff40,0 14px 30px -16px #ff4fa366";
|
|
463
|
+
readonly darkShadow: "0 0 0 1px #ff4fa31a,0 18px 36px -18px #ff4fa366";
|
|
464
|
+
readonly inset: "inset 0 2px 4px #1b0b3022";
|
|
465
|
+
readonly darkInset: "inset 0 2px 5px #00000066";
|
|
466
|
+
readonly canvas: "linear-gradient(180deg,#fff3f8 0%,#ffe2ee 55%,#ffd9c2 100%)";
|
|
467
|
+
readonly darkCanvas: "radial-gradient(70% 45% at 50% 100%,#ff7a5938,transparent 70%),linear-gradient(180deg,#1b0b30 0%,#26103f 60%,#38134c 100%)";
|
|
468
|
+
readonly tint: readonly ["#fff8fb", "#24103a", "#ffe6f0"];
|
|
469
|
+
readonly grain: "radial-gradient(circle at 1px 1px,#ffffff06 .5px,transparent .8px)";
|
|
470
|
+
readonly thumb: "linear-gradient(180deg,#ffd56b,#ff7a59 50%,#ff4fa3)";
|
|
471
|
+
readonly tintActions: false;
|
|
472
|
+
};
|
|
473
|
+
readonly "ledger-ruled": {
|
|
474
|
+
readonly label: "Ledger ruled";
|
|
475
|
+
readonly baseMaterial: "matte";
|
|
476
|
+
readonly finish: "linear-gradient(transparent,transparent)";
|
|
477
|
+
readonly edge: "#d3d6db";
|
|
478
|
+
readonly darkEdge: "#2c3138";
|
|
479
|
+
readonly shadow: "0 1px 2px #1018280f";
|
|
480
|
+
readonly darkShadow: "0 1px 2px #00000066";
|
|
481
|
+
readonly inset: "inset 0 1px 1px #1018280d";
|
|
482
|
+
readonly darkInset: "inset 0 1px 1px #00000059";
|
|
483
|
+
readonly canvas: "repeating-linear-gradient(90deg,transparent 0 119px,#0b6e4f0d 119px 120px)";
|
|
484
|
+
readonly darkCanvas: "repeating-linear-gradient(90deg,transparent 0 119px,#3ecf8e12 119px 120px)";
|
|
485
|
+
readonly tint: readonly ["#fbfbf9", "#111317", "#eef0ec"];
|
|
486
|
+
readonly grain: "linear-gradient(transparent,transparent)";
|
|
487
|
+
readonly thumb: "linear-gradient(#ffffff,#ffffff)";
|
|
488
|
+
readonly tintActions: false;
|
|
489
|
+
};
|
|
490
|
+
readonly "layer-grid": {
|
|
491
|
+
readonly label: "Layer grid";
|
|
492
|
+
readonly baseMaterial: "matte";
|
|
493
|
+
readonly finish: "linear-gradient(transparent,transparent)";
|
|
494
|
+
readonly edge: "#c6c6c6";
|
|
495
|
+
readonly darkEdge: "#393939";
|
|
496
|
+
readonly shadow: "0 0 #0000";
|
|
497
|
+
readonly inset: "0 0 #0000";
|
|
498
|
+
readonly canvas: "linear-gradient(#f4f4f4,#f4f4f4)";
|
|
499
|
+
readonly darkCanvas: "linear-gradient(#161616,#161616)";
|
|
500
|
+
readonly tint: readonly ["#ffffff", "#262626", "#e0e0e0"];
|
|
501
|
+
readonly grain: "linear-gradient(transparent,transparent)";
|
|
502
|
+
readonly thumb: "linear-gradient(#ffffff,#ffffff)";
|
|
503
|
+
readonly tintActions: false;
|
|
504
|
+
};
|
|
505
|
+
readonly "mono-ink": {
|
|
506
|
+
readonly label: "Mono ink";
|
|
507
|
+
readonly baseMaterial: "matte";
|
|
508
|
+
readonly finish: "linear-gradient(transparent,transparent)";
|
|
509
|
+
readonly edge: "#e2e2e2";
|
|
510
|
+
readonly darkEdge: "#2a2a2a";
|
|
511
|
+
readonly shadow: "0 1px 2px #0000000f,0 10px 24px -14px #00000029";
|
|
512
|
+
readonly darkShadow: "0 0 0 1px #ffffff0d";
|
|
513
|
+
readonly inset: "0 0 #0000";
|
|
514
|
+
readonly canvas: "linear-gradient(#ffffff,#ffffff)";
|
|
515
|
+
readonly darkCanvas: "linear-gradient(#000000,#000000)";
|
|
516
|
+
readonly tint: readonly ["#ffffff", "#000000", "#f3f3f3"];
|
|
517
|
+
readonly grain: "linear-gradient(transparent,transparent)";
|
|
518
|
+
readonly thumb: "linear-gradient(#ffffff,#ffffff)";
|
|
519
|
+
readonly tintActions: false;
|
|
520
|
+
readonly monoAccent: true;
|
|
521
|
+
};
|
|
522
|
+
readonly "signal-contrast": {
|
|
523
|
+
readonly label: "Signal contrast";
|
|
524
|
+
readonly baseMaterial: "matte";
|
|
525
|
+
readonly finish: "linear-gradient(transparent,transparent)";
|
|
526
|
+
readonly edge: "#000000";
|
|
527
|
+
readonly darkEdge: "#ffffff";
|
|
528
|
+
readonly shadow: "0 0 #0000";
|
|
529
|
+
readonly inset: "0 0 #0000";
|
|
530
|
+
readonly canvas: "linear-gradient(#ffffff,#ffffff)";
|
|
531
|
+
readonly darkCanvas: "linear-gradient(#000000,#000000)";
|
|
532
|
+
readonly tint: readonly ["#ffffff", "#000000", "#ffffff"];
|
|
533
|
+
readonly grain: "linear-gradient(transparent,transparent)";
|
|
534
|
+
readonly thumb: "linear-gradient(#ffffff,#ffffff)";
|
|
535
|
+
readonly tintActions: false;
|
|
536
|
+
readonly controlHeights: readonly ["44px", "48px", "56px"];
|
|
537
|
+
readonly deepSolid: true;
|
|
538
|
+
};
|
|
539
|
+
readonly "menu-window": {
|
|
540
|
+
readonly label: "Menu window";
|
|
541
|
+
readonly baseMaterial: "matte";
|
|
542
|
+
readonly finish: "linear-gradient(180deg,#ffffff14,transparent 55%)";
|
|
543
|
+
readonly edge: "#3a4aa8";
|
|
544
|
+
readonly darkEdge: "#e9edff";
|
|
545
|
+
readonly shadow: "0 4px 0 #0b165833";
|
|
546
|
+
readonly darkShadow: "inset 0 0 0 2px #0b1658,0 6px 0 #00000059";
|
|
547
|
+
readonly inset: "inset 0 2px 0 #0b165822";
|
|
548
|
+
readonly darkInset: "inset 0 2px 0 #00000040";
|
|
549
|
+
readonly canvas: "radial-gradient(90% 70% at 50% 120%,#c9d3ff,transparent 70%)";
|
|
550
|
+
readonly darkCanvas: "radial-gradient(90% 70% at 50% 120%,#1b2a7a,#05081c 75%)";
|
|
551
|
+
readonly tint: readonly ["#f4f6ff", "#16237e", "#e4e9ff"];
|
|
552
|
+
readonly grain: "linear-gradient(transparent,transparent)";
|
|
553
|
+
readonly thumb: "linear-gradient(180deg,#ffe066,#e0b400)";
|
|
554
|
+
readonly tintActions: false;
|
|
555
|
+
};
|
|
556
|
+
readonly "arcade-bezel": {
|
|
557
|
+
readonly label: "Arcade bezel";
|
|
558
|
+
readonly baseMaterial: "matte";
|
|
559
|
+
readonly finish: "repeating-linear-gradient(180deg,transparent 0 2px,#0000000d 2px 3px)";
|
|
560
|
+
readonly edge: "#1a1a1a";
|
|
561
|
+
readonly darkEdge: "#f4f4f4";
|
|
562
|
+
readonly shadow: "4px 4px 0 #e2141f";
|
|
563
|
+
readonly inset: "inset 0 0 0 1px #00000033";
|
|
564
|
+
readonly canvas: "repeating-linear-gradient(180deg,#00000008 0 1px,transparent 1px 3px)";
|
|
565
|
+
readonly darkCanvas: "radial-gradient(70% 60% at 50% 40%,#17172a,#050505 80%)";
|
|
566
|
+
readonly tint: readonly ["#fbf8ef", "#0e0e14", "#ece6d6"];
|
|
567
|
+
readonly grain: "linear-gradient(transparent,transparent)";
|
|
568
|
+
readonly thumb: "linear-gradient(#ffd400,#ffd400)";
|
|
569
|
+
readonly tintActions: false;
|
|
570
|
+
};
|
|
454
571
|
};
|
|
455
572
|
export declare const frameRecipes: {
|
|
456
573
|
readonly none: {
|
|
@@ -933,6 +1050,51 @@ export declare const frameRecipes: {
|
|
|
933
1050
|
readonly cornerVariation: 0;
|
|
934
1051
|
};
|
|
935
1052
|
};
|
|
1053
|
+
readonly sunset: {
|
|
1054
|
+
readonly label: "Sunset grid";
|
|
1055
|
+
readonly version: 1;
|
|
1056
|
+
readonly renderer: "SunsetOrnament";
|
|
1057
|
+
readonly rendererEntry: "sunset-drive/react";
|
|
1058
|
+
readonly defaults: {
|
|
1059
|
+
readonly width: 1;
|
|
1060
|
+
readonly paddingTop: 34;
|
|
1061
|
+
readonly paddingInline: 30;
|
|
1062
|
+
readonly paddingBottom: 32;
|
|
1063
|
+
readonly inset: 10;
|
|
1064
|
+
readonly cornerScale: 1;
|
|
1065
|
+
readonly cornerVariation: 0;
|
|
1066
|
+
};
|
|
1067
|
+
};
|
|
1068
|
+
readonly menu: {
|
|
1069
|
+
readonly label: "Menu window";
|
|
1070
|
+
readonly version: 1;
|
|
1071
|
+
readonly renderer: "SavePointOrnament";
|
|
1072
|
+
readonly rendererEntry: "save-point/react";
|
|
1073
|
+
readonly defaults: {
|
|
1074
|
+
readonly width: 2;
|
|
1075
|
+
readonly paddingTop: 30;
|
|
1076
|
+
readonly paddingInline: 28;
|
|
1077
|
+
readonly paddingBottom: 28;
|
|
1078
|
+
readonly inset: 6;
|
|
1079
|
+
readonly cornerScale: 1;
|
|
1080
|
+
readonly cornerVariation: 0;
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
readonly marquee: {
|
|
1084
|
+
readonly label: "Arcade marquee";
|
|
1085
|
+
readonly version: 1;
|
|
1086
|
+
readonly renderer: "ArcadeOrnament";
|
|
1087
|
+
readonly rendererEntry: "arcade-cabinet/react";
|
|
1088
|
+
readonly defaults: {
|
|
1089
|
+
readonly width: 3;
|
|
1090
|
+
readonly paddingTop: 32;
|
|
1091
|
+
readonly paddingInline: 28;
|
|
1092
|
+
readonly paddingBottom: 30;
|
|
1093
|
+
readonly inset: 8;
|
|
1094
|
+
readonly cornerScale: 1;
|
|
1095
|
+
readonly cornerVariation: 0;
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
936
1098
|
};
|
|
937
1099
|
export type MaterialRecipeId = keyof typeof materialRecipes;
|
|
938
1100
|
export type FrameRecipeId = keyof typeof frameRecipes;
|