add more uno presets

This commit is contained in:
Akis 2022-08-08 19:01:34 +03:00
parent 784cbe5188
commit 963a09b2d0
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
2 changed files with 24 additions and 14 deletions

View File

@ -1,14 +0,0 @@
import {
defineConfig,
presetIcons
} from "unocss";
import { extractorSvelte } from "unocss";
export default defineConfig({
extractors: [extractorSvelte],
presets: [
presetIcons()
]
});

24
unocss.config.ts Normal file
View File

@ -0,0 +1,24 @@
import {
defineConfig,
presetIcons,
presetTypography,
transformerVariantGroup,
transformerDirectives,
presetWind
} from "unocss";
import { extractorSvelte } from "unocss";
export default defineConfig({
extractors: [extractorSvelte],
presets: [
presetIcons(),
presetTypography(),
presetWind({
dark: "class"
})
],
transformers: [transformerVariantGroup(), transformerDirectives()]
});