-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
60 lines (59 loc) · 1.16 KB
/
Copy pathtailwind.config.cjs
File metadata and controls
60 lines (59 loc) · 1.16 KB
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
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: 'class',
theme: {
extend: {
// use https://www.tailwindshades.com/ to generate shades
fontSize: {
'clamp-p': 'clamp(0.875rem, 4vw, 1.3rem)',
'clamp-h1': 'clamp(1.5rem, 8vw, 3rem)',
'clamp-h2': 'clamp(1rem, 6vw, 2rem)'
},
width: {
'clamp-p': 'clamp(40ch, 50%, 77ch)'
},
colors: {
primary: {
DEFAULT: '#65A30D',
50: '#BFF474',
100: '#B6F261',
200: '#A5EF3B',
300: '#93EC15',
400: '#7CC910',
500: '#65A30D',
600: '#456F09',
700: '#253B05',
800: '#040701',
900: '#000000'
},
secondary: {
DEFAULT: '#3B82F6',
50: '#EBF2FE',
100: '#D7E6FD',
200: '#B0CDFB',
300: '#89B4FA',
400: '#629BF8',
500: '#3B82F6',
600: '#0B61EE',
700: '#084BB8',
800: '#063583',
900: '#041F4D'
},
accent: {
DEFAULT: '#FACC15',
50: '#FEF3C9',
100: '#FDEFB5',
200: '#FDE68D',
300: '#FCDD65',
400: '#FBD53D',
500: '#FACC15',
600: '#D2A904',
700: '#9B7D03',
800: '#655102',
900: '#2E2501'
}
}
}
},
plugins: []
};