-
Notifications
You must be signed in to change notification settings - Fork 0
/
windi.config.ts
84 lines (79 loc) · 1.74 KB
/
windi.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
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
import typography from 'windicss/plugin/typography';
import animations from '@windicss/plugin-animations';
import heropatterns from '@windicss/plugin-heropatterns';
const heropatternsConfig = {
// the list of patterns you want to generate a class for
// the names must be in kebab-case
// an empty array will generate all 87 patterns
patterns: ['bank-note', 'falling-triangles', 'signal', 'bubbles'],
// The foreground colors of the pattern
colors: {
'default': '#778899',
'blue-dark': '#112233', // also works with rgb(0,0,205)
},
// The foreground opacity
opacity: {
100: '0.1',
200: '0.2',
300: '0.3',
default: '0.4',
500: '0.5',
600: '0.6',
700: '0.7',
800: '0.8',
900: '0.9',
1000: '1.0'
},
};
export default {
extract: {
include: [
'./src/pages/**/*.{js,ts,jsx,tsx,css,scss}',
'./src/components/**/*.{js,ts,jsx,tsx,css,scss}'
],
exclude: [
'node_modules',
'.vercel',
'.git',
'.next',
'.vscode',
'public'
]
},
darkMode: 'media',
theme: {
extend: {
colors: {
'accent-1': '#FAFAFA',
'accent-2': '#EAEAEA',
'accent-7': '#333',
success: '#0070f3',
cyan: '#79FFE1',
},
spacing: {
28: '7rem',
},
letterSpacing: {
tighter: '-.04em',
},
lineHeight: {
tight: 1.2,
},
fontSize: {
'5xl': '2.5rem',
'6xl': '2.75rem',
'7xl': '4.5rem',
'8xl': '6.25rem',
},
boxShadow: {
small: '0 5px 10px rgba(0, 0, 0, 0.12)',
medium: '0 8px 30px rgba(0, 0, 0, 0.12)',
},
},
},
plugins: [
typography,
animations,
heropatterns(heropatternsConfig)
],
}