-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.js
96 lines (95 loc) · 2.32 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
const {
colors,
boxShadow,
lineHeight,
fontWeight,
fontSize,
} = require('./style/theme');
const {
generatorTailwindConfigList,
} = require('./style/theme/generatorTailwindConfigList');
/** @type {import('tailwindcss').Config} */
module.exports = {
important: true,
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {
colors,
boxShadow,
lineHeight,
fontWeight,
fontSize,
borderColor: colors,
borderWidth: {
...generatorTailwindConfigList(51, 1),
},
padding: {
...generatorTailwindConfigList(100, 2),
},
margin: {
...generatorTailwindConfigList(100, 2),
},
spacing: {
...generatorTailwindConfigList(100, 2),
},
borderRadius: {
...generatorTailwindConfigList(100, 2),
},
height: {
main: 'calc(100dvh - 54px)',
categoryBottomSheet: '90dvh',
categoryArea: 'calc(90dvh - 200px)',
onboardingBottomSheet: 'calc(80dvh - 220px)',
...generatorTailwindConfigList(300, 2),
},
width: {
...generatorTailwindConfigList(300, 2),
},
minWidth: {
...generatorTailwindConfigList(300, 2),
},
minHeight: {
...generatorTailwindConfigList(300, 2),
},
maxWidth: {
main: '480px',
...generatorTailwindConfigList(300, 2),
},
maxHeight: {
bottomSheet: '90dvh',
bottomSheetImage: 'calc(80dvh - 220px)',
progressBottomSheet: 'calc(90dvh - 200px)',
...generatorTailwindConfigList(300, 2),
},
gap: {
...generatorTailwindConfigList(100, 2),
},
keyframes: {
'fade-in-back-drop': {
'0%': {
opacity: '0',
},
'100%': {
opacity: '1',
},
},
'slide-up-bottom-sheet': {
'0%': {
transform: 'translateY(100%)',
},
'100%': {
transform: 'translateY(0)',
},
},
},
screens: {
'small-mobile': { raw: '(max-height: 670px),(max-width:380px)' },
},
animation: {
'fade-in-back-drop': 'fade-in-back-drop 0.3s ease-in-out forwards',
'slide-up-bottom-sheet': 'slide-up-bottom-sheet 0.3s ease-out forwards',
},
},
},
plugins: [],
};