-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
tailwind.config.js
75 lines (71 loc) · 1.74 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{html,js,jsx,ts,tsx,mdx}"],
theme: {
extend: {
colors: {
main: '#FFDC58',
mainAccent: '#ffc800',
overlay: 'rgba(0,0,0,0.8)',
// light mode
bg: '#FEF2E8',
text: '#1f1f1f',
border: '#000',
// dark mode
darkBg: '#1f1f1f',
darkText: '#eeefe9',
darkBorder: '#000',
secondaryBlack: '#1b1b1b',
text: {
DEFAULT: '#1f1f1f',
dark: '#eeefe9',
},
halloween: {
orange: '#FF6B1A',
purple: '#6B1AFF',
green: '#4CAF50',
black: '#1a1a1a',
ghost: 'rgba(255, 255, 255, 0.9)',
},
},
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-20px)' },
},
spookyShake: {
'0%, 100%': { transform: 'rotate(0deg)' },
'25%': { transform: 'rotate(-5deg)' },
'75%': { transform: 'rotate(5deg)' },
},
},
animation: {
'float': 'float 6s ease-in-out infinite',
'spooky-shake': 'spookyShake 2s ease-in-out infinite',
},
borderRadius: {
base: '20px'
},
boxShadow: {
light: '3px 3px 0px 0px #000',
dark: '3px 3px 0px 0px #000',
white: '3px 3px 0px 0px #fff',
},
translate: {
boxShadowX: '3px',
boxShadowY: '3px',
reverseBoxShadowX: '-3px',
reverseBoxShadowY: '-3px',
},
fontWeight: {
base: '500',
heading: '800',
},
minHeight: {
screen: '100vh',
},
},
},
darkMode: 'class',
plugins: [],
}