-
Notifications
You must be signed in to change notification settings - Fork 110
/
uno.config.ts
57 lines (53 loc) · 1.02 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
48
49
50
51
52
53
54
55
56
57
import extractorMdc from '@unocss/extractor-mdc'
import transformerDirectives from '@unocss/transformer-directives'
import {
defineConfig,
presetIcons,
presetUno,
presetWebFonts,
} from 'unocss'
export default defineConfig({
theme: {
breakpoints: {
mobile: '320px',
pc: '1280px',
},
colors: {
primary: '#0ea5e9',
success: '#10B981',
warning: '#F59E0B',
danger: '#EF4444',
dark: '#0f172a',
light: '#f8fafc',
hover: '#0ea5e9',
slate: {
50: '#f8fafc',
100: '#f1f5f9',
200: '#e2e8f0',
300: '#cbd5e1',
400: '#94a3b8',
500: '#64748b',
600: '#475569',
700: '#334155',
800: '#1e293b',
900: '#0f172a',
},
},
},
presets: [
presetUno(),
presetIcons(),
presetWebFonts({
provider: 'google',
fonts: {
'ubuntu-sans': 'Ubuntu Sans',
},
}),
],
transformers: [
transformerDirectives(),
],
extractors: [
extractorMdc(),
],
})