-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathunocss.config.ts
More file actions
29 lines (28 loc) · 667 Bytes
/
unocss.config.ts
File metadata and controls
29 lines (28 loc) · 667 Bytes
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
import {
defineConfig,
presetUno,
presetAttributify,
presetWebFonts
} from 'unocss'
export default defineConfig({
presets: [
presetUno(),
presetAttributify(),
presetWebFonts({
fonts: {
sans: 'Plus Jakarta Sans',
serif: 'Belanosima',
mono: 'Space Mono'
}
})
],
shortcuts: [
{
'flex-center': 'flex justify-center items-center',
'flex-between': 'flex justify-between items-center',
'text-primary': 'text-neutral-900 dark:text-neutral-50',
'text-neon':
'text-transparent bg-clip-text bg-gradient-to-r from-emerald-500 to-emerald-700 dark:to-emerald-300 '
}
]
})