Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix message panel colors #699

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

dlesbre
Copy link
Contributor

@dlesbre dlesbre commented Dec 1, 2023

I've run into an issue when using VsCoq with a custom theme: most of the text in the Search panel (in the proof view) was black on black.

For some reason, this color is set to editorInfo.background, which is what was causing the issue (the background color being set to almost full transparency).

I fixed it to use editorInfo.foreground instead, and fixed a similar line for type hints. Note that the Search command itself still renders using editorInfo.background with this fix.

The issue doesn't crop up with most themes since they don't define editorInfo.background so the CSS probably inherits from parent elements that use editor.foreground.

@rtetley
Copy link
Collaborator

rtetley commented Dec 1, 2023

Thanks !

@rtetley rtetley merged commit 9c5ca18 into coq:main Dec 1, 2023
9 checks passed
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.

2 participants