Skip to content

Comments

Add dark mode with light/dark/system toggle#136

Closed
msaroufim wants to merge 3 commits intomainfrom
fix-code-block-background
Closed

Add dark mode with light/dark/system toggle#136
msaroufim wants to merge 3 commits intomainfrom
fix-code-block-background

Conversation

@msaroufim
Copy link
Member

No description provided.

Adds a theme toggle in the navbar that cycles through light, dark, and
system modes. Persists preference to localStorage and respects OS-level
dark mode when set to system. Replaces hardcoded colors across all
components with MUI theme tokens for proper dark mode support.
Use a cropped white SVG logo without the black background rect for dark
mode. Add theme-aware link color to the markdown renderer so links in
news posts use the primary color instead of the harsh default blue.
Override background on <code> elements from Prism syntax highlighter
theme, matching existing <pre> override.
@msaroufim msaroufim closed this Feb 7, 2026
@msaroufim msaroufim deleted the fix-code-block-background branch February 7, 2026 04:35
@msaroufim msaroufim temporarily deployed to kernelboard-dark-kqzymzjc9cgv0 February 7, 2026 05:33 Inactive
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