forked from A-kirami/matcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunocss.config.ts
39 lines (38 loc) · 1016 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
37
38
39
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: [
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/,
'(components|src)/**/*.{js,ts}',
],
},
},
})