Fix auto theme.

Closes #1401
This commit is contained in:
Kavin 2022-09-11 13:04:06 +05:30
parent 86482c8d41
commit 9198ffd938
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
3 changed files with 10 additions and 8 deletions

View file

@ -9,7 +9,9 @@ import presetWebFonts from "@unocss/preset-web-fonts";
export default defineConfig({
transformers: [transformerDirective(), transformerVariantGroup()],
presets: [
presetUno(),
presetUno({
dark: "media",
}),
presetIcons(),
presetWebFonts({
provider: "none",