-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
79 lines (77 loc) · 2.53 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
/** @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_300 = { ...Array.from(Array(301)).map((_, i) => `${i}px`) };
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
HakgyoansimGaeulsopungL: ['HakgyoansimGaeulsopungL'],
HakgyoansimGaeulsopungB: ['HakgyoansimGaeulsopungB'],
},
colors: {
'primary-400': '#000080', // color-primary-default
'primary-300': '#1f3c9c',
'primary-300/8': 'rgba(31, 60, 156, 0.08)',
'primary-200': '#465ba0',
'primary-100': '#6674a1',
'primary-75': '#868ea5',
'primary-50': '#e9ebf5',
'neutral-600': '#02081b', // text-default
'neutral-500': '#7a7c82',
'neutral-400': '#808080',
'neutral-300': '#a7a7a7',
'neutral-200': '#e0e0e0',
'neutral-100': '#f5f5f5',
orange: '#ff6427',
},
borderWidth: px0_10,
fontSize: px0_100,
lineHeight: px0_100,
minWidth: px0_300,
minHeight: px0_300,
spacing: px0_300,
keyframes: {
'drop-down': {
'0%': { transform: 'translateY(-100%)' },
'100%': { transform: 'translateY(0)' },
},
skeleton: {
'0%': { backgroundColor: 'rgba(170, 170, 170, 0.1)' },
'50%': { backgroundColor: 'rgba(170, 170, 170, 0.3)' },
'100%': { backgroundColor: 'rgba(170, 170, 170, 0.1)' },
},
},
animation: {
dropdown: 'drop-down 0.5s ease-out',
skeleton: 'skeleton 1.8s infinite ease-in-out',
},
zIndex: {
backdrop: 100,
modal: 101,
loader: 1000,
},
screens: {
xs: { min: '480px' },
'max-xs': { max: '480px' },
'min-400': { min: '400px' },
'max-400': { max: '400px' },
'max-sm': { max: '640px' },
'max-md': { max: '768px' },
'max-800': { max: '800px' },
'max-900': { max: '900px' },
'max-lg': { max: '1024px' },
},
boxShadow: {
lg: '2px 2px 4px 0px rgb(170, 170, 170)',
'btn-light': '2px 2px 4px 0px rgba(41, 37, 110, 0.1)',
'card-lg': '0px 12px 40px 2px rgba(0,0,0,0.08)',
'card-md': '0px 20.98px 41.96px -10.49px rgba(41, 37, 110, 0.1)',
modal:
'0px 10px 32px 4px rgba(24, 39, 75, 0.05), 0px 6px 14px 4px rgba(24, 39, 75, 0.12)',
},
},
},
plugins: [],
};