Skip to content

Post-#21 follow-ups: cleanup + Darkroom branding (satus defaults) - #22

Merged
arzafran merged 2 commits into
mainfrom
chore/post-review-cleanup
Jun 23, 2026
Merged

arzafran merged 2 commits into
mainfrom
chore/post-review-cleanup

Conversation

@arzafran

@arzafran arzafran commented Jun 23, 2026 •

Copy link
Copy Markdown
Member

What this does

Two post-#21 follow-ups, both behavior-safe:

  1. Code cleanup from a nuclear-review + zero-tech-debt pass.
  2. Branding updated to match satus's current defaults — fonts, palette, icon, and App Router metadata.

Cleanup

  • Extract shared <TexturedPlane> from Image/Video (kills duplication + the Video → Image type coupling; MediaHandle moves to textured-plane)
  • exportConfig builds from a single store.getState() source
  • Reset drops a redundant loadConfig double-set
  • Dithering color via useRef, not useMemo([]) (React Compiler idiom)
  • Dependabot: add the npm ecosystem (was github-actions only), grouped

Branding (matches satus)

  • Fonts: Oswald (display) + Spline Sans Mono (mono) via next/font — panel labels mono, SPARGO wordmark Oswald
  • Palette: lib/styles/colors.ts (black / white / Darkroom red #e30613), dark default theme; default dither color is now Darkroom red (was blue)
  • Icons/metadata: App Router metadata files replace the legacy public/ favicons — app/icon.png + apple-icon.png (Darkroom mark), manifest.ts, robots.ts, sitemap.ts
  • Social card: generated spargo opengraph-image / twitter-image via next/og in satus's visual language (black + layered red dither mark + wordmark) — the satus SATŪS card was not reused
  • layout.tsx adopts satus's metadata structure (title template, appleWebApp, og/twitter, red theme color), fontsVariable + data-theme="dark" on <html>

Test Plan

  • bun run build green (all metadata routes: icon, manifest, opengraph-image, twitter-image, robots, sitemap)
  • tsc --noEmit clean (strict)
  • biome check clean
  • Verified in-browser: red-dithered hero, Oswald wordmark, mono panel; OG card renders correctly

- Extract shared <TexturedPlane> from Image/Video (removes duplication and the
  Video->Image type coupling); MediaHandle now lives in textured-plane
- exportConfig reads the whole config from one source (store.getState) instead
  of mixing getState + render closures
- Reset calls resetConfig only (drop redundant loadConfig double-set)
- Dithering color instance via useRef, not useMemo([]) (React Compiler idiom)
- dependabot: add npm ecosystem (package.json + bun.lock) with grouping; was
  github-actions only
@vercel

vercel Bot commented Jun 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gpu-dithering Ready Ready Preview Jun 23, 2026 9:03pm
spargo Ready Ready Preview, Comment Jun 23, 2026 9:03pm

…om red, app metadata)

- Fonts: Oswald (display) + Spline Sans Mono (mono) via next/font, exposed as
  CSS vars; panel labels mono, SPARGO wordmark Oswald
- Palette: lib/styles/colors.ts (black/white/red #e30613) + dark default theme;
  default dither color now Darkroom red instead of blue
- App Router metadata files replace legacy public favicons: app/icon.png +
  apple-icon.png (Darkroom mark), manifest.ts, robots.ts, sitemap.ts, and a
  generated spargo opengraph/twitter card (next/og) in the satus visual language
- layout.tsx adopts the satus metadata structure (title template, appleWebApp,
  og/twitter, red theme color), fontsVariable + data-theme=dark on <html>
- Remove stale starter favicons / site.webmanifest / robots.txt from public/
@arzafran arzafran changed the title Post-review cleanup: dedup media components, tighten config export, Dependabot npm Post-#21 follow-ups: cleanup + Darkroom branding (satus defaults) Jun 23, 2026
@arzafran
arzafran merged commit 2fc89b5 into main Jun 23, 2026
8 checks passed
arzafran added a commit that referenced this pull request Jun 23, 2026
Re-applies dep bumps dropped from #22's merge. tempus held at dev.17.

This branch was successfully deployed

2 active deployments
Preview – spargo — fbf21c86 Deployed Jun 23, 2026 by vercel[bot]
Preview – gpu-dithering — fbf21c86 Deployed Jun 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant