-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunocss.config.ts
More file actions
65 lines (64 loc) 路 1.49 KB
/
Copy pathunocss.config.ts
File metadata and controls
65 lines (64 loc) 路 1.49 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import {
presetAttributify,
presetIcons,
presetTypography,
presetWebFonts,
presetUno,
defineConfig
} from 'unocss'
export default defineConfig({
presets: [
presetAttributify(),
presetUno(),
presetIcons(),
presetTypography(),
presetWebFonts({
fonts: {
sans: [
{
name: 'Plus Jakarta Sans',
weights: [400, 500, 600, 700, 800, 900],
italic: true
},
{
name: 'Noto Fonts',
weights: [100, 200, 300, 400, 500, 600, 700, 800]
}
],
body: [
{
name: 'Inter',
weights: [300, 400, 500, 600, 700, 800],
italic: true
},
{
name: 'Noto Fonts',
weights: [100, 200, 300, 400, 500, 600, 700, 800]
}
],
mono: [
{
name: 'Fira Code',
weights: [300, 400, 500, 600, 700, 800]
}
]
}
})
],
shortcuts: {
link: 'text-#888 hover:text-#ddd transition-all transition-duration-150 underline underline-dotted',
header: 'font-sans font-800 text-4xl lg:text-5xl text-#ddd',
textInput: 'rounded border border-#888 bg-transparent text-#ddd placeholder-#888 focus:outline-none focus:border-#ddd p-1'
},
theme: {
colors: {
black: '#0C0404'
}
},
content: {
pipeline: {
include: [/\.ts$/, /\.vue$/, /\.vue\?vue/, /\.md/],
exclude: [/unocss\.config\.ts$/]
}
}
})