You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve CodeMirror dark mode and theme switching issues (#138)
* fix: improve CodeMirror dark mode theme detection and system theme support
- Use resolvedTheme from next-themes for better theme resolution
- Add fallback to system preference detection during initialization
- Add dedicated effect to handle initial theme resolution
- Remove duplicate theme update logic
- Fix theme switching when system mode changes
This ensures the code editor properly matches the system dark mode
and responds correctly to theme changes.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <claude@ghostpaste.dev>
* fix: resolve CodeMirror theme switching issue
Remove duplicate theme update effect that was interfering with
proper theme switching. Now the editor correctly responds to
manual theme changes while still supporting system theme detection.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <claude@ghostpaste.dev>
* fix: improve CodeMirror dark mode theme detection and system theme support
- Use resolvedTheme from next-themes for better theme resolution
- Add fallback to system preference detection during initialization
- Add dedicated effect to handle initial theme resolution
- Remove duplicate theme update logic
- Fix theme switching when system mode changes
This ensures the code editor properly matches the system dark mode
and responds correctly to theme changes.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <claude@ghostpaste.dev>
* fix: resolve CodeMirror theme switching issue
Remove duplicate theme update effect that was interfering with
proper theme switching. Now the editor correctly responds to
manual theme changes while still supporting system theme detection.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <claude@ghostpaste.dev>
---------
Co-authored-by: Claude <claude@ghostpaste.dev>
0 commit comments