Skip to content

Add persisted dark theme support#37

Open
Jorel97 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Jorel97:codex/dark-theme-issue-1-jorel
Open

Add persisted dark theme support#37
Jorel97 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Jorel97:codex/dark-theme-issue-1-jorel

Conversation

@Jorel97
Copy link
Copy Markdown

@Jorel97 Jorel97 commented May 30, 2026

fixes #1

Summary

  • add an early theme bootstrap in the document head so persisted/system dark mode is applied before the stylesheet loads
  • add a header theme toggle that persists light/dark in localStorage under taskforge.theme
  • add dark-mode CSS custom properties across the shell, form, task rows, messages, and controls
  • add focused tests for theme preference resolution and root application

Validation

  • npm test -> 7 tests passed
  • npm run lint -> passed
  • node --check src/app.js
  • node --check src/theme.mjs
  • node --check test/theme.test.js
  • git diff --check

@codebounty-dev-bot
Copy link
Copy Markdown

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

👋 Hey @Jorel97: 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 30, 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