Skip to content

Midnight theme for the not-found page, the one outer page - #187

Merged
sdcarlson merged 1 commit into
mainfrom
theme/midnight-outer-pages
Oct 30, 2026
Merged

sdcarlson merged 1 commit into
mainfrom
theme/midnight-outer-pages

Conversation

@sdcarlson

Copy link
Copy Markdown
Collaborator

Objective. Bring Flyspace's outer pages into the SyberLabs Midnight theme (syberlabs.io, SyberLabs.github.io #184) and leave every app screen exactly as it is.

What a visitor sees today. The app has one page route. / (where syberlabs.io's "Open the preview" goes) opens straight into the canvas: no landing, welcome, sign-in, privacy, terms or about page exists. Sign-in goes to syberlabs.io (SIGN_IN_URL). The only site-like page this app serves is the 404 that every other path returns (/privacy, /terms, /about, /signin all 404), and it was the framework's stock page, black on white in a light browser.

What changed.

  • src/app/not-found.tsx: the same 404 copy and layout as the stock page, plus <meta name="theme-color" content="#02070a">.
  • src/app/globals.css: one block at the end, scoped to .midnight-page. It redefines the existing tokens (--citadel-void, --text-*, --rule*, --ice, --blue) to the Midnight values, sets color-scheme: dark, Electric Blue links and focus, and Midnight selection. Text: #F1F6F9 (18.6:1) and #C3CFD6 (12.7:1) on #02070A.

What did not change. The canvas, Shell Store, blocks, personas, sidebar, top bar, account panel and every other working screen. No :root token changed. The OAuth callback page (/api/oauth/:provider/callback) is a transient popup and is untouched. No dependency, workflow, lockfile or deploy config changed.

Tests run (local, Node 22). npm run typecheck: 0 errors. npm run lint: 0 errors, 5 existing warnings. npm test: 1656 passed, 29 skipped (Postgres). npm run build: passes, plus CI's wrangler deploy --dry-run (the bundle's index.js is written). Not run locally: test:e2e and scan:bundle, which CI runs.

Measurements. I served the built Worker (wrangler dev) and took Playwright Chromium screenshots. The 404 at 1440x900 and 390x844: body rgb(2,7,10), h1 rgb(241,246,249), h2 rgb(195,207,214), theme-color #02070a, no horizontal scroll. The empty canvas at 1440x900, before and after: 0 of 1,296,000 pixels differ.

Known failures. None.

Claim ceiling. Tested locally against the Worker build. Not deployed.

Architectural decisions. A .midnight-page wrapper is the scope for any future site-like page, so the theme never reaches the canvas.

Falsifiable by. Any canvas pixel changing, or a 404 that is not Midnight on the deployed host.

Next permissible package. Deploy by hand (npm run deploy:vinext from a clean main; the deploy-preview workflow is off), then check https://omni.syberlabs.io/privacy shows the Midnight 404.


Generated by Claude Code

Flyspace serves one page route: / opens straight into the canvas. The
only site-like page a visitor can reach is the 404 that every other
path returns, which was the framework's stock page (white in a light
browser). It is now src/app/not-found.tsx with the same copy and layout
in the SyberLabs Midnight palette, scoped to .midnight-page so the
canvas and every working screen keep the Atlas palette (canvas
screenshot before and after: 0 of 1,296,000 pixels differ).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VHrJ4iuqxC5KGQrKkN1gp6
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T23:54:28.859481Z 91650ef PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sdcarlson
sdcarlson merged commit 42785f9 into main Oct 30, 2026
5 checks passed
@sdcarlson
sdcarlson deleted the theme/midnight-outer-pages branch October 30, 2026 23:56
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