mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-12-27 15:30:49 +05:30
Merge pull request #53 from ProjectSegfault/unocss-presets
add more uno presets
This commit is contained in:
commit
185f1409af
@ -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