-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
59 lines (58 loc) · 1.27 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
safelist: [
// used to safelist button component colors that will be purged without those
'bg-[#333333]',
'bg-[#24292F]',
'hover:bg-[#24292F]/90',
'focus:ring-[#24292F]',
'focus:ring-offset-[#24292F]',
'bg-[#4285F4]',
'hover:bg-[#4285F4]/90',
'focus:ring-[#4285F4]',
'focus:ring-offset-[#4285F4]',
],
theme: {
screens: {
xs: '375px',
...defaultTheme.screens,
},
extend: {
fontFamily: {
body: ['Poppins', 'sans-serif'],
},
colors: {
primary: '#333333',
navLink: '#f5f5f7',
secondary: '#58585c',
},
keyframes: {
'fade-in': {
'0%': {
opacity: 0,
},
'100%': {
opacity: 0.5,
},
},
'fade-out': {
'0%': {
opacity: 0.5,
},
'100%': {
opacity: 0,
},
},
},
animation: {
'fade-in': 'fade-in 0.5s ease-in-out',
'fade-out': 'fade-out 0.5s ease-in-out',
},
},
},
plugins: [require('@tailwindcss/line-clamp')],
}