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
not sure if it's my fault, but the darkmode config is not working when setting to darkMode: 'media'
darkMode: 'media'
the classes generated are only prefixed with .dark instead of wrapped within @media (prefers-color-scheme: dark) {
.dark
@media (prefers-color-scheme: dark) {
clean reproduction repo here
stackblitz reproduction here
System: OS: Windows 10 10.0.22000 CPU: (6) x64 Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz Memory: 15.50 GB / 31.94 GB Binaries: Node: 17.0.1 - ~\AppData\Local\Volta\tools\image\node\17.0.1\node.EXE Yarn: 1.22.11 - ~\AppData\Local\Volta\tools\image\yarn\1.22.11\bin\yarn.CMD npm: 8.1.0 - ~\AppData\Local\Volta\tools\image\node\17.0.1\npm.CMD Browsers: Chrome: 95.0.4638.69 Edge: Spartan (44.22000.120.0), Chromium (95.0.1020.53), ChromiumDev (93.0.910.5) Internet Explorer: 11.0.22000.120 npmPackages: svelte: 3.44.1 => 3.44.1 svelte-windicss-preprocess: 4.1.6 => 4.1.6
yarn
The text was updated successfully, but these errors were encountered:
Thanks for the report. I will try to reproduce this issue, however I don't have it in my repos.
Sorry, something went wrong.
Sorry for coming back lately. But I think you miss to define the configPath in your windi({}) call
windi({})
No branches or pull requests
Describe the bug
not sure if it's my fault, but the darkmode config is not working when setting to
darkMode: 'media'
the classes generated are only prefixed with
.dark
instead of wrapped within@media (prefers-color-scheme: dark) {
clean reproduction repo here
stackblitz reproduction here
System Info
Used Package Manager
yarn
The text was updated successfully, but these errors were encountered: