@dixy-ui/themes 0.1.0-beta.3 → 0.1.0-beta.5
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 +3 -3
- package/dist/ansi-panes.css +75 -8
- package/dist/arcade/ornament.d.ts +3 -0
- package/dist/arcade/ornament.js +8 -0
- package/dist/arcade-cabinet.css +1084 -0
- package/dist/art-deco.css +75 -8
- package/dist/atomic-lounge.css +79 -8
- package/dist/authoring.d.ts +8 -8
- package/dist/azulejo-tile.css +79 -8
- package/dist/blueprint.css +75 -8
- package/dist/brutalist-concrete.css +80 -9
- package/dist/bytes.json +97 -62
- package/dist/candy-clay.css +81 -8
- 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 +27 -7
- package/dist/dispatch.css +729 -0
- package/dist/diwali-lights.css +79 -8
- 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 +141 -18
- package/dist/glass-ui.css +75 -8
- package/dist/holi-colours.css +79 -8
- package/dist/ledger.css +564 -0
- package/dist/living-forest.css +81 -8
- package/dist/mainframe.css +762 -0
- package/dist/manifests.d.ts +144 -144
- package/dist/material-light.css +79 -8
- package/dist/neon-night-market.css +79 -8
- package/dist/ocean-depths.css +81 -8
- package/dist/orbital-hud.css +141 -18
- 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 +79 -8
- package/dist/phosphor-terminal.css +79 -8
- package/dist/prism-glass.css +75 -8
- 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 +75 -8
- package/dist/riso-zine.css +75 -8
- package/dist/save-point.css +946 -0
- package/dist/savepoint/ornament.d.ts +3 -0
- package/dist/savepoint/ornament.js +8 -0
- package/dist/scrapbook.css +75 -8
- package/dist/signal.css +561 -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 +75 -8
- package/dist/starters-launch.d.ts +24 -0
- package/dist/starters-launch.js +343 -0
- package/dist/studio-hardware.css +79 -8
- package/dist/sumi-ink.css +75 -8
- package/dist/sunset/ornament.d.ts +3 -0
- package/dist/sunset/ornament.js +8 -0
- package/dist/sunset-drive.css +1022 -0
- package/dist/swiss-poster.css +145 -18
- package/dist/tactile-atelier.css +81 -8
- 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 +79 -8
- package/dist/winamp-signal.css +79 -8
- package/dist/y2k-titanium.css +147 -18
- package/dist/yule-knit.css +75 -8
- package/package.json +50 -3
package/dist/diwali-lights.css
CHANGED
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
--dixy-font-title-sm-family:
|
|
33
33
|
"Fraunces Variable", "Fraunces", ui-serif, Georgia, serif;
|
|
34
34
|
--dixy-skin-edge: #efc27a;
|
|
35
|
+
--dixy-skin-field-edge: color-mix(
|
|
36
|
+
in oklab,
|
|
37
|
+
var(--dixy-color-base-9) 50%,
|
|
38
|
+
var(--dixy-color-base-8)
|
|
39
|
+
);
|
|
35
40
|
--dixy-organic-density: 50;
|
|
36
41
|
--dixy-organic-cornerDensity: 75;
|
|
37
42
|
--dixy-organic-canopyDepth: 45;
|
|
@@ -108,7 +113,6 @@
|
|
|
108
113
|
--dixy-organic-b: #ffb627;
|
|
109
114
|
--dixy-organic-c: #ffe08a;
|
|
110
115
|
--dixy-organic-d: #26c6b0;
|
|
111
|
-
--dixy-skin-selected: var(--dixy-skin-finish);
|
|
112
116
|
--dixy-color-text-primary: color-mix(
|
|
113
117
|
in srgb,
|
|
114
118
|
var(--dixy-color-base-12) 75%,
|
|
@@ -126,6 +130,7 @@
|
|
|
126
130
|
#2a0b2e
|
|
127
131
|
);
|
|
128
132
|
}
|
|
133
|
+
|
|
129
134
|
.dixy-theme[data-dixy-skin="dixy/diwali-lights"][data-relief="2"] {
|
|
130
135
|
--dixy-skin-shadow:
|
|
131
136
|
var(--dixy-skin-depth-shadow, var(--dixy-skin-authored-shadow)),
|
|
@@ -151,11 +156,9 @@
|
|
|
151
156
|
}
|
|
152
157
|
}
|
|
153
158
|
@layer dixy.components {
|
|
154
|
-
.dixy-theme[data-dixy-skin="dixy/diwali-lights"] {
|
|
159
|
+
.dixy-theme[data-dixy-skin="dixy/diwali-lights"]:not(.dixy-portal-scope) {
|
|
155
160
|
position: relative;
|
|
156
161
|
isolation: isolate;
|
|
157
|
-
}
|
|
158
|
-
.dixy-theme[data-dixy-skin="dixy/diwali-lights"]:not(.dixy-portal-scope) {
|
|
159
162
|
background-color: var(--dixy-skin-ground);
|
|
160
163
|
background-image: var(--dixy-skin-canvas);
|
|
161
164
|
}
|
|
@@ -261,6 +264,30 @@
|
|
|
261
264
|
):not([data-variant="soft"]) {
|
|
262
265
|
background-color: var(--dixy-skin-surface);
|
|
263
266
|
}
|
|
267
|
+
:is(
|
|
268
|
+
.dixy-dialog-popup,
|
|
269
|
+
.dixy-alert-dialog-popup,
|
|
270
|
+
.dixy-drawer-popup,
|
|
271
|
+
.dixy-popover-popup,
|
|
272
|
+
.dixy-preview-card-popup,
|
|
273
|
+
.dixy-tooltip-popup,
|
|
274
|
+
.dixy-select-popup,
|
|
275
|
+
.dixy-combobox-popup,
|
|
276
|
+
.dixy-autocomplete-popup,
|
|
277
|
+
.dixy-menu-popup,
|
|
278
|
+
.dixy-context-menu-popup,
|
|
279
|
+
.dixy-navigation-menu-popup
|
|
280
|
+
)[data-dixy-skin="dixy/diwali-lights"]:not(
|
|
281
|
+
[data-dixy-material-override]
|
|
282
|
+
):not(:where([data-dixy-material-override]) *):not(
|
|
283
|
+
[data-variant="solid"]
|
|
284
|
+
):not([data-variant="soft"]) {
|
|
285
|
+
background-color: color-mix(
|
|
286
|
+
in srgb,
|
|
287
|
+
var(--dixy-color-background-surface-raised) 94%,
|
|
288
|
+
var(--dixy-skin-surface)
|
|
289
|
+
);
|
|
290
|
+
}
|
|
264
291
|
:is(
|
|
265
292
|
.dixy-input,
|
|
266
293
|
.dixy-textarea,
|
|
@@ -293,7 +320,7 @@
|
|
|
293
320
|
[data-dixy-material-override]
|
|
294
321
|
):not(:where([data-dixy-material-override]) *) {
|
|
295
322
|
border-width: var(--dixy-input-border-width);
|
|
296
|
-
border-color: var(--dixy-skin-edge);
|
|
323
|
+
border-color: var(--dixy-skin-field-edge);
|
|
297
324
|
background-image: var(--dixy-skin-paint);
|
|
298
325
|
background-color: var(--dixy-color-background-canvas);
|
|
299
326
|
background-size:
|
|
@@ -303,6 +330,45 @@
|
|
|
303
330
|
100% 100%;
|
|
304
331
|
box-shadow: var(--dixy-skin-inset);
|
|
305
332
|
}
|
|
333
|
+
/* materials.css styles [data-dixy-visual] surfaces at 0,5,0. Match the
|
|
334
|
+
skin's paint to that so its image and grain size always land together;
|
|
335
|
+
otherwise the material image is tiled at the grain size (stripes). */
|
|
336
|
+
:is(
|
|
337
|
+
.dixy-card,
|
|
338
|
+
.dixy-box,
|
|
339
|
+
.dixy-dialog-popup,
|
|
340
|
+
.dixy-alert-dialog-popup,
|
|
341
|
+
.dixy-drawer-popup,
|
|
342
|
+
.dixy-popover-popup,
|
|
343
|
+
.dixy-preview-card-popup,
|
|
344
|
+
.dixy-tooltip-popup,
|
|
345
|
+
.dixy-select-popup,
|
|
346
|
+
.dixy-combobox-popup,
|
|
347
|
+
.dixy-autocomplete-popup,
|
|
348
|
+
.dixy-menu-popup,
|
|
349
|
+
.dixy-context-menu-popup,
|
|
350
|
+
.dixy-navigation-menu-popup,
|
|
351
|
+
.dixy-toast-root,
|
|
352
|
+
.dixy-alert,
|
|
353
|
+
.dixy-list-box,
|
|
354
|
+
.dixy-calendar,
|
|
355
|
+
.dixy-range-calendar,
|
|
356
|
+
.dixy-input,
|
|
357
|
+
.dixy-textarea,
|
|
358
|
+
.dixy-native-select,
|
|
359
|
+
.dixy-select-trigger,
|
|
360
|
+
.dixy-input-group,
|
|
361
|
+
.dixy-combobox-input-group,
|
|
362
|
+
.dixy-autocomplete-input-group,
|
|
363
|
+
.dixy-number-field-group,
|
|
364
|
+
.dixy-otp-field-input
|
|
365
|
+
)[data-dixy-skin="dixy/diwali-lights"]:not(
|
|
366
|
+
[data-dixy-material-override]
|
|
367
|
+
):not(
|
|
368
|
+
:where([data-dixy-material-override]) *
|
|
369
|
+
)[data-dixy-visual][data-material]:not([data-disabled]) {
|
|
370
|
+
background-image: var(--dixy-skin-paint);
|
|
371
|
+
}
|
|
306
372
|
:is(.dixy-button)[data-dixy-skin="dixy/diwali-lights"]:not(
|
|
307
373
|
[data-dixy-material-override]
|
|
308
374
|
):not(:where([data-dixy-material-override]) *):is(
|
|
@@ -333,14 +399,19 @@
|
|
|
333
399
|
border: 1px solid var(--dixy-skin-edge);
|
|
334
400
|
box-shadow: var(--dixy-skin-inset);
|
|
335
401
|
}
|
|
402
|
+
/* 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). */
|
|
336
403
|
:is(.dixy-tabs-indicator)[data-dixy-skin="dixy/diwali-lights"]:not(
|
|
337
404
|
[data-dixy-material-override]
|
|
338
405
|
):not(:where([data-dixy-material-override]) *) {
|
|
339
|
-
background-image: var(--dixy-skin-finish);
|
|
340
406
|
box-shadow: var(--dixy-skin-control-relief);
|
|
341
407
|
border: 1px solid var(--dixy-skin-edge);
|
|
342
408
|
}
|
|
343
|
-
|
|
409
|
+
:is(.dixy-tabs-indicator)[data-dixy-skin="dixy/diwali-lights"]:not(
|
|
410
|
+
[data-dixy-material-override]
|
|
411
|
+
):not(:where([data-dixy-material-override]) *):not([data-variant="line"]) {
|
|
412
|
+
background-image: none;
|
|
413
|
+
}
|
|
414
|
+
/* Toggle groups read like tabs: a sunken track, the selected toggle a raised, flat thumb. */
|
|
344
415
|
.dixy-theme[data-dixy-skin="dixy/diwali-lights"]
|
|
345
416
|
.dixy-toggle-group:is([data-attached], [data-segmented]):not(
|
|
346
417
|
[data-dixy-material-override]
|
|
@@ -355,7 +426,7 @@
|
|
|
355
426
|
[data-variant="solid"]
|
|
356
427
|
)[data-pressed]:not([data-disabled]) {
|
|
357
428
|
background-color: var(--dixy-color-background-surface-raised);
|
|
358
|
-
background-image:
|
|
429
|
+
background-image: none;
|
|
359
430
|
box-shadow: var(--dixy-skin-control-relief);
|
|
360
431
|
border-color: var(--dixy-skin-edge);
|
|
361
432
|
color: var(--dixy-color-text-primary);
|
package/dist/documents.d.ts
CHANGED
|
@@ -1,4 +1,112 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** Each starter as authored, before any saved fix from the theme audit. */
|
|
2
|
+
export declare const starterDocuments: {
|
|
3
|
+
readonly schemaVersion: 6;
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly revision: number;
|
|
7
|
+
readonly foundations: {
|
|
8
|
+
readonly accentColor: "ruby" | "blue" | "brown" | "crimson" | "cyan" | "fuchsia" | "gold" | "gray" | "green" | "indigo" | "lime" | "olive" | "orange" | "pink" | "plum" | "purple" | "red" | "teal" | "tomato" | "violet" | "yellow" | "neutral" | "slate" | "zinc" | "stone" | "taupe" | "mauve" | "mist" | "sage" | "sand" | "rose" | "iris" | "sky" | "emerald" | "jade" | "grass" | "mint" | "amber" | "bronze";
|
|
9
|
+
readonly customAccent: boolean;
|
|
10
|
+
readonly lightness: number;
|
|
11
|
+
readonly chroma: number;
|
|
12
|
+
readonly hue: number;
|
|
13
|
+
readonly neutralColor: "gray" | "olive" | "neutral" | "slate" | "zinc" | "stone" | "taupe" | "mauve" | "mist" | "sage" | "sand";
|
|
14
|
+
readonly radius: "none" | "full" | "lg" | "md" | "sm";
|
|
15
|
+
readonly density: "default" | "compact" | "comfortable";
|
|
16
|
+
readonly material: "glossy" | "soft" | "matte" | "metal" | "paper";
|
|
17
|
+
readonly componentFinish: "inherit" | "glossy" | "soft" | "matte" | "metal" | "paper";
|
|
18
|
+
readonly shape: "square" | "rounded" | "pill";
|
|
19
|
+
readonly appearance: "dark" | "light";
|
|
20
|
+
readonly bodyFont: "serif" | "terminal" | "deco" | "neon" | "mono" | "system" | "rounded" | "lcd" | "pixel" | "inter" | "grotesk" | "fraunces" | "techno" | "plex" | "archivo" | "mincho" | "gothic" | "playfair" | "caveat" | "bricolage" | "jetbrains" | "manrope" | "figtree" | "cormorant" | "plexSans" | "atkinson";
|
|
21
|
+
readonly headingFont: "serif" | "terminal" | "deco" | "neon" | "mono" | "system" | "rounded" | "lcd" | "pixel" | "inter" | "grotesk" | "fraunces" | "techno" | "plex" | "archivo" | "mincho" | "gothic" | "playfair" | "caveat" | "bricolage" | "jetbrains" | "manrope" | "figtree" | "cormorant" | "plexSans" | "atkinson";
|
|
22
|
+
readonly border: 2 | 1;
|
|
23
|
+
readonly depth: "none" | "raised" | "floating";
|
|
24
|
+
readonly ornament: "balanced" | "expressive" | "quiet";
|
|
25
|
+
readonly relief: 0 | 2 | 1;
|
|
26
|
+
readonly effects: "static" | "reduced" | "backdrop";
|
|
27
|
+
};
|
|
28
|
+
readonly recipes: {
|
|
29
|
+
readonly material: {
|
|
30
|
+
readonly id: "botanical-paper" | "pixel-enamel" | "gunmetal" | "ceramic" | "prismatic-glass" | "atelier-paper" | "sea-glass" | "candy-clay" | "lacquer-brass" | "titanium" | "frosted-porcelain" | "scrapbook-paper" | "cyanotype" | "riso-paper" | "wet-asphalt" | "washi" | "station-enamel" | "phosphor-glass" | "ansi-term" | "poster-stock" | "glazed-tile" | "concrete" | "atomic-laminate" | "hologram" | "painted-steel" | "gold-foil" | "marigold-silk" | "red-paper" | "fiesta-paper" | "powder-wash" | "wool" | "liquid-glass" | "sunset-neon" | "ledger-ruled" | "layer-grid" | "mono-ink" | "signal-contrast" | "menu-window" | "arcade-bezel";
|
|
31
|
+
readonly version: 1;
|
|
32
|
+
readonly parameters: {
|
|
33
|
+
readonly surfaceMix: number;
|
|
34
|
+
readonly darkSurfaceMix: number;
|
|
35
|
+
readonly sheen: number;
|
|
36
|
+
readonly cushion: number;
|
|
37
|
+
readonly inkTint: number;
|
|
38
|
+
readonly textureScale: number;
|
|
39
|
+
readonly lightAngle: number;
|
|
40
|
+
readonly backdropBlur: number;
|
|
41
|
+
readonly backdropSaturate: number;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
readonly frame: {
|
|
45
|
+
readonly id: "none" | "menu" | "marquee" | "coral" | "forest" | "cushion" | "deco" | "drafting" | "riso" | "neon" | "sumi" | "transit" | "crt" | "panes" | "swiss" | "azulejo" | "formwork" | "atomic" | "hud" | "hazard" | "orbit" | "rangoli" | "papercut" | "picado" | "gulal" | "knit" | "liquid" | "sunset" | "glass" | "pixel" | "halo" | "ceramic" | "rails" | "stitch" | "chamfer";
|
|
46
|
+
readonly version: 1;
|
|
47
|
+
readonly ornament: {
|
|
48
|
+
readonly style: "Woodland mix" | "Wild ivy" | "Fern grove" | "Willow canopy" | "Oak & moss" | "Spring growth" | "Ginkgo fans" | "Maple grove" | "Eucalyptus" | "Olive branch" | "Clover meadow" | "Wildflower hedge" | "Piped petals" | "Twisted rope" | "Candy pebbles" | "Ribbon folds" | "Tidal ribbons" | "Seafoam beads" | "Glass droplets" | "Quiet currents" | "Fine filigree" | "Art deco" | "Hammered edge" | "Quiet gilding" | "Dimensioned" | "Ruler ticks" | "Construction lines" | "Quiet draft" | "Misprint" | "Halftone" | "Taped corners" | "Clean stamp" | "Tube outline" | "Broken tubes" | "Sign shapes" | "Low hum" | "Bamboo" | "Plum blossom" | "Dry brush" | "Ensō" | "Line map" | "Station roundels" | "Platform edge" | "Quiet line" | "Box corners" | "Status line" | "Raster ticks" | "Quiet cursor" | "Pane titles" | "Key hints" | "Split panes" | "Bare panes" | "Crop marks" | "Red block" | "Grid ticks" | "Bare grid" | "Corner tiles" | "Border run" | "Floral rosette" | "Single tile" | "Tie holes" | "Stencil marks" | "Board seams" | "Bare concrete" | "Starbursts" | "Boomerangs" | "Orbit atoms" | "Lone star" | "Target brackets" | "Telemetry" | "Reticle" | "Clean brackets" | "Hazard stripes" | "Rivet seams" | "Cargo stencils" | "Clean plate" | "Orbit rings" | "Gold foil" | "Star field" | "Single orbit" | "Rangoli corners" | "Diya row" | "Marigold string" | "Single diya" | "Lanterns" | "Scallop edge" | "Cloud scrolls" | "Single lantern" | "Bunting" | "Marigold garland" | "Paper confetti" | "Short string" | "Powder clouds" | "Splashes" | "Speckle dust" | "Soft haze" | "Fair Isle band" | "Snowflakes" | "Cable stitch" | "Plain rib" | "Specular rim" | "Refraction" | "Light catch" | "Clear" | "Sun and grid" | "Sun only" | "Grid only" | "Bare coast" | "Cursor and stars" | "Cursor only" | "Stars only" | "Plain window" | "Bulbs and credits" | "Bulbs only" | "Credits only" | "Dark cabinet";
|
|
49
|
+
readonly canopy: "Scattered trails" | "Corner cascades" | "Overhead boughs" | "Long tendrils" | "Open crown";
|
|
50
|
+
readonly stem: "Twining vines" | "Woody branches" | "Tender shoots" | "Mossy roots";
|
|
51
|
+
readonly density: number;
|
|
52
|
+
readonly cornerDensity: number;
|
|
53
|
+
readonly canopyDepth: number;
|
|
54
|
+
readonly variation: number;
|
|
55
|
+
readonly scale: number;
|
|
56
|
+
readonly stemWeight: number;
|
|
57
|
+
readonly motion: number;
|
|
58
|
+
readonly seed: number;
|
|
59
|
+
};
|
|
60
|
+
readonly parameters: {
|
|
61
|
+
readonly width: number;
|
|
62
|
+
readonly paddingTop: number;
|
|
63
|
+
readonly paddingInline: number;
|
|
64
|
+
readonly paddingBottom: number;
|
|
65
|
+
readonly inset: number;
|
|
66
|
+
readonly cornerVariation: number;
|
|
67
|
+
readonly cornerScale: number;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
readonly character: {
|
|
72
|
+
readonly controls: "standard" | "glass" | "chrome" | "pixel" | "botanical" | "instrument" | "hardware" | "stitched" | "pearl" | "clay" | "brass" | "halo";
|
|
73
|
+
readonly motion: {
|
|
74
|
+
readonly style: "standard" | "stepped" | "snappy" | "springy" | "weighted" | "drift";
|
|
75
|
+
readonly press: number;
|
|
76
|
+
readonly tempo: number;
|
|
77
|
+
};
|
|
78
|
+
readonly type: {
|
|
79
|
+
readonly headingCase: "none" | "small-caps" | "uppercase";
|
|
80
|
+
readonly headingTracking: number;
|
|
81
|
+
readonly headingWeight: 400 | 500 | 600 | 700 | 900 | 300 | 800;
|
|
82
|
+
readonly numerals: "proportional" | "tabular" | "oldstyle";
|
|
83
|
+
};
|
|
84
|
+
readonly states: "standard" | "led" | "marching" | "inlay" | "glow" | "stamp";
|
|
85
|
+
readonly details: {
|
|
86
|
+
readonly focus: "offset" | "dashed" | "double" | "halo" | "glow" | "ring";
|
|
87
|
+
readonly divider: "line" | "dashed" | "dotted" | "double" | "groove";
|
|
88
|
+
readonly selection: "accent" | "inverse" | "highlighter";
|
|
89
|
+
readonly scrollbar: "accent" | "native" | "thin";
|
|
90
|
+
readonly iconStroke: number;
|
|
91
|
+
};
|
|
92
|
+
readonly backdrop: {
|
|
93
|
+
readonly pattern: "none" | "grid" | "scanlines" | "sunburst" | "caustics" | "fibre" | "dots" | "topo" | "halftone";
|
|
94
|
+
readonly intensity: number;
|
|
95
|
+
readonly scale: number;
|
|
96
|
+
};
|
|
97
|
+
readonly chrome: {
|
|
98
|
+
readonly titlebar: "none" | "caption" | "tab" | "grip" | "gradient" | "glass" | "chrome";
|
|
99
|
+
readonly edge: "bevel" | "line" | "double" | "pill" | "stepped";
|
|
100
|
+
readonly well: "none" | "paper" | "glass" | "lcd" | "recessed" | "tinted" | "sunken";
|
|
101
|
+
readonly corners: "round" | "inherit" | "pixel" | "notched";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}[];
|
|
105
|
+
/**
|
|
106
|
+
* Installed themes: each starter with its saved fix, if any. Fixes are small
|
|
107
|
+
* patches written by the playground's "Save as theme fix" (dev server only),
|
|
108
|
+
* so a reviewer sees exactly which values changed.
|
|
109
|
+
*/
|
|
2
110
|
export declare const themeDocuments: {
|
|
3
111
|
readonly schemaVersion: 6;
|
|
4
112
|
readonly id: string;
|
|
@@ -17,8 +125,8 @@ export declare const themeDocuments: {
|
|
|
17
125
|
readonly componentFinish: "inherit" | "glossy" | "soft" | "matte" | "metal" | "paper";
|
|
18
126
|
readonly shape: "square" | "rounded" | "pill";
|
|
19
127
|
readonly appearance: "dark" | "light";
|
|
20
|
-
readonly bodyFont: "serif" | "terminal" | "deco" | "neon" | "mono" | "system" | "rounded" | "lcd" | "pixel" | "inter" | "grotesk" | "fraunces" | "techno" | "plex" | "archivo" | "mincho" | "gothic" | "playfair" | "caveat" | "bricolage" | "jetbrains" | "manrope" | "figtree" | "cormorant";
|
|
21
|
-
readonly headingFont: "serif" | "terminal" | "deco" | "neon" | "mono" | "system" | "rounded" | "lcd" | "pixel" | "inter" | "grotesk" | "fraunces" | "techno" | "plex" | "archivo" | "mincho" | "gothic" | "playfair" | "caveat" | "bricolage" | "jetbrains" | "manrope" | "figtree" | "cormorant";
|
|
128
|
+
readonly bodyFont: "serif" | "terminal" | "deco" | "neon" | "mono" | "system" | "rounded" | "lcd" | "pixel" | "inter" | "grotesk" | "fraunces" | "techno" | "plex" | "archivo" | "mincho" | "gothic" | "playfair" | "caveat" | "bricolage" | "jetbrains" | "manrope" | "figtree" | "cormorant" | "plexSans" | "atkinson";
|
|
129
|
+
readonly headingFont: "serif" | "terminal" | "deco" | "neon" | "mono" | "system" | "rounded" | "lcd" | "pixel" | "inter" | "grotesk" | "fraunces" | "techno" | "plex" | "archivo" | "mincho" | "gothic" | "playfair" | "caveat" | "bricolage" | "jetbrains" | "manrope" | "figtree" | "cormorant" | "plexSans" | "atkinson";
|
|
22
130
|
readonly border: 2 | 1;
|
|
23
131
|
readonly depth: "none" | "raised" | "floating";
|
|
24
132
|
readonly ornament: "balanced" | "expressive" | "quiet";
|
|
@@ -27,7 +135,7 @@ export declare const themeDocuments: {
|
|
|
27
135
|
};
|
|
28
136
|
readonly recipes: {
|
|
29
137
|
readonly material: {
|
|
30
|
-
readonly id: "botanical-paper" | "pixel-enamel" | "gunmetal" | "ceramic" | "prismatic-glass" | "atelier-paper" | "sea-glass" | "candy-clay" | "lacquer-brass" | "titanium" | "frosted-porcelain" | "scrapbook-paper" | "cyanotype" | "riso-paper" | "wet-asphalt" | "washi" | "station-enamel" | "phosphor-glass" | "ansi-term" | "poster-stock" | "glazed-tile" | "concrete" | "atomic-laminate" | "hologram" | "painted-steel" | "gold-foil" | "marigold-silk" | "red-paper" | "fiesta-paper" | "powder-wash" | "wool" | "liquid-glass";
|
|
138
|
+
readonly id: "botanical-paper" | "pixel-enamel" | "gunmetal" | "ceramic" | "prismatic-glass" | "atelier-paper" | "sea-glass" | "candy-clay" | "lacquer-brass" | "titanium" | "frosted-porcelain" | "scrapbook-paper" | "cyanotype" | "riso-paper" | "wet-asphalt" | "washi" | "station-enamel" | "phosphor-glass" | "ansi-term" | "poster-stock" | "glazed-tile" | "concrete" | "atomic-laminate" | "hologram" | "painted-steel" | "gold-foil" | "marigold-silk" | "red-paper" | "fiesta-paper" | "powder-wash" | "wool" | "liquid-glass" | "sunset-neon" | "ledger-ruled" | "layer-grid" | "mono-ink" | "signal-contrast" | "menu-window" | "arcade-bezel";
|
|
31
139
|
readonly version: 1;
|
|
32
140
|
readonly parameters: {
|
|
33
141
|
readonly surfaceMix: number;
|
|
@@ -42,10 +150,10 @@ export declare const themeDocuments: {
|
|
|
42
150
|
};
|
|
43
151
|
};
|
|
44
152
|
readonly frame: {
|
|
45
|
-
readonly id: "none" | "coral" | "forest" | "cushion" | "deco" | "drafting" | "riso" | "neon" | "sumi" | "transit" | "crt" | "panes" | "swiss" | "azulejo" | "formwork" | "atomic" | "hud" | "hazard" | "orbit" | "rangoli" | "papercut" | "picado" | "gulal" | "knit" | "liquid" | "glass" | "pixel" | "halo" | "ceramic" | "rails" | "stitch" | "chamfer";
|
|
153
|
+
readonly id: "none" | "menu" | "marquee" | "coral" | "forest" | "cushion" | "deco" | "drafting" | "riso" | "neon" | "sumi" | "transit" | "crt" | "panes" | "swiss" | "azulejo" | "formwork" | "atomic" | "hud" | "hazard" | "orbit" | "rangoli" | "papercut" | "picado" | "gulal" | "knit" | "liquid" | "sunset" | "glass" | "pixel" | "halo" | "ceramic" | "rails" | "stitch" | "chamfer";
|
|
46
154
|
readonly version: 1;
|
|
47
155
|
readonly ornament: {
|
|
48
|
-
readonly style: "Woodland mix" | "Wild ivy" | "Fern grove" | "Willow canopy" | "Oak & moss" | "Spring growth" | "Ginkgo fans" | "Maple grove" | "Eucalyptus" | "Olive branch" | "Clover meadow" | "Wildflower hedge" | "Piped petals" | "Twisted rope" | "Candy pebbles" | "Ribbon folds" | "Tidal ribbons" | "Seafoam beads" | "Glass droplets" | "Quiet currents" | "Fine filigree" | "Art deco" | "Hammered edge" | "Quiet gilding" | "Dimensioned" | "Ruler ticks" | "Construction lines" | "Quiet draft" | "Misprint" | "Halftone" | "Taped corners" | "Clean stamp" | "Tube outline" | "Broken tubes" | "Sign shapes" | "Low hum" | "Bamboo" | "Plum blossom" | "Dry brush" | "Ensō" | "Line map" | "Station roundels" | "Platform edge" | "Quiet line" | "Box corners" | "Status line" | "Raster ticks" | "Quiet cursor" | "Pane titles" | "Key hints" | "Split panes" | "Bare panes" | "Crop marks" | "Red block" | "Grid ticks" | "Bare grid" | "Corner tiles" | "Border run" | "Floral rosette" | "Single tile" | "Tie holes" | "Stencil marks" | "Board seams" | "Bare concrete" | "Starbursts" | "Boomerangs" | "Orbit atoms" | "Lone star" | "Target brackets" | "Telemetry" | "Reticle" | "Clean brackets" | "Hazard stripes" | "Rivet seams" | "Cargo stencils" | "Clean plate" | "Orbit rings" | "Gold foil" | "Star field" | "Single orbit" | "Rangoli corners" | "Diya row" | "Marigold string" | "Single diya" | "Lanterns" | "Scallop edge" | "Cloud scrolls" | "Single lantern" | "Bunting" | "Marigold garland" | "Paper confetti" | "Short string" | "Powder clouds" | "Splashes" | "Speckle dust" | "Soft haze" | "Fair Isle band" | "Snowflakes" | "Cable stitch" | "Plain rib" | "Specular rim" | "Refraction" | "Light catch" | "Clear";
|
|
156
|
+
readonly style: "Woodland mix" | "Wild ivy" | "Fern grove" | "Willow canopy" | "Oak & moss" | "Spring growth" | "Ginkgo fans" | "Maple grove" | "Eucalyptus" | "Olive branch" | "Clover meadow" | "Wildflower hedge" | "Piped petals" | "Twisted rope" | "Candy pebbles" | "Ribbon folds" | "Tidal ribbons" | "Seafoam beads" | "Glass droplets" | "Quiet currents" | "Fine filigree" | "Art deco" | "Hammered edge" | "Quiet gilding" | "Dimensioned" | "Ruler ticks" | "Construction lines" | "Quiet draft" | "Misprint" | "Halftone" | "Taped corners" | "Clean stamp" | "Tube outline" | "Broken tubes" | "Sign shapes" | "Low hum" | "Bamboo" | "Plum blossom" | "Dry brush" | "Ensō" | "Line map" | "Station roundels" | "Platform edge" | "Quiet line" | "Box corners" | "Status line" | "Raster ticks" | "Quiet cursor" | "Pane titles" | "Key hints" | "Split panes" | "Bare panes" | "Crop marks" | "Red block" | "Grid ticks" | "Bare grid" | "Corner tiles" | "Border run" | "Floral rosette" | "Single tile" | "Tie holes" | "Stencil marks" | "Board seams" | "Bare concrete" | "Starbursts" | "Boomerangs" | "Orbit atoms" | "Lone star" | "Target brackets" | "Telemetry" | "Reticle" | "Clean brackets" | "Hazard stripes" | "Rivet seams" | "Cargo stencils" | "Clean plate" | "Orbit rings" | "Gold foil" | "Star field" | "Single orbit" | "Rangoli corners" | "Diya row" | "Marigold string" | "Single diya" | "Lanterns" | "Scallop edge" | "Cloud scrolls" | "Single lantern" | "Bunting" | "Marigold garland" | "Paper confetti" | "Short string" | "Powder clouds" | "Splashes" | "Speckle dust" | "Soft haze" | "Fair Isle band" | "Snowflakes" | "Cable stitch" | "Plain rib" | "Specular rim" | "Refraction" | "Light catch" | "Clear" | "Sun and grid" | "Sun only" | "Grid only" | "Bare coast" | "Cursor and stars" | "Cursor only" | "Stars only" | "Plain window" | "Bulbs and credits" | "Bulbs only" | "Credits only" | "Dark cabinet";
|
|
49
157
|
readonly canopy: "Scattered trails" | "Corner cascades" | "Overhead boughs" | "Long tendrils" | "Open crown";
|
|
50
158
|
readonly stem: "Twining vines" | "Woody branches" | "Tender shoots" | "Mossy roots";
|
|
51
159
|
readonly density: number;
|
|
@@ -83,7 +191,7 @@ export declare const themeDocuments: {
|
|
|
83
191
|
};
|
|
84
192
|
readonly states: "standard" | "led" | "marching" | "inlay" | "glow" | "stamp";
|
|
85
193
|
readonly details: {
|
|
86
|
-
readonly focus: "offset" | "dashed" | "double" | "glow" | "ring";
|
|
194
|
+
readonly focus: "offset" | "dashed" | "double" | "halo" | "glow" | "ring";
|
|
87
195
|
readonly divider: "line" | "dashed" | "dotted" | "double" | "groove";
|
|
88
196
|
readonly selection: "accent" | "inverse" | "highlighter";
|
|
89
197
|
readonly scrollbar: "accent" | "native" | "thin";
|
package/dist/documents.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { parseThemeDocument } from "./theme-schema.js";
|
|
2
|
+
import { applyThemeFix } from "./theme-fix.js";
|
|
3
|
+
import { themeFixes } from "./theme-fixes.js";
|
|
2
4
|
import { defaultChrome } from "./chrome.js";
|
|
3
5
|
import { launchCharacters, launchChrome, launchDocuments, } from "./starters-launch.js";
|
|
4
6
|
/**
|
|
@@ -437,8 +439,8 @@ const starterCharacters = {
|
|
|
437
439
|
backdrop: { pattern: "dots", intensity: 0.22, scale: 0.8 },
|
|
438
440
|
},
|
|
439
441
|
};
|
|
440
|
-
/**
|
|
441
|
-
export const
|
|
442
|
+
/** Each starter as authored, before any saved fix from the theme audit. */
|
|
443
|
+
export const starterDocuments = [
|
|
442
444
|
{
|
|
443
445
|
schemaVersion: 2,
|
|
444
446
|
id: "dixy/living-forest",
|
|
@@ -1409,3 +1411,9 @@ export const themeDocuments = [
|
|
|
1409
1411
|
},
|
|
1410
1412
|
});
|
|
1411
1413
|
});
|
|
1414
|
+
/**
|
|
1415
|
+
* Installed themes: each starter with its saved fix, if any. Fixes are small
|
|
1416
|
+
* patches written by the playground's "Save as theme fix" (dev server only),
|
|
1417
|
+
* so a reviewer sees exactly which values changed.
|
|
1418
|
+
*/
|
|
1419
|
+
export const themeDocuments = starterDocuments.map((document) => parseThemeDocument(applyThemeFix(document, themeFixes[document.id])));
|
package/dist/foundations.d.ts
CHANGED
|
@@ -88,6 +88,14 @@ export declare const themeFonts: {
|
|
|
88
88
|
readonly label: "Manrope";
|
|
89
89
|
readonly value: "\"Manrope Variable\", \"Manrope\", ui-sans-serif, system-ui, sans-serif";
|
|
90
90
|
};
|
|
91
|
+
readonly atkinson: {
|
|
92
|
+
readonly label: "Atkinson Hyperlegible";
|
|
93
|
+
readonly value: "\"Atkinson Hyperlegible\", ui-sans-serif, system-ui, sans-serif";
|
|
94
|
+
};
|
|
95
|
+
readonly plexSans: {
|
|
96
|
+
readonly label: "IBM Plex Sans";
|
|
97
|
+
readonly value: "\"IBM Plex Sans Variable\", \"IBM Plex Sans\", ui-sans-serif, system-ui, sans-serif";
|
|
98
|
+
};
|
|
91
99
|
readonly figtree: {
|
|
92
100
|
readonly label: "Figtree";
|
|
93
101
|
readonly value: "\"Figtree Variable\", \"Figtree\", ui-sans-serif, system-ui, sans-serif";
|
package/dist/foundations.js
CHANGED
|
@@ -80,6 +80,14 @@ export const themeFonts = {
|
|
|
80
80
|
label: "Manrope",
|
|
81
81
|
value: '"Manrope Variable", "Manrope", ui-sans-serif, system-ui, sans-serif',
|
|
82
82
|
},
|
|
83
|
+
atkinson: {
|
|
84
|
+
label: "Atkinson Hyperlegible",
|
|
85
|
+
value: '"Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif',
|
|
86
|
+
},
|
|
87
|
+
plexSans: {
|
|
88
|
+
label: "IBM Plex Sans",
|
|
89
|
+
value: '"IBM Plex Sans Variable", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif',
|
|
90
|
+
},
|
|
83
91
|
figtree: {
|
|
84
92
|
label: "Figtree",
|
|
85
93
|
value: '"Figtree Variable", "Figtree", ui-sans-serif, system-ui, sans-serif',
|
|
@@ -111,6 +119,8 @@ export const themeFontPackages = {
|
|
|
111
119
|
jetbrains: "@fontsource/jetbrains-mono",
|
|
112
120
|
manrope: "@fontsource-variable/manrope",
|
|
113
121
|
figtree: "@fontsource-variable/figtree",
|
|
122
|
+
plexSans: "@fontsource-variable/ibm-plex-sans",
|
|
123
|
+
atkinson: "@fontsource/atkinson-hyperlegible",
|
|
114
124
|
cormorant: "@fontsource-variable/cormorant-garamond",
|
|
115
125
|
};
|
|
116
126
|
/** Shared by the compiled consumer settings and playground exports; no React or router import. */
|
package/dist/frame-styles.d.ts
CHANGED
|
@@ -31,6 +31,9 @@ export declare const framePrefixes: {
|
|
|
31
31
|
readonly gulal: "holi";
|
|
32
32
|
readonly knit: "yule";
|
|
33
33
|
readonly liquid: "glass";
|
|
34
|
+
readonly sunset: "sunset";
|
|
35
|
+
readonly menu: "savepoint";
|
|
36
|
+
readonly marquee: "arcade";
|
|
34
37
|
};
|
|
35
38
|
/** Frame code owns trim/geometry only. It never paints an input or action surface. */
|
|
36
39
|
export declare function frameStyles(m: ResolvedThemeRecipe, theme: string): string;
|
package/dist/frame-styles.js
CHANGED
|
@@ -31,6 +31,9 @@ export const framePrefixes = {
|
|
|
31
31
|
gulal: "holi",
|
|
32
32
|
knit: "yule",
|
|
33
33
|
liquid: "glass",
|
|
34
|
+
sunset: "sunset",
|
|
35
|
+
menu: "savepoint",
|
|
36
|
+
marquee: "arcade",
|
|
34
37
|
};
|
|
35
38
|
/** Frame code owns trim/geometry only. It never paints an input or action surface. */
|
|
36
39
|
export function frameStyles(m, theme) {
|
|
@@ -125,6 +128,9 @@ export function frameStyles(m, theme) {
|
|
|
125
128
|
details.gulal = `@keyframes dixy-holi-detail { from { opacity:.5; } to { opacity:1; } }`;
|
|
126
129
|
details.knit = `@keyframes dixy-yule-detail { from { opacity:.5; } to { opacity:1; } }`;
|
|
127
130
|
details.liquid = `@keyframes dixy-glass-detail { from { opacity:.5; } to { opacity:1; } }`;
|
|
131
|
+
details.sunset = `@keyframes dixy-sunset-detail { from { opacity:.5; } to { opacity:1; } }`;
|
|
132
|
+
details.menu = `@keyframes dixy-savepoint-detail { from { opacity:.5; } to { opacity:1; } }`;
|
|
133
|
+
details.marquee = `@keyframes dixy-arcade-detail { from { opacity:.5; } to { opacity:1; } }`;
|
|
128
134
|
// Scope every legacy ornament selector as well, so two custom frames can coexist.
|
|
129
135
|
const scoped = details[m.frame].replace(/(^|[}\n])([ \t]*)(\.dixy-[^{]+)\{/g, (_match, before, space, selector) => before +
|
|
130
136
|
space +
|