Skip to content

Conversation

@liangmiQwQ
Copy link
Contributor

Since we use media as the unocss dark mode, we should also use media selector in css to control color scheme.

And we are also not supposed to manage something like dark:text-white dark:bg-black because the global background color changes can make some devtools renders wrongly which is in a different dark status

Screenshot 2025-12-24 at 21 54 55

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 24, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@vitejs/devtools@149
npm i https://pkg.pr.new/@vitejs/devtools-kit@149
npm i https://pkg.pr.new/@vitejs/devtools-rpc@149
npm i https://pkg.pr.new/@vitejs/devtools-vite@149

commit: e5bcf6e

@antfu antfu merged commit f31c70b into vitejs:main Dec 24, 2025
6 checks passed
@liangmiQwQ liangmiQwQ deleted the fix-core/adjust-styling-rendering branch December 24, 2025 21:51
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