@justai/cuts 0.129.6 → 0.129.7
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/package.json +1 -1
- package/src/Preroll.astro +19 -2
package/package.json
CHANGED
package/src/Preroll.astro
CHANGED
|
@@ -369,12 +369,29 @@ const safeId = "game-" + (id.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/
|
|
|
369
369
|
* half a second to fade - and every pause put a brief wave of darkness across the game itself.
|
|
370
370
|
* Static costs nothing (the room is transparent outside playing) and cannot mistime. */
|
|
371
371
|
.cut.kernel:has(#pr) { position: relative; z-index: 35; }
|
|
372
|
+
/* ── THE ROOM IS DARK DOT PAPER, NOT A BLACK FILM ───────────────────────────────────────────
|
|
373
|
+
* queries: theater dim flat colour · the dots disappear in the dark · blender dark theme ·
|
|
374
|
+
* dot paper grid in theater mode
|
|
375
|
+
*
|
|
376
|
+
* The founder, looking at the first dim: *"dot paper grid'de dot kendini belli etmeyince bu
|
|
377
|
+
* sefer duz bir renk gibi algilaniyor"* — and pointing at the fix: 3dviewer's player, whose
|
|
378
|
+
* stage is Blender's own Theme Space grey, read out of a running Blender. A flat translucent
|
|
379
|
+
* black erased the ground's identity; a dark room should still be THE SAME PAPER with the
|
|
380
|
+
* lights down, the way Blender's viewport keeps its grid in the dark.
|
|
381
|
+
*
|
|
382
|
+
* So the layer carries its own lattice — the door's 24px dot grid, light-on-dark — over a
|
|
383
|
+
* neutral Blender-family dark. The opacity is high on purpose: the dots belong to THIS layer,
|
|
384
|
+
* and a translucent lattice over a busy page is noise, while a nearly-opaque one is a surface.
|
|
385
|
+
* The chrome beneath (the toolbar steps under at z 20) stays legible as shapes in a dark room. */
|
|
372
386
|
.pr-room {
|
|
373
387
|
position: fixed; inset: 0; z-index: 30;
|
|
374
|
-
background:
|
|
388
|
+
background:
|
|
389
|
+
radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 24px 24px,
|
|
390
|
+
#262626;
|
|
391
|
+
opacity: 0; pointer-events: none;
|
|
375
392
|
transition: opacity 0.5s var(--ease-out, ease-out);
|
|
376
393
|
}
|
|
377
|
-
html[data-stage="playing"] .pr-room { opacity: 0.
|
|
394
|
+
html[data-stage="playing"] .pr-room { opacity: 0.86; }
|
|
378
395
|
</style>
|
|
379
396
|
|
|
380
397
|
<script>
|