forked from ProjectSegfault/website
24 lines
407 B
TypeScript
24 lines
407 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()]
|
||
|
});
|