-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathtailwind.config.js
83 lines (83 loc) · 1.97 KB
/
tailwind.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
module.exports = {
purge: ['./components/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}'],
darkMode: false,
theme: {
borderColor: (theme) => ({
...theme('colors'),
DEFAULT: theme('colors.primary.20', 'currentColor'),
}),
boxShadow: {
DEFAULT: '0 5px 15px 0 rgba(0, 0, 0, 0.15)',
},
colors: {
transparent: 'transparent',
current: 'currentColor',
primary: {
DEFAULT: 'var(--primary)',
95: 'var(--primary-95)',
90: 'var(--primary-90)',
80: 'var(--primary-80)',
60: 'var(--primary-60)',
40: 'var(--primary-40)',
20: 'var(--primary-20)',
10: 'var(--primary-10)',
'05': 'var(--primary-05)',
},
secondary: 'var(--secondary)',
'black-a-30': 'var(--black-a-30)',
accent: 'var(--accent)',
pink: {
DEFAULT: 'var(--pink)',
light: 'var(--pink-light)',
},
},
fontFamily: {
sans: 'var(--font-sans)',
serif: 'var(--font-serif)',
},
extend: {
lineHeight: {
article: '1.675',
},
inset: {
'1/2': '50%',
},
spacing: {
'1/2': '50%',
'1/3': '33.3333%',
'2/3': '66.6667%',
'1/4': '25%',
'3/4': '75%',
'1/5': '20%',
'2/5': '40%',
'3/5': '60%',
'4/5': '80%',
full: '100%',
},
screens: {
standalone: {
raw: '(display-mode: standalone)',
},
},
animation: {
'fade-in': 'fadeIn 0.15s ease-in-out',
'slide-up': 'slideUp 0.15s ease-in-out',
'fade-in-up': 'fadeIn 0.15s ease-in-out, slideUp 0.15s ease-in-out',
},
keyframes: {
fadeIn: {
from: { opacity: 0 },
to: { opacity: 1 },
},
slideUp: {
from: { transform: 'translateY(50%)' },
to: { transform: 'translateY(0)' },
},
},
},
},
variants: {
extend: {},
},
plugins: [],
}