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

Volar (Debug): Show Virtual Files uses hard-coded color with poor contrast #2147

Closed
josh-berry opened this issue Nov 26, 2022 · 2 comments · Fixed by #2170
Closed

Volar (Debug): Show Virtual Files uses hard-coded color with poor contrast #2147

josh-berry opened this issue Nov 26, 2022 · 2 comments · Fixed by #2170
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@josh-berry
Copy link

Some context: I'm trying to understand why there's a miscompliation/type error happening with one of my Vue components, so I used the Volar (Debug): Show Virtual Files option to look at the generated code. The result is completely unreadable, because Volar seems to use a hard-coded dark blue background color which clashes with any light theme. See screenshot:

Screenshot 2022-11-26 at 13 38 23

This dark-blue color also doesn't seem to be configurable anywhere in Volar's settings. Please make this color configurable (at the very least), or derive a background color from the user's theme colors instead. Thanks!

@josh-berry
Copy link
Author

@Sight-wcg @johnsoncodehk Thank you very much, really appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants