Skip to content

Add selectable landing page color themes - #12

Closed
esokullu wants to merge 1 commit into
mainfrom
codex/add-alternative-color-themes-for-web-folder
Closed

Add selectable landing page color themes#12
esokullu wants to merge 1 commit into
mainfrom
codex/add-alternative-color-themes-for-web-folder

Conversation

@esokullu

Copy link
Copy Markdown
Collaborator

Motivation

  • Provide brighter alternatives to the default dark landing page by allowing visitors to preview and persist different palettes (Orange, Whitish, Rosy) while keeping Dark as the default.

Description

  • Introduced theme variable fallbacks in :root and added body[data-theme="orange"], body[data-theme="whitish"], and body[data-theme="rosy"] palettes to swap colors across the page.
  • Replaced hard-coded color/shadow values with CSS variables (e.g. --panel-bg, --accent-hover, --glow-secondary) and updated gradients/backgrounds to use those variables so themes apply consistently.
  • Added a small theme switcher UI in the nav (.theme-switcher with .theme-btn) and an inline script that applies the theme and persists the selection to localStorage under webbrain-theme.
  • Touched web/index.html layout and responsive rules minimally to accommodate the switcher and ensure theme buttons behave on small screens.

Testing

  • Ran git diff --check to ensure no whitespace or patch-format issues, which completed without errors.

Codex Task

@vercel

vercel Bot commented Apr 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
webbrain Ready Ready Preview, Comment Apr 12, 2026 11:55pm

@esokullu esokullu closed this Apr 15, 2026
esokullu added a commit that referenced this pull request Jul 12, 2026
Restore API-driven cloud browser runs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant