Skip to content

Add persisted dark theme support#19

Open
wujinhh wants to merge 2 commits into
CodeBountyOrg:mainfrom
wujinhh:codex/codebounty-dark-theme
Open

Add persisted dark theme support#19
wujinhh wants to merge 2 commits into
CodeBountyOrg:mainfrom
wujinhh:codex/codebounty-dark-theme

Conversation

@wujinhh
Copy link
Copy Markdown

@wujinhh wujinhh commented May 26, 2026

Summary

  • add a header theme toggle for light/dark mode
  • respect system color-scheme on first load and persist manual choice in localStorage under taskforge.theme
  • switch colors to CSS custom properties and add a minimal ESLint 9 config so the existing lint script runs

Verification

  • npm run lint
  • npx prettier --check index.html styles.css src/app.js README.md eslint.config.mjs
  • git diff --check
  • manually verified theme toggle and reload persistence in browser

fixes #1

@codebounty-dev-bot
Copy link
Copy Markdown

⚠️ Attention Sponsor: This PR was submitted by @wujinhh who has not applied for this bounty (#1). Please verify if you want to consider this contribution.

👋 Hey @wujinhh: This issue has a bounty on CodeBounty! To be eligible for the reward, please sign up on CodeBounty and apply for this bounty. If you apply, your PR will be automatically associated with your application.

@codebounty-dev-bot codebounty-dev-bot Bot mentioned this pull request May 26, 2026
5 tasks
@codebounty-dev-platform
Copy link
Copy Markdown

📝 Thank you for applying to this bounty! Your PR has been associated with your application. The sponsor will review your application soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add dark theme support

1 participant