nuxt-modules / color-mode

Dark and Light mode with auto detection made easy with Nuxt 🌗
https://color-mode.nuxtjs.org
MIT License
1.12k stars 112 forks source link

How to use color-mode-module with unocss? #156

Open AxelBriche opened 2 years ago

AxelBriche commented 2 years ago

Hello, how can I use dark: and by example sepia: with that module with unocss?

atinux commented 2 years ago

I don't know if this is possible to add the sepia: prefix, would love insight from @antfu

antfu commented 2 years ago

From the built-in preset, currently no. But should be possible to implement. @AxelBriche would you mind to open a more detailed issue in UnoCSS's repo and let's keep track there.