mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-23 00:22:59 +05:30
27 lines
461 B
TypeScript
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"]
|
|
});
|