Chart wheel: readable aspect lines
CI / test (push) Successful in 38s
CI / build (push) Successful in 3m48s
CI / deploy (push) Skipped

- only the major aspects between the ten planets, ASC and MC (the rest
  stays in the aspect table)
- one style per aspect: trine blue, sextile blue dashed, square orange,
  opposition red; width and opacity by orb, tight aspects on top
- line ends at the spread-out glyph angles, so neighbouring planets'
  lines no longer meet in one point
- hovering or focusing a planet shows only its aspects (CSS :has)
- shared legend, also on the example page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-17 06:17:02 +00:00
co-authored by Claude Opus 5.5
parent a937b6f0ff
commit 85337f2c79
4 changed files with 84 additions and 28 deletions
+16 -7
View File
@@ -15,6 +15,7 @@
--ok: #9fd8b0;
--harmonic: #7fb0e0;
--tense: #e38b8b;
--square: #f0a35e;
--radius: 10px;
--font-display: var(--font-cormorant), "Cormorant Garamond", Georgia, serif;
--font-body: var(--font-inter), Inter, system-ui, sans-serif;
@@ -195,10 +196,14 @@ td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-wheel-card { padding: 16px; gap: 10px; }
.chart-wheel { width: 100%; height: auto; display: block; max-width: 680px; margin: 0 auto; }
.chart-layout .big3 { grid-template-columns: 1fr; }
.wheel-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; justify-content: center; }
.legend-line { display: inline-block; width: 22px; height: 2px; border-radius: 1px; margin-left: 6px; }
.legend-harmonic { background: var(--harmonic); }
.legend-tense { background: var(--tense); }
.wheel-legend { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.wheel-legend-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend-line { display: inline-block; width: 24px; height: 2px; border-radius: 1px; }
.legend-trine { background: var(--harmonic); }
.legend-sextile { background: repeating-linear-gradient(90deg, var(--harmonic) 0 5px, transparent 5px 9px); }
.legend-square { background: var(--square); }
.legend-opposition { background: var(--tense); }
.aspect-tag { white-space: nowrap; }
.aspect-harmonic { color: var(--harmonic); }
.aspect-tense { color: var(--tense); }
@@ -219,9 +224,13 @@ td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-axis-label { fill: var(--gold); font: 600 14px var(--font-body); letter-spacing: 0.5px; }
.w-house-num { fill: var(--muted); font: 500 12px var(--font-body); }
.w-aspect { stroke-linecap: round; }
.w-harmonic { stroke: var(--harmonic); }
.w-tense { stroke: var(--tense); }
.w-neutral { stroke: var(--gold); }
.w-aspect { transition: stroke-opacity 0.15s; }
.w-asp-trine { stroke: var(--harmonic); }
.w-asp-sextile { stroke: var(--harmonic); stroke-dasharray: 5 4; }
.w-asp-square { stroke: var(--square); }
.w-asp-opposition { stroke: var(--tense); }
.w-point { outline: none; cursor: default; }
.w-point:focus-visible .w-point-glyph { fill: var(--gold); }
.w-point-tick { stroke: var(--ink); stroke-width: 1.6; }
.w-leader { stroke: var(--muted); stroke-width: 0.7; stroke-opacity: 0.6; }
.w-point-glyph { fill: var(--ink); font-family: var(--font-symbols); font-size: 22px; }