-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
46 lines (45 loc) · 1.34 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
/** @type {import('tailwindcss').Config} */
const px0_10 = { ...Array.from(Array(11)).map((_, i) => `${i}px`) };
const px0_100 = { ...Array.from(Array(101)).map((_, i) => `${i}px`) };
const px0_200 = { ...Array.from(Array(201)).map((_, i) => `${i}px`) };
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {
borderWidth: px0_10,
fontSize: px0_100,
lineHeight: px0_100,
minWidth: px0_200,
minHeight: px0_200,
spacing: px0_200,
keyframes: {
'click-effect': {
'0%': {
outline: '4px solid #fff',
outlineOffset: 0,
boxShadow: 'inset 0 0 100px 100px rgba(255, 165, 0, 0.8), 0 0 10px 10px rgba(255, 165, 0, 0.7)',
},
'30%': {
opacity: 1,
outline: '4px solid #fff',
outlineOffset: 0,
boxShadow: 'inset 0 0 0 0 rgba(255, 165, 0, 0.2), 0 0 10px 5px rgba(255, 165, 0, 0.7)',
},
'100%': {
opacity: 0,
outline: '2px solid #fff',
outlineOffset: '2px',
boxShadow: 'inset 0 0 0 0 rgba(255, 165, 0, 0.2), 0 0 10px 5px rgba(255, 165, 0, 0)',
},
},
},
},
screens: {
mobileL: '640px',
tablet: '768px',
laptop: '1024px',
desktop: '1280px',
},
},
plugins: [],
};