webcompile/uno.config.ts
2022-09-16 17:05:27 +03:00

27 lines
461 B
TypeScript

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()],
safelist: ["i-fa6-solid:moon", "i-fa6-solid:sun"]
});