We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nuxt with color-mode and shadcn-vue works nicely, but once we add class "theme-red" to , it'll break. The color-mode doesn't start in expected way.
color-mode
nuxtjs/color-mode: ^3.3.2 nuxt: ^3.8.0
https://nuxt.com/docs/getting-started/seo-meta#components
nuxt.config.js
dark
<template> <div> <Html class="theme-red"></Html> <h1>Should be red and dark</h1> </div> </template>
The page loads and completed in dark with theme-red
theme-red
Upon reload (F5), the page loads in light and completed in dark with theme-red
light
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Nuxt with color-mode and shadcn-vue works nicely, but once we add class "theme-red" to , it'll break. The
color-mode
doesn't start in expected way.Version
nuxtjs/color-mode: ^3.3.2
nuxt: ^3.8.0
Reproduction Link
https://nuxt.com/docs/getting-started/seo-meta#components
Steps to reproduce
nuxt.config.js
, set color-mode preference todark
What is Expected?
The page loads and completed in
dark
withtheme-red
What is actually happening?
Upon reload (F5), the page loads in
light
and completed indark
withtheme-red
The text was updated successfully, but these errors were encountered: