swaits cfa6cf2be2 feat: style release changelog with color-coded sections
Gives the GitHub-release-body markdown real typography on the
/flash page:

- `## [version]` becomes a bordered mono version heading
- `### Added / Changed / Fixed / Removed / Deprecated / Security`
  render as uppercase section headers, color-coded per
  Keep-a-Changelog semantics (green / yellow / blue / red)
- Nested bullet lists switch marker style (disc → circle → square)
- Inline `code`, fenced `pre`, hr, strong, em, blockquote all styled
- Proper vertical rhythm (line-height 1.65, section spacing)

To colorize the section headers, `VersionSelector`.renderBody now
post-processes marked's output to tag known h3 texts with a
`data-section` attribute that CSS targets.

Rules live in `src/styles/global.css` under `@layer base`, not in
the Svelte component's `<style>` block: the Astro + Svelte 5 build
pipeline was silently dropping the component's scoped CSS in the
production bundle (works in dev via HMR, but `dist/_astro/*.css`
shipped with zero `.changelog` rules), leaving the netlify site
completely unstyled. Moving to global CSS sidesteps that toolchain
issue; the `.changelog` parent selector is specific enough that no
scope leakage is possible.
2026-04-11 23:17:59 -06:00
2026-04-08 10:59:57 -06:00
2026-04-08 13:56:34 -06:00
2026-04-08 10:59:57 -06:00
2026-04-08 10:59:57 -06:00
2026-04-08 10:59:57 -06:00
2026-04-08 10:59:57 -06:00
2026-04-08 10:59:57 -06:00
2026-04-08 10:59:57 -06:00
2026-04-08 10:59:57 -06:00
S
Description
No description provided
957 KiB
0 Stars 1 Watchers 0 Forks
Languages
Svelte 37.8%
Astro 30.2%
TypeScript 21.7%
CSS 8%
JavaScript 2.3%