Skip to content

Comments

feat: add light mode#20

Open
pmusaraj wants to merge 4 commits intocoder:mainfrom
pmusaraj:light-mode
Open

feat: add light mode#20
pmusaraj wants to merge 4 commits intocoder:mainfrom
pmusaraj:light-mode

Conversation

@pmusaraj
Copy link

@pmusaraj pmusaraj commented Feb 9, 2026

Add a light mode theme that users can toggle from the profile dropdown menu (avatar click). Preference persists via localStorage.

Changes:

  • New ThemeContext manages dark/light state and toggles .dark/.light class on the document root
  • Light mode CSS variables for all theme colors (backgrounds, text, borders, scrollbars, diff highlights, markdown syntax highlighting)
  • Replaced hardcoded dark hex colors in diff views with CSS variables so insert/delete/comment-range backgrounds adapt to theme
  • Replaced hardcoded bg-[#1a1a1a] and bg-[#0d1117] in app-shell and pr-overview with semantic classes (bg-muted, bg-card)
  • Sun/Moon toggle added to the user menu

@vercel
Copy link

vercel bot commented Feb 9, 2026

@pmusaraj is attempting to deploy a commit to the Coder Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Feb 9, 2026

Deployment failed with the following error:

The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.

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.

1 participant