mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-12-22 13:09:49 +05:30
add more uno presets
This commit is contained in:
parent
784cbe5188
commit
963a09b2d0
@ -1,14 +0,0 @@
|
||||
import {
|
||||
defineConfig,
|
||||
presetIcons
|
||||
} from "unocss";
|
||||
|
||||
import { extractorSvelte } from "unocss";
|
||||
|
||||
export default defineConfig({
|
||||
extractors: [extractorSvelte],
|
||||
|
||||
presets: [
|
||||
presetIcons()
|
||||
]
|
||||
});
|
24
unocss.config.ts
Normal file
24
unocss.config.ts
Normal file
@ -0,0 +1,24 @@
|
||||
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()]
|
||||
});
|
Loading…
Reference in New Issue
Block a user