-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
74 lines (74 loc) · 2.05 KB
/
Copy pathtailwind.config.js
File metadata and controls
74 lines (74 loc) · 2.05 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
module.exports = {
purge: ['./components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
fontFamily: {
strong: ['"Sofia Pro Bold"'],
},
extend: {
colors: {
blue: {
dark: '#04467B',
DEFAULT: '#065798',
light: '#0B6DBB',
lightest: '#EEF7FF',
},
coolGray: {
lightest: '#FAFAFA',
},
},
backgroundImage: {
// as of now, tailwind and next does not include these on build
// see `styles/globals.css` for a workaround
// (these are kept here in the hopes that this gets fixed soon..)
'home-header': "url('/assets/illustrations/home.png')",
'nonprofit-header': "url('/assets/illustrations/nonprofits.png')",
'projects-header': "url('/assets/illustrations/projects.png')",
'student-header': "url('/assets/illustrations/students.png')",
'donate-header': "url('/assets/illustrations/donate.png')",
},
transitionDuration: {
DEFAULT: '200ms',
150: '150ms',
250: '250ms',
},
boxShadow: {
card: '0 4px 12px rgba(6, 87, 152, 0.1)',
'card-hover': '0 8px 24px rgba(6, 87, 152, 0.15)',
'card-lg': '0 10px 40px rgba(6, 87, 152, 0.12)',
'card-lg-hover': '0 20px 60px rgba(6, 87, 152, 0.18)',
},
scale: {
102: '1.02',
105: '1.05',
},
borderRadius: {
xl: '1rem',
'2xl': '1.5rem',
},
gridRow: {
'span-2': 'span 2 / span 2',
},
animation: {
'fade-up': 'fade-up 0.5s ease-out forwards',
},
keyframes: {
'fade-up': {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
},
minWidth: {
1.5: '0.375rem',
},
},
variants: {
extend: {
transform: ['hover', 'focus'],
scale: ['hover', 'focus'],
boxShadow: ['hover', 'focus'],
},
},
plugins: [],
};