mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-02 21:01:21 +00:00
Editor grid dots are a hint: mute both levels (0.35 / 0.5)
The adaptive grid drew at full strength — on the white paper of a drawn plan the dots argued with the walls instead of guiding them. Both levels are dimmed, the CAD hierarchy kept: fine dots 0.75 -> 0.35, coarse nodes 1 -> 0.5, so the accents still carry the scale reference on the dark scene background. Editors only; View draws no grid (smoke_grid_fade).
This commit is contained in:
@@ -1064,9 +1064,12 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
||||
stroke-width: 3;
|
||||
fill: rgba(255, 193, 77, 0.25);
|
||||
}
|
||||
/* Owner 2026-08-04: the grid is a HINT, not content — at full strength the
|
||||
dots argued with the plan on white paper. Both levels are muted, the
|
||||
hierarchy is kept (major still denser than fine). */
|
||||
.griddot {
|
||||
fill: var(--hp-accent);
|
||||
opacity: 0.75;
|
||||
opacity: 0.35;
|
||||
stroke: rgba(0, 0, 0, 0.35);
|
||||
stroke-width: 0.4;
|
||||
}
|
||||
@@ -1074,7 +1077,7 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
||||
bigger, more opaque dot, so zoomed far out the grid still reads as a
|
||||
grid instead of a grey wash. */
|
||||
.griddot.major {
|
||||
opacity: 1;
|
||||
opacity: 0.5;
|
||||
stroke-width: 0;
|
||||
}
|
||||
.seg {
|
||||
|
||||
@@ -1064,9 +1064,12 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
||||
stroke-width: 3;
|
||||
fill: rgba(255, 193, 77, 0.25);
|
||||
}
|
||||
/* Owner 2026-08-04: the grid is a HINT, not content — at full strength the
|
||||
dots argued with the plan on white paper. Both levels are muted, the
|
||||
hierarchy is kept (major still denser than fine). */
|
||||
.griddot {
|
||||
fill: var(--hp-accent);
|
||||
opacity: 0.75;
|
||||
opacity: 0.35;
|
||||
stroke: rgba(0, 0, 0, 0.35);
|
||||
stroke-width: 0.4;
|
||||
}
|
||||
@@ -1074,7 +1077,7 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
||||
bigger, more opaque dot, so zoomed far out the grid still reads as a
|
||||
grid instead of a grey wash. */
|
||||
.griddot.major {
|
||||
opacity: 1;
|
||||
opacity: 0.5;
|
||||
stroke-width: 0;
|
||||
}
|
||||
.seg {
|
||||
|
||||
Vendored
+5
-2
@@ -1064,9 +1064,12 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
||||
stroke-width: 3;
|
||||
fill: rgba(255, 193, 77, 0.25);
|
||||
}
|
||||
/* Owner 2026-08-04: the grid is a HINT, not content — at full strength the
|
||||
dots argued with the plan on white paper. Both levels are muted, the
|
||||
hierarchy is kept (major still denser than fine). */
|
||||
.griddot {
|
||||
fill: var(--hp-accent);
|
||||
opacity: 0.75;
|
||||
opacity: 0.35;
|
||||
stroke: rgba(0, 0, 0, 0.35);
|
||||
stroke-width: 0.4;
|
||||
}
|
||||
@@ -1074,7 +1077,7 @@ const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
||||
bigger, more opaque dot, so zoomed far out the grid still reads as a
|
||||
grid instead of a grey wash. */
|
||||
.griddot.major {
|
||||
opacity: 1;
|
||||
opacity: 0.5;
|
||||
stroke-width: 0;
|
||||
}
|
||||
.seg {
|
||||
|
||||
@@ -288,6 +288,12 @@ wash. `gridLevels(pitch, pxPerUnit, minPx)` (pure, unit tested) picks:
|
||||
The grid rectangle also follows the **view**, not the old `view_box`,
|
||||
so it is there wherever you pan.
|
||||
|
||||
The dots are a **hint, not content** (owner 2026-08-04): at full strength
|
||||
they argued with the plan on white paper. `.griddot` is `opacity: 0.35`,
|
||||
`.griddot.major` `opacity: 0.5` (styles.ts) — both muted, the CAD
|
||||
hierarchy kept, coarse nodes still denser than fine ones. The grid lives
|
||||
in the editors only; View never draws it (`smoke_grid_fade`).
|
||||
|
||||
## §8 Toolbar
|
||||
|
||||
The middle button of the zoom control was "Reset zoom" (`_resetZoom`,
|
||||
|
||||
+5
-2
@@ -1061,9 +1061,12 @@ export const cardStyles = css`
|
||||
stroke-width: 3;
|
||||
fill: rgba(255, 193, 77, 0.25);
|
||||
}
|
||||
/* Owner 2026-08-04: the grid is a HINT, not content — at full strength the
|
||||
dots argued with the plan on white paper. Both levels are muted, the
|
||||
hierarchy is kept (major still denser than fine). */
|
||||
.griddot {
|
||||
fill: var(--hp-accent);
|
||||
opacity: 0.75;
|
||||
opacity: 0.35;
|
||||
stroke: rgba(0, 0, 0, 0.35);
|
||||
stroke-width: 0.4;
|
||||
}
|
||||
@@ -1071,7 +1074,7 @@ export const cardStyles = css`
|
||||
bigger, more opaque dot, so zoomed far out the grid still reads as a
|
||||
grid instead of a grey wash. */
|
||||
.griddot.major {
|
||||
opacity: 1;
|
||||
opacity: 0.5;
|
||||
stroke-width: 0;
|
||||
}
|
||||
.seg {
|
||||
|
||||
Reference in New Issue
Block a user