Skip to content

Conversation

@kv9898
Copy link

@kv9898 kv9898 commented Nov 5, 2025

Fixes #861

I admit the fix is a bit ugly and I wish better solutions are possible.

Copilot AI and others added 9 commits November 4, 2025 15:36
- Add notification system to send actual theme kind from VS Code to LSP
- Track active color theme kind in LSP ConfigurationManager
- Send theme notifications on startup and when theme changes
- Use actual theme kind instead of parsing theme name

Co-authored-by: kv9898 <105025148+kv9898@users.noreply.github.com>
- Add explicit check for 'Dark' in theme name fallback
- Only fire configuration change event if theme actually changed

Co-authored-by: kv9898 <105025148+kv9898@users.noreply.github.com>
- Add validation for theme kind parameter in notification handler
- Document HighContrast theme handling (treated as dark)
- Prevent fallback detection from overriding explicit theme notifications
- Add flag to track whether theme was explicitly set

Co-authored-by: kv9898 <105025148+kv9898@users.noreply.github.com>
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.

Math formulas render in black in VS Code preview when using dark theme

1 participant