1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 22:38:11 +09:00
elk/unocss.config.ts

42 lines
697 B
TypeScript
Raw Normal View History

2022-11-13 14:34:43 +09:00
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
export default defineConfig({
shortcuts: [
],
presets: [
2022-11-14 11:56:48 +09:00
presetUno({
attributifyPseudo: true,
}),
2022-11-13 14:34:43 +09:00
presetAttributify(),
presetIcons({
scale: 1.2,
}),
presetTypography(),
presetWebFonts({
fonts: {
sans: 'DM Sans',
serif: 'DM Serif Display',
mono: 'DM Mono',
},
}),
],
transformers: [
transformerDirectives(),
transformerVariantGroup(),
],
2022-11-14 01:05:32 +09:00
theme: {
colors: {
primary: 'var(--color-primary)',
},
},
2022-11-13 14:34:43 +09:00
})