-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
82 lines (82 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
81
82
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./templates/**/*.html",
"./src/**/*.py",
],
theme: {
extend: {
keyframes: {
typewriter: {
to: { left: "100%" }
},
blink: {
"0%": {
opacity: "0"
},
"50%": {
opacity: "1"
}
},
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' }
},
'spin': {
'from': {
transform: 'rotate(0deg)'
},
'to': {
transform: 'rotate(360deg)'
}
}
},
animation: {
typewriter: "typewriter 2s steps(16) forwards",
caret: "typewriter 2s steps(16) forwards, blink 1s steps(2) infinite 2s",
'fade-in': 'fade-in 0.5s ease-out',
'spin': 'spin 1s linear infinite'
},
colors: {
black: '#000000',
white: '#fff',
accent: "#f56565",
},
spacing: {
4: "1rem",
8: "2rem",
12: "3rem",
16: "4rem",
},
fontFamily: {
'roboto': ['"Roboto"', 'monospace'],
},
boxShadow: {
'header': '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
},
borderWidth: {
'2': '2px',
},
transitionProperty: {
'all': 'all',
'transform': 'transform',
},
transitionDuration: {
'300': '300ms',
},
rotate: {
'45': '45deg',
'-45': '-45deg',
},
height: {
'screen': '100vh',
'screen-small': '-webkit-fill-available', // For iOS Safari
},
minHeight: {
'screen': '100vh',
'screen-small': '-webkit-fill-available', // For iOS Safari
},
},
},
plugins: []
}