-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
68 lines (65 loc) · 1.75 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content:["*.html", "*/index.html", "*/**/index.html"],
theme: {
extend: {
animation: {
'open-menu': 'open-menu 0.5s ease-in-out forwards',
typing: 'typing 4s steps(40, end) forwards, blink-cursor 0.75s step-end infinite 3s',
spin: 'spin 1s linear',
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
},
keyframes: {
'spin': {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(360deg)' },
},
'open-menu': {
'0%': {transform: 'scaleY(0)'},
'80%': {transform: 'scaleY(1.2)'},
'100%': {transform: 'scaleY(1)'},
},
typing: {
'0%': { width: '0%' },
'100%': { width: '100%' },
},
blink: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0' },
},
pulse: {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.5' },
},
},
screens: {
'xs': '550px',
'sm': '640px',
'mid': '645px',
'md': '768px',
'inbetween': '800px',
'changebuttons': '870px',
'changenav': '950px',
'lg': '1024px',
'xl': '1280px',
'xxl': '2000px',
'xxxl': '3000px'
},
fontFamily: {
customFont: ['"Courier Prime"','"Montserrat Alternates"', 'sans-serif'],
},
colors: {
'text': '#ffffff',
'background': '#000000',
'primary': '#030326',
'secondary': '#f7f7f7',
'accent': '#a29ee5',
},
backgroundImage: {
'background': "url('../img/khanacademylogo.jpg')",
}
},
},
plugins: [
],
}