Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
155 lines (154 loc) · 5.09 KB
/
Copy pathtailwind.config.js
File metadata and controls
155 lines (154 loc) · 5.09 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./app/**/*.{js,ts,jsx,tsx}',
],
theme: {
screens: {
xs: '375px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
},
extend: {
animation: {
// bounceOnce: 'bounce 1s',
scaleUp: 'scaleUp .75s',
yee: 'yee .75s',
boo: 'boo .75s',
heartBeat: 'heartBeat 0.8s ease-in-out',
},
keyframes: {
fadeIn: {
'0%': {
opacity: '0',
},
'100%': {
opacity: '1',
},
},
// bounceOnce: {
// '0%, 100%': {
// transform: 'translateY(25)',
// animationTimingFunction: 'cubic-bezier(0, 0, 0, 0)',
// },
// },
scaleUp: {
'0%': {
transform: 'scale(1)',
},
'50%': {
transform: 'scale(2)',
},
'100%': {
transform: 'scale(1)',
},
},
boo: {
'0%': {
transform: 'scale(1)',
},
'50%': {
transform: 'scale(1.5)',
transform: 'translateY(1em)',
},
'100%': {
transform: 'scale(1)',
},
},
yee: {
'0%': {
transform: 'scale(1)',
},
'50%': {
transform: 'scale(1.5)',
transform: 'translateY(-1em)',
},
'100%': {
transform: 'scale(1)',
},
},
heartBeat: {
'0%': {
transform: 'scale(1)',
},
'14%': {
transform: 'scale(1.3)',
},
'28%': {
transform: 'scale(1)',
},
'42%': {
transform: 'scale(1.3)',
},
'70%': {
transform: 'scale(1)',
},
},
},
scale: {
102: '1.02',
},
textShadow: {
'3xl': '0 0 3px rgba(0, 0, 0, .8), 0 0 5px rgba(0, 0, 0, .9)',
yel: 'rgb(255 204 0) 1px 0px 1px',
},
fontFamily: {
russo: ['Russo One'],
fancy: ['Dancing Script'],
lex: ['Lexend Deca', 'sans-serif'],
},
backgroundImage: {
moreInfo:
'linear-gradient(to bottom,rgba(20,20,20,0) 0,rgba(20,20,20,0) 50%,rgba(20,20,20, 10%) 70%,rgba(20,20,20, 100%) 80%,rgba(20,20,20,100%))',
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
},
dropShadow: {
'3xl': '0 35px 35px rgba(0, 0, 0, 0.25)',
'4xl': '16px 16px 20px black',
},
boxShadow: {
'3xl': '10px 10px 60px -15px rgba(0, 0, 0,.9)',
extra: '0px 25px 50px -12px rgba(0, 0, 0, 0.25)',
},
// Custom z-index scale for consistent layering
// See docs/Z_INDEX_HIERARCHY.md for full documentation
zIndex: {
// Dropdowns & overlays
dropdown: '110',
'mobile-backdrop': '105',
// Fixed navigation
header: '200',
// Above header elements
'dropdown-above': '250',
// Inline pickers
picker: '1500',
// Debug tools (dev only)
debug: '9999',
// Auth modal
auth: '9999',
// Settings modal
settings: '10000',
// Standard modals
modal: '50000',
// Nested/list selection modals
'modal-nested': '55000',
// Collection builder
'modal-builder': '56000',
// Delete confirmation
'modal-delete': '60000',
// Editor modal layers
'modal-editor-bg': '99998',
'modal-editor': '99999',
'modal-editor-inner': '100000',
// Top layer (toast, critical)
toast: '100001',
},
},
},
plugins: [],
}