-
Notifications
You must be signed in to change notification settings - Fork 3
/
unocss.config.ts
52 lines (51 loc) · 1.12 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
import {
defineConfig,
presetWebFonts,
transformerDirectives,
transformerVariantGroup,
presetIcons,
presetTypography,
presetUno,
} from 'unocss'
export default defineConfig({
theme: {
colors: {
shrimp: {
DEFAULT: '#FB8D4B',
'50': '#FFFFFF',
'100': '#FFF2EB',
'200': '#FED9C3',
'300': '#FDC09B',
'400': '#FCA673',
'500': '#FB8D4B',
'600': '#FA6A14',
'700': '#D15105',
'800': '#9A3C03',
'900': '#632702',
},
},
},
presets: [
presetUno(),
presetWebFonts({
provider: 'google', // default provider
fonts: {
// these will extend the default theme
sans: ['Open Sans', 'Open Sans:400,700'],
mono: ['Fira Code', 'Fira Mono:400,700'],
display: ['Dosis', 'Dosis:400,700'],
},
}),
presetIcons({
scale: 1.2,
warn: true,
extraProperties: {
display: 'inline-block',
'vertical-align': 'middle',
// ...
},
}),
presetTypography(),
],
transformers: [transformerDirectives(), transformerVariantGroup()],
})