webcompile/uno.config.ts

27 lines
461 B
TypeScript
Raw Normal View History

2022-08-08 19:01:34 +03:00
import {
defineConfig,
presetIcons,
presetTypography,
transformerVariantGroup,
transformerDirectives,
presetWind
} from "unocss";
import { extractorSvelte } from "unocss";
export default defineConfig({
extractors: [extractorSvelte],
presets: [
presetIcons(),
presetTypography(),
presetWind({
dark: "class"
})
],
2022-09-16 17:05:27 +03:00
transformers: [transformerVariantGroup(), transformerDirectives()],
safelist: ["i-fa6-solid:moon", "i-fa6-solid:sun"]
2022-08-12 14:15:39 +03:00
});