forked from juxtopposed/reassurance-button
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
64 lines (64 loc) · 1.91 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./**/*.{html,js}",
"./src/**/*.{html,js}"
],
theme: {
colors: {
'text': '#e5e5e5',
'background': '#0B0F14',
'primary': '#FF3495',
'secondary': '#87B0FF',
'accent': '#FFAE34',
'green': '#16a34a',
},
extend: {
fontSize: {
sm: '0.707rem',
base: '1rem',
xl: '1.414rem',
'2xl': '1.999rem',
'3xl': '2.827rem',
'4xl': '3.997rem',
'5xl': '5.652rem',
},
fontFamily: {
heading: 'Manrope',
body: 'Manrope',
},
fontWeight: {
normal: '400',
medium: '500',
bold: '800',
},
blur: {
'5xl': '180px',
},
animation: {
'bloba': 'bloba 10s infinite ease-in-out',
'blobb': 'blobb 10s infinite ease-in-out',
'point': 'point 1.5s ease-out forwards',
},
keyframes: {
'bloba': {
'0%': { transform: 'translate(10rem, -6rem)', 'background-color': 'var(--secondary)'},
'50%': { transform: 'translate(-10rem, 6rem)', 'background-color': 'var(--primary)'},
'100%': { transform: 'translate(10rem, -6rem)', 'background-color': 'var(--secondary)'},
},
'blobb': {
'0%': { transform: 'translate(-10rem, 6rem)', 'background-color': 'var(--secondary)'},
'50%': { transform: 'translate(10rem, -6rem)', 'background-color': 'var(--accent)'},
'100%': { transform: 'translate(-10rem, 6rem)', 'background-color': 'var(--secondary)'},
},
'point': {
'0%': { transform: 'translate(-50%, 0)', opacity: '0' },
'1%': { transform: 'translate(-50%, 0)', opacity: '100%' },
'99%': { transform: 'translate(-50%, -500%)', opacity: '0' },
'100%': { transform: 'translate(-50%, 0)', opacity: '0' },
},
}
},
},
plugins: [],
}