From d12d1516a8c8205159b5984b37f8b3a4f422c47b Mon Sep 17 00:00:00 2001 From: Seth Carlson Date: Fri, 30 Oct 2026 16:55:44 -0700 Subject: [PATCH] Theme Relay's outer pages with the SyberLabs Midnight palette About and the data notice (/privacy) now use Midnight Black surfaces, off-white text, Electric Blue links and focus, and a Cantaloupe primary button with Midnight text, matching syberlabs.io. The tokens are redefined on main.productpage.midnight, so the signed-in screens keep their current :root colours. Both pages also emit theme-color #02070a. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VHrJ4iuqxC5KGQrKkN1gp6 --- app/about/page.tsx | 4 ++- app/globals.css | 68 ++++++++++++++++++++++++++++++++++++++++++++ app/privacy/page.tsx | 4 ++- 3 files changed, 74 insertions(+), 2 deletions(-) diff --git a/app/about/page.tsx b/app/about/page.tsx index ac80028..987c3ab 100644 --- a/app/about/page.tsx +++ b/app/about/page.tsx @@ -1,9 +1,11 @@ import { ArrowUpRight } from 'lucide-react'; +import type { Viewport } from 'next'; import Link from 'next/link'; import { Lockup } from '../lockup'; +export const viewport: Viewport = { themeColor: '#02070a' }; export default function About() { return ( -
+
diff --git a/app/globals.css b/app/globals.css index 3541a38..9f71dab 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1853,3 +1853,71 @@ footer { color: var(--sy-text); font-weight: 600; } + +/* Midnight theme (SyberLabs, October 30, 2026) for Relay's outer pages only: + About and the data notice, marked
. + Tokens are redefined on that element, so app screens (Runtime, Tracker, + facts, Advanced, Applications) keep the :root values above. Aliases are + redeclared here because a var() alias resolves where it is declared. */ +.productpage.midnight { + --sy-bg: #02070a; + --sy-surface: #07121a; + --sy-surface-2: #0c1b25; + --sy-line: rgba(140, 200, 235, 0.14); + --sy-line-strong: rgba(140, 200, 235, 0.28); + --sy-text: #f1f6f9; + --sy-text-2: #c3cfd6; + --sy-text-3: #93a4ae; + --sy-on-primary: #02070a; + --sy-brand: #0297de; + --sy-accent-relay: #0297de; + --ink: var(--sy-text); + --muted: var(--sy-text-2); + --paper: var(--sy-bg); + --line: var(--sy-line); + --accent: var(--sy-brand); + --plate: var(--sy-surface); + --plate-hi: var(--sy-surface-2); + --rule: var(--sy-line); + --rule-hi: var(--sy-line-strong); + --dim: var(--sy-text-2); + --dimmer: var(--sy-text-3); + --signal: var(--sy-brand); + color: var(--sy-text); + color-scheme: dark; +} +body:has(.productpage.midnight) { + background: #02070a; +} +.productpage.midnight p:not(.eyebrow) { + color: var(--sy-text-2); +} +.productpage.midnight p a:hover, +.productpage.midnight .links a:hover, +.productpage.midnight footer a:hover { + color: #4cc0f5; +} +.productpage.midnight a.primary { + background: #fc734d; + border-color: transparent; + color: #02070a; + font-weight: 600; + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.38), + 0 12px 34px -14px rgba(252, 115, 77, 0.8); +} +.productpage.midnight a.primary:hover { + background: #fd9273; + border-color: transparent; +} +.productpage.midnight .secondary:hover { + border-color: #0297de; +} +.productpage.midnight :focus-visible { + outline: 2px solid #0297de; + outline-offset: 3px; +} +.productpage.midnight ::selection { + background: rgba(2, 151, 222, 0.32); + color: #fff; +} diff --git a/app/privacy/page.tsx b/app/privacy/page.tsx index 5068557..097236b 100644 --- a/app/privacy/page.tsx +++ b/app/privacy/page.tsx @@ -1,8 +1,10 @@ +import type { Viewport } from 'next'; import Link from 'next/link'; import { Lockup } from '../lockup'; +export const viewport: Viewport = { themeColor: '#02070a' }; export default function Privacy() { return ( -
+