Skip to content

Add dark theme support#26

Open
Thanhdn1984 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Thanhdn1984:susan/dark-theme-issue-1
Open

Add dark theme support#26
Thanhdn1984 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Thanhdn1984:susan/dark-theme-issue-1

Conversation

@Thanhdn1984
Copy link
Copy Markdown

Fixes #1.

Implemented dark theme support using CSS custom properties and a header toggle:

  • respects prefers-color-scheme: dark on first load
  • persists manual choice in localStorage under taskforge.theme
  • applies a tiny inline bootstrap before CSS loads to avoid dark-theme flash when a saved preference exists
  • keeps existing styling framework-free

Verification:

  • npm test
  • npm install && npm run lint

@codebounty-dev-bot
Copy link
Copy Markdown

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

👋 Hey @Thanhdn1984: 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.

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