-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
64 lines (63 loc) · 1.8 KB
/
tailwind.config.js
File metadata and controls
64 lines (63 loc) · 1.8 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
const colors = require('tailwindcss/colors');
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
sans: ['Roboto', 'Helvetica Neue', 'Arial', 'sans-serif'],
},
colors: {
primary: {
DEFAULT: '#6be585',
dark: '#58cb73',
},
background: '#f0f0f0',
blue: colors.blue,
gray: colors.gray,
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(var(--tw-gradient-stops))',
'fiberglass': 'linear-gradient(to right, var(--tw-gradient-stops))',
'checkerboard-white-black': 'repeating-conic-gradient(#fff 0% 25%, #000 0% 50%) 50% / 8px 8px',
},
gradientColorStops: theme => ({
...theme('colors'),
'fiberglass-start': '#f0f0f0',
'fiberglass-middle': '#e0e0e0',
'fiberglass-end': '#f0f0f0',
}),
boxShadow: {
'neon': '0 0 5px theme("colors.primary.DEFAULT"), 0 0 20px theme("colors.primary.DEFAULT")',
'3d': '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
},
animation: {
'pulse-slow': 'pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
scale: {
'102': '1.02',
'105': '1.05',
},
transitionProperty: {
'height': 'height',
'spacing': 'margin, padding',
},
},
},
variants: {
extend: {
scale: ['hover', 'focus', 'active'],
boxShadow: ['hover', 'focus'],
opacity: ['disabled'],
backgroundColor: ['active'],
textColor: ['active'],
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
}