Skip to content

Add dark theme support#28

Open
nguyenduc071912 wants to merge 1 commit into
CodeBountyOrg:mainfrom
nguyenduc071912:bounty-dark-theme
Open

Add dark theme support#28
nguyenduc071912 wants to merge 1 commit into
CodeBountyOrg:mainfrom
nguyenduc071912:bounty-dark-theme

Conversation

@nguyenduc071912
Copy link
Copy Markdown

Summary

Adds dark theme support using CSS custom properties and a persisted user override.

  • Applies the initial theme before loading CSS to avoid a dark-theme flash
  • Respects prefers-color-scheme: dark when no explicit choice exists
  • Adds a header toggle to switch light/dark modes
  • Persists the override in localStorage under taskforge.theme
  • Converts remaining hard-coded light colors to theme variables

fixes #1

Tests

npm test
npm run lint

@codebounty-dev-bot
Copy link
Copy Markdown

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

👋 Hey @nguyenduc071912: 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 27, 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