diff --git a/web/CLAUDE.md b/web/CLAUDE.md index e4ab446..553f5d7 100644 --- a/web/CLAUDE.md +++ b/web/CLAUDE.md @@ -88,7 +88,14 @@ shipped belongs in the app's `CHANGELOG.md` only. blocks over the custom properties in `src/styles/global.css`. Don't reach for Tailwind, a component library, or a client-side framework — there is no client-side JS framework here on purpose, and shared patterns (`.card`, - `.pill`, `.btn`, `.tok`) already exist in `global.css`. + `.frost`, `.pill`, `.btn`, `.tok`) already exist in `global.css` — `.frost` is + the blur every card carries, so reach for it rather than hand-rolling another + `backdrop-filter`. +- **Write `-webkit-backdrop-filter` before the unprefixed property**, here and in + `Nav.astro` / `DocsNav.astro`. esbuild's minifier treats the pair as one + property and keeps the one written last, so standard-first ships only the + prefix — which Chrome has removed and Firefox never had, silently killing the + blur outside Safari. `global.css` carries the long version of this note. - **Colours, radii, and spacing come from tokens**, so a change lands in one place. A hard-coded hex in a component is a mistake. - **Motion is optional.** Scroll-reveal, parallax, and typing effects must stay diff --git a/web/src/components/ChangelogEntry.astro b/web/src/components/ChangelogEntry.astro index 9f7efb9..c5df636 100644 --- a/web/src/components/ChangelogEntry.astro +++ b/web/src/components/ChangelogEntry.astro @@ -16,7 +16,7 @@ const dot = featured ? "var(--green)" : dots[index] ?? "rgba(255,255,255,0.4)"; style={`--dot:${dot};--reveal-delay:${Math.min(index, 4) * 0.05}s`} > -
+

{release.version}

{release.badge && {release.badge}} diff --git a/web/src/components/DocsNav.astro b/web/src/components/DocsNav.astro index 9eb475f..d99e6ad 100644 --- a/web/src/components/DocsNav.astro +++ b/web/src/components/DocsNav.astro @@ -32,7 +32,7 @@ const currentTitle = pages.find((p) => p.id === current)?.data.title ?? "Docs"; {/* Below 900px the rail is a stacked block, and every page opened with a fourteen-page index plus this page's own sections above the first paragraph. There it collapses into one sticky control instead. */} -