-
Notifications
You must be signed in to change notification settings - Fork 14
/
unocss.config.ts
36 lines (35 loc) · 967 Bytes
/
unocss.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import {
defineConfig,
presetUno,
presetAttributify,
presetIcons,
presetTypography,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
import { presetAnimations } from 'unocss-preset-animations'
import { presetScrollbar } from 'unocss-preset-scrollbar'
import { presetShadcn } from 'unocss-preset-shadcn'
export default defineConfig({
presets: [
presetUno(),
presetAttributify(),
presetIcons(),
presetTypography(),
presetScrollbar(),
presetAnimations(),
presetShadcn({
color: {
base: 'blue',
light: { primary: '213 94% 68%', ring: '213 94% 68%' },
dark: { background: '222 22% 15%', primary: '210 100% 75%', ring: '210 100% 75%', popover: '222 22% 15%' },
},
}),
],
transformers: [transformerDirectives(), transformerVariantGroup()],
content: {
pipeline: {
include: ['src/**/*.{vue,svelte,[jt]s,[jt]sx,md?(x),astro,elm,php,phtml,html}'],
},
},
})