Skip to content

Make app permanently light mode#20

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1778596692-permanent-light-mode
Open

Make app permanently light mode#20
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1778596692-permanent-light-mode

Conversation

@devin-ai-integration
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot commented May 12, 2026

Summary

Enforces permanent light mode by removing all dark mode functionality. The app will always render with the light theme — the Dark Mode toggle has been removed from settings, dark theme CSS variables have been deleted, and the data-theme attribute is always cleared on mount.

Changes:

  • src/App.jsx: Removed isDarkMode state, theme localStorage, handleDarkMode handler, and dark theme effect logic
  • src/components/SettingModal/SettingModal.jsx: Removed Dark Mode toggle row and related props
  • src/App.module.scss: Removed [data-theme='dark'] CSS variable block
  • public/index.html & public/manifest.json: Updated theme-color from #000000 to #ffffff

Screenshot

Light mode wordle

Review & Testing Checklist for Human

  • Verify the app renders in light mode on first load (white background, dark text)
  • Open Settings modal and confirm Dark Mode toggle is gone; Hard Mode and High Contrast toggles still work
  • Verify high contrast mode still toggles correctly

Notes

  • No CI is configured on this repo.
  • The test suite has a pre-existing failure on the base branch (useAlert context issue) unrelated to these changes.

Link to Devin session: https://app.devin.ai/sessions/574999d864e04588a9c259b463d0e52a
Requested by: @shahmir-masood


Devin Review

Status Commit
⚪ Not started

Run Devin Review

💡 Connect your GitHub account to enable automatic code reviews.

Open in Devin Review (Staging)

- Remove dark mode state, handler, and localStorage persistence
- Remove Dark Mode toggle from settings modal
- Remove dark theme CSS variables from SCSS
- Ensure data-theme attribute is always cleared on mount
- Update theme-color in index.html and manifest.json to white

Co-Authored-By: shahmir.masood <shahmir.masood@cognition.ai>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

0 participants