webcompile/uno.config.ts

27 lines
461 B
TypeScript
Raw Normal View History

2022-08-08 21:31:34 +05:30
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 19:35:27 +05:30
transformers: [transformerVariantGroup(), transformerDirectives()],
safelist: ["i-fa6-solid:moon", "i-fa6-solid:sun"]
2022-08-12 16:45:39 +05:30
});