@dixy-ui/themes 0.1.0-beta.5 → 0.1.0-beta.6
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 +1 -1
- package/dist/bytes.json +14 -14
- package/dist/candy-clay.css +7 -0
- package/dist/dispatch.css +7 -0
- package/dist/frame-styles.js +7 -1
- package/dist/ledger.css +7 -0
- package/dist/mainframe.css +7 -0
- package/dist/ocean-depths.css +7 -0
- package/dist/scrapbook.css +7 -0
- package/dist/signal.css +7 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -125,7 +125,7 @@ Omit animateOrnaments for still geometry. The playground's Animate details butto
|
|
|
125
125
|
| Y2K Titanium | `TitaniumOrnament` | Chamfers, screws, perforations and light pipes |
|
|
126
126
|
| Material Light | `LightOrnament` | Porcelain halo and fine rim highlights |
|
|
127
127
|
|
|
128
|
-
Each export comes from `@dixy-ui/themes/<slug>/react`. CSS/definition-only consumption remains supported without the React artwork. See `docs/PROCEDURAL_SKINS.md` in the repository for architecture and verification scope.
|
|
128
|
+
Each export comes from `@dixy-ui/themes/<slug>/react`. Ocean Depths and Candy Clay now ship plain cards (No frame), so their stylesheets keep `OceanOrnament` and `ClayOrnament` hidden and out of layout; the renderers draw on themes whose frame recipe is `coral` or `cushion`. CSS/definition-only consumption remains supported without the React artwork. See `docs/PROCEDURAL_SKINS.md` in the repository for architecture and verification scope.
|
|
129
129
|
|
|
130
130
|
Themes style component surfaces and edges. Button labels and icons belong to the consumer; no renderer is mounted inside a Button. A loading spinner remains a functional Button feature. Retro frames do not simulate window title bars, window actions or resize handles. Compose working controls explicitly when an application needs them.
|
|
131
131
|
|
package/dist/bytes.json
CHANGED
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"id": "dixy/ocean-depths",
|
|
34
|
-
"cssBytes":
|
|
35
|
-
"gzipBytes":
|
|
34
|
+
"cssBytes": 29717,
|
|
35
|
+
"gzipBytes": 4327
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"id": "dixy/candy-clay",
|
|
39
|
-
"cssBytes":
|
|
40
|
-
"gzipBytes":
|
|
39
|
+
"cssBytes": 27953,
|
|
40
|
+
"gzipBytes": 4012
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"id": "dixy/art-deco",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"id": "dixy/scrapbook",
|
|
59
|
-
"cssBytes":
|
|
60
|
-
"gzipBytes":
|
|
59
|
+
"cssBytes": 23930,
|
|
60
|
+
"gzipBytes": 3550
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"id": "dixy/blueprint",
|
|
@@ -171,22 +171,22 @@
|
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
"id": "dixy/ledger",
|
|
174
|
-
"cssBytes":
|
|
175
|
-
"gzipBytes":
|
|
174
|
+
"cssBytes": 19252,
|
|
175
|
+
"gzipBytes": 3001
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"id": "dixy/mainframe",
|
|
179
|
-
"cssBytes":
|
|
180
|
-
"gzipBytes":
|
|
179
|
+
"cssBytes": 24615,
|
|
180
|
+
"gzipBytes": 3468
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
"id": "dixy/dispatch",
|
|
184
|
-
"cssBytes":
|
|
185
|
-
"gzipBytes":
|
|
184
|
+
"cssBytes": 23287,
|
|
185
|
+
"gzipBytes": 3316
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
"id": "dixy/signal",
|
|
189
|
-
"cssBytes":
|
|
190
|
-
"gzipBytes":
|
|
189
|
+
"cssBytes": 19376,
|
|
190
|
+
"gzipBytes": 2917
|
|
191
191
|
}
|
|
192
192
|
]
|
package/dist/candy-clay.css
CHANGED
|
@@ -513,6 +513,13 @@
|
|
|
513
513
|
border: 1px solid var(--dixy-skin-edge);
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
+
.dixy-theme[data-dixy-skin="dixy/candy-clay"] .dixy-skin-ornament {
|
|
517
|
+
position: absolute;
|
|
518
|
+
inset: 0;
|
|
519
|
+
display: none;
|
|
520
|
+
pointer-events: none;
|
|
521
|
+
}
|
|
522
|
+
|
|
516
523
|
.dixy-theme[data-dixy-skin="dixy/candy-clay"]
|
|
517
524
|
:is(.dixy-switch-thumb)[data-dixy-skin="dixy/candy-clay"] {
|
|
518
525
|
border-radius: 999px;
|
package/dist/dispatch.css
CHANGED
|
@@ -469,6 +469,13 @@
|
|
|
469
469
|
border: 1px solid var(--dixy-skin-edge);
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
+
.dixy-theme[data-dixy-skin="dixy/dispatch"] .dixy-skin-ornament {
|
|
473
|
+
position: absolute;
|
|
474
|
+
inset: 0;
|
|
475
|
+
display: none;
|
|
476
|
+
pointer-events: none;
|
|
477
|
+
}
|
|
478
|
+
|
|
472
479
|
.dixy-theme[data-dixy-skin="dixy/dispatch"] {
|
|
473
480
|
--dixy-motion-easing-standard: cubic-bezier(0.22, 1, 0.36, 1);
|
|
474
481
|
--dixy-motion-easing-enter: linear(
|
package/dist/frame-styles.js
CHANGED
|
@@ -37,8 +37,14 @@ export const framePrefixes = {
|
|
|
37
37
|
};
|
|
38
38
|
/** Frame code owns trim/geometry only. It never paints an input or action surface. */
|
|
39
39
|
export function frameStyles(m, theme) {
|
|
40
|
+
// No frame: the material carries the look, so an ornament renderer passed
|
|
41
|
+
// anyway (e.g. ClayOrnament on Candy Clay) must stay inert. Take it out of
|
|
42
|
+
// flow and hide it; without this its wrapper and canvas sat in normal flow
|
|
43
|
+
// and grew the card or dialog (issue #24).
|
|
40
44
|
if (m.frame === "none")
|
|
41
|
-
return
|
|
45
|
+
return `
|
|
46
|
+
${theme} .dixy-skin-ornament { position:absolute; inset:0; display:none; pointer-events:none; }
|
|
47
|
+
`;
|
|
42
48
|
const prefix = framePrefixes[m.frame];
|
|
43
49
|
const art = `${theme} .dixy-${prefix}-ornament`;
|
|
44
50
|
const safe = {
|
package/dist/ledger.css
CHANGED
|
@@ -457,6 +457,13 @@
|
|
|
457
457
|
border: 1px solid var(--dixy-skin-edge);
|
|
458
458
|
}
|
|
459
459
|
|
|
460
|
+
.dixy-theme[data-dixy-skin="dixy/ledger"] .dixy-skin-ornament {
|
|
461
|
+
position: absolute;
|
|
462
|
+
inset: 0;
|
|
463
|
+
display: none;
|
|
464
|
+
pointer-events: none;
|
|
465
|
+
}
|
|
466
|
+
|
|
460
467
|
.dixy-theme[data-dixy-skin="dixy/ledger"] {
|
|
461
468
|
--dixy-motion-easing-standard: cubic-bezier(0.5, 0, 0.1, 1);
|
|
462
469
|
--dixy-motion-easing-enter: cubic-bezier(0.5, 0, 0.1, 1);
|
package/dist/mainframe.css
CHANGED
|
@@ -457,6 +457,13 @@
|
|
|
457
457
|
border: 1px solid var(--dixy-skin-edge);
|
|
458
458
|
}
|
|
459
459
|
|
|
460
|
+
.dixy-theme[data-dixy-skin="dixy/mainframe"] .dixy-skin-ornament {
|
|
461
|
+
position: absolute;
|
|
462
|
+
inset: 0;
|
|
463
|
+
display: none;
|
|
464
|
+
pointer-events: none;
|
|
465
|
+
}
|
|
466
|
+
|
|
460
467
|
.dixy-theme[data-dixy-skin="dixy/mainframe"]
|
|
461
468
|
:is(.dixy-switch-root)[data-dixy-skin="dixy/mainframe"]::before {
|
|
462
469
|
border-radius: 3px;
|
package/dist/ocean-depths.css
CHANGED
|
@@ -523,6 +523,13 @@
|
|
|
523
523
|
border: 1px solid var(--dixy-skin-edge);
|
|
524
524
|
}
|
|
525
525
|
|
|
526
|
+
.dixy-theme[data-dixy-skin="dixy/ocean-depths"] .dixy-skin-ornament {
|
|
527
|
+
position: absolute;
|
|
528
|
+
inset: 0;
|
|
529
|
+
display: none;
|
|
530
|
+
pointer-events: none;
|
|
531
|
+
}
|
|
532
|
+
|
|
526
533
|
.dixy-theme[data-dixy-skin="dixy/ocean-depths"]
|
|
527
534
|
:is(.dixy-switch-thumb)[data-dixy-skin="dixy/ocean-depths"] {
|
|
528
535
|
border-radius: 999px;
|
package/dist/scrapbook.css
CHANGED
|
@@ -462,6 +462,13 @@
|
|
|
462
462
|
border: 1px solid var(--dixy-skin-edge);
|
|
463
463
|
}
|
|
464
464
|
|
|
465
|
+
.dixy-theme[data-dixy-skin="dixy/scrapbook"] .dixy-skin-ornament {
|
|
466
|
+
position: absolute;
|
|
467
|
+
inset: 0;
|
|
468
|
+
display: none;
|
|
469
|
+
pointer-events: none;
|
|
470
|
+
}
|
|
471
|
+
|
|
465
472
|
.dixy-theme[data-dixy-skin="dixy/scrapbook"] {
|
|
466
473
|
--dixy-motion-easing-standard: cubic-bezier(0.22, 1, 0.36, 1);
|
|
467
474
|
--dixy-motion-easing-enter: linear(
|
package/dist/signal.css
CHANGED
|
@@ -457,6 +457,13 @@
|
|
|
457
457
|
border: 1px solid var(--dixy-skin-edge);
|
|
458
458
|
}
|
|
459
459
|
|
|
460
|
+
.dixy-theme[data-dixy-skin="dixy/signal"] .dixy-skin-ornament {
|
|
461
|
+
position: absolute;
|
|
462
|
+
inset: 0;
|
|
463
|
+
display: none;
|
|
464
|
+
pointer-events: none;
|
|
465
|
+
}
|
|
466
|
+
|
|
460
467
|
.dixy-theme[data-dixy-skin="dixy/signal"] {
|
|
461
468
|
--dixy-personality-press-distance: 0px;
|
|
462
469
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dixy-ui/themes",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Independent 2D skins for Dixy's existing components.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
"./signal.css": "./dist/signal.css"
|
|
373
373
|
},
|
|
374
374
|
"dependencies": {
|
|
375
|
-
"@dixy-ui/tokens": "0.1.0-beta.
|
|
375
|
+
"@dixy-ui/tokens": "0.1.0-beta.4"
|
|
376
376
|
},
|
|
377
377
|
"devDependencies": {
|
|
378
378
|
"typescript": "5.9.3",
|