Skip to content

Commit e678193

Browse files
authored
fix(ui): isolate dark mode localStorage key to prevent theme leaking from iframe panels (#334)
1 parent 0259bcf commit e678193

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/ui/src/composables/dark.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { useDark } from '@vueuse/core'
22

33
export const isDark = useDark({
4+
storageKey: 'vite-devtools-color-scheme',
45
valueLight: 'light',
56
})
67

0 commit comments

Comments
 (0)