General Update

This commit is contained in:
Greg Kilmer
2026-07-04 10:53:14 -04:00
parent 71bffad507
commit 33fa312645
18 changed files with 921 additions and 346 deletions
+18 -1
View File
@@ -236,7 +236,7 @@
}
.btn-secondary {
background: transparent;
color: var(--color-text);
color: var(--text);
border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
@@ -291,3 +291,20 @@
transition: none;
}
}
/* ---------------------------------------------------------------------------
* View Transition name utility. Assigns `view-transition-name: sky` to a single
* hero/section field per page so the browser morphs the star/circuit field as
* one element across navigations (constellations <-> circuitry).
*
* IMPORTANT: the View Transitions API requires this name to be UNIQUE within a
* page snapshot. Assigning it to more than one element per page throws
* "Unexpected duplicate view-transition-name: sky" and aborts the transition.
* Only ONE field per page should ever carry `.vt-sky`.
*
* Implemented as a CSS class (not React inline style) so SSR + hydration
* attributes match exactly and React never rewrites the property.
* ------------------------------------------------------------------------- */
.vt-sky {
view-transition-name: sky;
}