-
Notifications
You must be signed in to change notification settings - Fork 11
/
uno.config.js
89 lines (81 loc) · 2.51 KB
/
uno.config.js
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import { defineConfig, presetMini } from 'unocss'
import presetWebFonts from '@unocss/preset-web-fonts'
import transformerDirectives from '@unocss/transformer-directives'
export default defineConfig({
content: ['./src/**/*.{astro,html,js}'],
presets: [
presetMini({ dark: 'media' }),
presetWebFonts({
provider: 'google',
fonts: {
opensans: [
{
name: 'Open Sans',
weights: ['700'],
},
{
name: 'sans-serif',
provider: 'none',
},
],
},
}),
],
transformers: [
transformerDirectives(),
],
theme: {
colors: {
primary: {
DEFAULT: '#EC0B2B',
light: '#FF295F',
},
secondary: {
DEFAULT: '#2C9BEB',
light: '#37A6F6',
dark: '#0776C6',
},
active: {
DEFAULT: '#F66C42',
light: '#FD8E3E',
},
info: '#4468E7',
success: {
DEFAULT: '#289038',
light: '#04AB5B',
},
gray: {
100: '#D9D9D9',
200: '#909090',
300: '#7B7B7B',
400: '#262626',
},
white: '#FFF',
black: '#1D1D1D',
transparent: 'transparent',
},
boxShadow: {
none: '0px 0px 0px rgba(0, 0, 0, 0)',
'black-xl': '0px 1px 2px rgba(120, 120, 120, 0.15)',
'black-2xl': '0px 4px 6px rgba(120, 120, 120, 0.15)',
'black-3xl': '0px 6px 8px rgba(120, 120, 120, 0.15)',
'black-4xl': '0px 8px 10px rgba(120, 120, 120, 0.15)',
'black-5xl': '0px 14px 12px rgba(120, 120, 120, 0.15)',
'black-6xl': '0px 16px 16px rgba(120, 120, 120, 0.15)',
'red-xl': '0px 1px 4px rgba(210, 34, 34, 0.3)',
'red-2xl': '0px 4px 8px rgba(210, 34, 34, 0.3)',
'red-3xl': '0px 6px 12px rgba(210, 34, 34, 0.3)',
'red-4xl': '0px 8px 16px rgba(210, 34, 34, 0.3)',
'red-5xl': '0px 14px 16px rgba(210, 34, 34, 0.3)',
'red-6xl': '0px 16px 20px rgba(210, 34, 34, 0.3)',
'blue-xl': '0px 1px 4px rgba(44, 155, 235, 0.3)',
'blue-2xl': '0px 4px 8px rgba(44, 155, 235, 0.3)',
'blue-3xl': '0px 6px 12px rgba(44, 155, 235, 0.3)',
'blue-4xl': '0px 8px 16px rgba(44, 155, 235, 0.3)',
'blue-5xl': '0px 14px 16px rgba(44, 155, 235, 0.3)',
'blue-6xl': '0px 16px 20px rgba(44, 155, 235, 0.3)',
'inset-none': 'inset 0px 0px 0px rgba(0, 0, 0, 0)',
'inset-full': 'inset 0px 8px 3px rgba(29, 29, 29, 0.5)',
}
}
})