-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Current behavior
isDark is not working when using apparance: 'force-dark'
Desired behavior
isDark = true when using apparance: 'force-dark'
Reproduction
No response
Steps to reproduce
Set apparance: 'force-dark' in .vitepress/config.js
Logs and Error Messages
No response
Other Information
It's because we are now trying to get isDark from the useData VitePress composable. However there is a pending issue for this: vuejs/vitepress#4509
Due to this, we are currently retrieving isDark from @vueuse/core, but it doesn't work when using apparance: 'force-dark'.
A workaround would be to allow forcing isDark prop from Feature Components.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working