-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
47 lines (45 loc) · 1.17 KB
/
uno.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
40
41
42
43
44
45
46
47
import dotenv from 'dotenv'
import { defineConfig, presetUno, presetWebFonts, presetTypography } from 'unocss'
import transformerDirectives from '@unocss/transformer-directives'
import presetMain from './src/assets/presets/preset-main'
dotenv.config({
path: '.env.local'
})
export default defineConfig({
presets: [
presetUno({ mode: 'vue-scoped' }),
presetWebFonts({
provider: 'google', // default provider
fonts: {
monserrat: [
{
name: 'Montserrat',
weights: ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
italic: true
}
],
roboto: [
{
name: 'Roboto',
weights: ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
italic: true
}
]
}
}),
presetTypography(),
presetMain()
],
transformers: [transformerDirectives()],
theme: {
colors: {
primary: '#321fda',
secondary: '#9da5b1',
info: '#3399ff',
success: '#2eb85c',
warning: '#f9b115',
danger: '#e55353'
}
},
safelist: ['i-fad-house-chimney', 'i-fad-wand-magic-sparkles']
})