Skip to content

Add website dark mode#1043

Draft
daphnehanse11 wants to merge 4 commits into
mainfrom
codex/1040-dark-mode
Draft

Add website dark mode#1043
daphnehanse11 wants to merge 4 commits into
mainfrom
codex/1040-dark-mode

Conversation

@daphnehanse11
Copy link
Copy Markdown
Collaborator

@daphnehanse11 daphnehanse11 commented May 15, 2026

Summary

  • add system-aware dark mode support with a manual theme toggle
  • apply semantic light/dark CSS variables across the Next.js website and shared design tokens
  • cover page-specific dark-mode surfaces for research, articles, citations, brand pages, dev tools, Claude plugin, and releases
  • add theme context coverage and header toggle tests

Closes #1040

Verification

  • cd app && bun run vitest src/tests/unit/contexts/ThemeContext.test.tsx
  • cd website && bun run test src/tests/components/theme.test.tsx src/tests/components/header.test.tsx
  • cd app && bun run vitest src/tests/unit/components/visualization/HexagonalMap.test.tsx src/tests/unit/utils/visualization/colorScales.test.ts
  • cd app && bun run test
  • cd website && bun run test
  • cd app && bun run typecheck
  • cd website && bun run typecheck
  • cd app && bun run lint
  • cd website && bun run lint
  • cd app && bun run build:website
  • cd website && bun run build:next
  • dark-mode Playwright screenshots for /us/research, /us/citations, and /us/brand/assets

@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

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

Project Deployment Actions Updated (UTC)
policyengine-app-v2 Ready Ready Preview, Comment May 15, 2026 4:22pm
policyengine-calculator Ready Ready Preview, Comment May 15, 2026 4:22pm
policyengine-calculator-next Ready Ready Preview, Comment May 15, 2026 4:22pm
policyengine-website Ready Ready Preview, Comment May 15, 2026 4:22pm

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.

Add dark mode for website

1 participant