Commit b42c082
committed
feat: shared logo rotation, palette tuning, accent unification, favicon
PlatonicLogo:
- Shared rotation singleton (globalThis-persisted for HMR) syncs all
instances: rotation, shape, prefs, drag state
- Azimuth-based face coloring with even-spaced palette redistribution
per solid size (smooth gradient at 20, max spread at 4)
- Faces use theme.palette (auto light/dark) instead of hardcoded logoPalette
- qNorm separated from qMul, rAF string-cache skip, prefsLoaded in subscribe
- CustomEvent replaced with direct ref-based function call
Palette:
- Light palette regenerated from red seed oklch(0.72 0.27 30), separate+harmonize
pipeline, ΔE 8.58
- Dark palette harmonized via qlab, L-0.03 darkened, ΔE 8.69
- Dark mode code neutrals cooled to hue 270
Accent & links:
- Both modes derive accent from palette P[13] with L-shifted variants on same hue
- Links: accent at rest, accentDark on hover, matching underline color
- Sidebar active state uses accent (not accentLight), accentDark on hover
- NextPage title: accent color with solid underline on hover
Favicon: new SVG with dynamic 3D angle, 10 palette-colored icosahedron faces1 parent c213861 commit b42c082
File tree
9 files changed
+386
-326
lines changed- app
- components
- LogoConcepts
- public
- utils
9 files changed
+386
-326
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments