-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
59 lines (59 loc) · 1.42 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
module.exports = {
darkMode: 'class',
content: [
'./app/components/**/*.erb',
'./app/views/**/*.html.erb',
'./app/helpers/**/*.rb',
'./app/components/**/*.rb',
'./app/assets/stylesheets/**/*.css',
'./app/javascript/**/*.js',
'./app/javascript/**/*.ts'
],
theme: {
screens: {
sm: '790px',
md: '1000px',
lg: '1200px'
},
extend: {
colors: {
primary: '#ef6461',
'primary-light': '#e58b89',
secondary: '#e4b363',
'secondary-light': '#e8c388'
},
animation: {
fadeOut: 'fadeOut 0.5s ease-in-out forwards',
fadeIn: 'fadeIn 0.5s ease-in-out forwards'
},
keyframes: {
fadeOut: {
'0%': { opacity: '1' },
'100%': { opacity: '0' }
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
}
},
transitionProperty: {
width: 'width'
},
backgroundImage: {
stripes: 'repeating-linear-gradient(45deg, #f2f2f2, #f2f2f2 20px, #ffffff 20px, #ffffff 40px)'
},
borderRadius: {
'4xl': '2rem'
},
textShadow: {
border: '2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000',
}
},
fontFamily: {
sans: ['"Montserrat"', 'sans-serif']
}
},
plugins: [
require('tailwindcss-textshadow')
]
}