-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
51 lines (49 loc) · 1.04 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
import { defineConfig, presetUno } from 'unocss';
import transformerVariantGroup from '@unocss/transformer-variant-group';
export default defineConfig({
theme: {
colors: {
brand: {
primary: '#d9230f',
secondary: '#444',
// Dark mode colors
darkPrimary: '#a91b0c',
darkSecondary: '#444',
},
white: '#fff',
menu: {
background: '#222',
color: '#a6a6a6',
active: '#fff',
// Dark mode colors
darkBackground: '#0a0a0a',
darkColor: '#a6a6a6',
darkActive: '#fff',
},
success: '#67c23a',
warning: '#e6a23c',
danger: '#f56c6c',
error: '#f56c6c',
info: '#909399',
shadow: 'rgba(0, 0, 0, 0.5)',
},
boxShadow: {
top: '0 -3px 9px rgba(0, 0, 0, 0.5)',
},
breakpoints: {
xs: '0px',
sm: '576px',
md: '768px',
lg: '992px',
xl: '1200px',
xxl: '1400px',
},
},
presets: [presetUno({ dark: 'class' })],
transformers: [transformerVariantGroup()],
content: {
pipeline: {
include: [/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html|ts)($|\?)/],
},
},
});