Skip to content

feat: theme defaults/sync + center gallery content - #18

Merged
hovanhoa merged 2 commits into
mainfrom
feat/theme-sync
Jun 9, 2026
Merged

feat: theme defaults/sync + center gallery content#18
hovanhoa merged 2 commits into
mainfrom
feat/theme-sync

Conversation

@hovanhoa

@hovanhoa hovanhoa commented Jun 9, 2026

Copy link
Copy Markdown
Member

Context

Follow-up tweaks after the editorial redesign.

Changes

  • Default theme is light — the anti-flash script no longer falls back to the OS prefers-color-scheme; it only goes dark when the saved preference says so.
  • Cross-subdomain theme sync — choice stored in a cookie scoped to .hovanhoa.net, so toggling on any *.hovanhoa.net page is picked up by all the others.
  • Gallery layout — header content + masonry grid centered in max-w-[var(--rd-maxw)] for consistency with the other pages (the glow header background stays full-width).

🤖 Generated with Claude Code

hovanhoa and others added 2 commits June 9, 2026 22:19
… consistency

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- default theme is light (no system-preference fallback)
- persist theme in a cookie scoped to .hovanhoa.net so toggling on any
  *.hovanhoa.net subdomain syncs across all of them
- anti-flash script reads the shared cookie

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
gallery.hovanhoa.net Ready Ready Preview, Comment Jun 9, 2026 3:25pm

@hovanhoa
hovanhoa merged commit 12d73a8 into main Jun 9, 2026
1 of 3 checks passed
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