Skip to content

Force cyberpunk theme on Own your AI - #126

Draft
feynon wants to merge 1 commit into
mainfrom
agent/cyberpunk-own-your-ai
Draft

Force cyberpunk theme on Own your AI#126
feynon wants to merge 1 commit into
mainfrom
agent/cyberpunk-own-your-ai

Conversation

@feynon

@feynon feynon commented Jul 26, 2026

Copy link
Copy Markdown
Member

What changed

  • Force /blog/own-your-ai to use the cyberpunk theme regardless of the visitor’s saved preference.
  • Apply the cyberpunk and dark classes before first paint.
  • Keep the theme switcher hidden so cyberpunk is the only available theme on this post.
  • Remove the route-specific near-black CSS overrides that suppressed the yellow cyberpunk announcement treatment.
  • Update the repository guidance to preserve this route behavior.

Why

The post was locked to the plain dark theme. It also had higher-specificity route styles that overrode the site-wide cyberpunk palette, so changing only the forced theme would not have produced the complete cyberpunk presentation.

Validation

  • git diff --check
  • Route helper assertions for the exact post path, nested path, and unrelated blog path
  • SWC syntax compilation for all edited TypeScript and TSX files
  • Development render returned 200 for /blog/own-your-ai
  • Verified the server-rendered page applies cyberpunk and dark before first paint
  • Verified the server-rendered top bar omits the theme switcher
  • Next.js production compilation completed successfully; static generation then stopped on the pre-existing /book/_archived/memory-inference-time prerender error

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
tiles-next Ready Ready Preview, Comment, Open in v0 Jul 26, 2026 2:36pm

Request Review

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