Skip to content

fix(ui): isolate dark mode localStorage key to prevent theme leaking from iframe panels#334

Merged
antfu merged 1 commit into
vitejs:mainfrom
SaKaNa-Y:fix/isolate-devtools-dark-mode-storage-key
May 14, 2026
Merged

fix(ui): isolate dark mode localStorage key to prevent theme leaking from iframe panels#334
antfu merged 1 commit into
vitejs:mainfrom
SaKaNa-Y:fix/isolate-devtools-dark-mode-storage-key

Conversation

@SaKaNa-Y

Copy link
Copy Markdown
Contributor

Description

Enabling light mode in the UnoCSS panel causes CSS styling issues in the DevTools Debug Dashboard. Additionally,the Self Inspect panel's dark/light mode state is shared with the UnoCSS panel.

I believe there should be a unified setting in the DevTools settings to control this.

屏幕截图_11-5-2026_16582_localhost

Linked Issues

Additional context

@netlify

netlify Bot commented May 11, 2026

Copy link
Copy Markdown

Deploy Preview for devfra canceled.

Name Link
🔨 Latest commit bbe9ee4
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a019db2dcdfa00008dece93

@pkg-pr-new

pkg-pr-new Bot commented May 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@vitejs/devtools@334
npm i https://pkg.pr.new/@vitejs/devtools-kit@334
npm i https://pkg.pr.new/@vitejs/devtools-rolldown@334
npm i https://pkg.pr.new/@vitejs/devtools-self-inspect@334

commit: bbe9ee4

@antfu antfu merged commit e678193 into vitejs:main May 14, 2026
7 of 10 checks passed
@SaKaNa-Y SaKaNa-Y deleted the fix/isolate-devtools-dark-mode-storage-key branch May 14, 2026 05:59
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