forked from Fueler-io/Web-Development-Resources
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
80 lines (80 loc) · 1.81 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
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
options: {
safelist: [
'dark'
]
},
darkMode: "class", // or 'media' or 'class'
theme: {
extend: {
backgroundImage: {
'hero-pattern': "url('/public/images/gradient.svg')",
},
fontFamily: {
'inter': ['Inter', 'sans-serif']
},
colors: {
black: {
// "brand-01":"#111111",
"brand-01":"#000308",
"brand-02": "#1C1C1C",
"brand-03": "#ffffff40",
"brand-04": "#1f1f1f",
"brand-05": "#202022",
"brand-06": "#30363D",
"brand-07": "rgba(255, 255, 255, 0.12)",
"brand-08": "#0D1117",
"brand-smoke": 'rgba(0, 0, 0, 0.78)',
},
blue: {
"brand-01": "#168FFF",
"brand-tag": "#2196f3",
},
green: {
"brand-01": "#3fd080",
},
gray: {
"brand-01": "#b3b3b3",
"brand-02": "#8B949E"
}
},
keyframes: {
rubber_band: {
'0%': {
transform: 'scale3d(1, 1, 1)'
},
'30%': {
transform: 'scale3d(1.25, 0.75, 1)'
},
'40%': {
transform: 'scale3d(0.75, 1.25, 1)'
},
'50%': {
transform: 'scale3d(1.15, 0.85, 1)'
},
'65%': {
transform: 'scale3d(.95, 1.05, 1)'
},
'75%': {
transform: 'scale3d(1.05, .95, 1)'
},
'100%': {
transform: 'scale3d(1, 1, 1)'
}
}
},
animation: {
rubber: 'rubber_band 1s',
}
},
},
variants: {
extend: {
animation: ['hover']
},
},
plugins: [
require('@tailwindcss/forms'),
],
}