Open PGimenez opened 1 year ago
@bdrtsky could you look into this?
I think we do use proper mode with @nuxtjs/color-mode.
Also there, I think the export default
should actually contain the darkMode
key as well?
Also there, I think the
export default
should actually contain thedarkMode
key as well?
I also tried having it in both the default export and module.exports, although here it says only the latter is needed.
Hello @PGimenez ; do you still encounter this issue?
I'm trying to add components that have a dark mode option via TW's
dark:
tag. However, when switching to a dark theme via the button on the navbar the dark option is not activated. This is working on another Nuxt site I have using the Maya templateHere's an example with Docus:
gh repo: https://github.com/PGimenez/docus-starter deployed site: https://dynamic-monstera-0a200c.netlify.app/
I've also tried adding a manual toggle using the colormode plugin, but no luck.
These are my config files in the example:
nuxt.config.ts