-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
The DevTools's color scheme will conflict with the color scheme of the project itself #233
Comments
That's by design. We prefer that the theme be as consistent as possible, follow the system, and be as consistent as possible with the user application environment. |
I was messed up because I always thought there was a problem with my @vue/use. After following all the code, I found that it still automatically follows the system to change the dark mode. Finally, I had no choice but to build a new project and found that removing vite-plugin-vue-devtools plugin would not automatically change it |
Also be related to #111 (comment) |
I agree that we should isolate and avoid app conflicts with users as much as possible. |
Thank you for your reply. Looking forward to the new version |
Hi, there. What about adding some options to control whether the themes between the user project and the overlay injected by the Vite plugin should be the same? I prefer the themes to be the same wherever I change them, while some projects don't use |
Good idea, I think so too |
I see that DevTools adds
light/dark
class name to the HTML tag when switching color scheme, but there are some UI component libraries that also do color scheme switching vialight/dark
on the HTML tag, which results in switching color schemes in devtools and the current project's color scheme being affected.I think DevTools should be given a different class name, such as
devtools-light/devtools-dark
Kapture.2024-02-06.at.03.15.54.mp4
The text was updated successfully, but these errors were encountered: