-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
108 lines (108 loc) · 2.8 KB
/
tailwind.config.js
File metadata and controls
108 lines (108 loc) · 2.8 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
keyframes: {
rotate: {
'0%': { transform: 'rotate(0deg) scale(10)' },
'100%': { transform: 'rotate(-360deg) scale(10)' },
},
gradient: {
'0%, 100%': {
'background-size': '300% 300%',
'background-position': 'left center',
},
'33%': {
'background-size': '300% 300%',
'background-position': 'center center',
},
'66%': {
'background-size': '300% 300%',
'background-position': 'right center',
},
},
colorTransition: {
'0%, 100%': {
backgroundColor: '#ffa2a2',
},
'50%': {
backgroundColor: '#ff6467',
},
},
},
backgroundImage: {
brandBackground: 'radial-gradient(80% 80% at 50% 50%, #fecd4c21 0%, #ffffff42 100%)',
},
animation: {
rotate: 'rotate 5s linear infinite',
gradient: 'gradient 10s ease infinite',
'color-transition': 'colorTransition 5s ease-in-out infinite',
},
fontFamily: {
pretendard: [
'"Pretendard Variable"',
'Pretendard',
'-apple-system',
'BlinkMacSystemFont',
'system-ui',
'Roboto',
'"Helvetica Neue"',
'"Segoe UI"',
'"Apple SD Gothic Neo"',
'"Noto Sans KR"',
'"Malgun Gothic"',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'sans-serif',
],
},
fontSize: {
'display-raw': ['72px'],
'title-raw': ['28px'],
'subtitle-raw': ['24px'],
'detail-raw': ['20px'],
'body-raw': ['16px'],
'timer-raw': ['110px'],
},
boxShadow: {
'camp-blue': `0 0 30px #FF3B2F`,
'camp-red': `0 0 30px #007AFF`,
'camp-neutral': `0 0 30px #737373`,
},
colors: {
camp: {
red: '#E14666',
blue: '#1E91D6',
},
brand: {
DEFAULT: '#FECD4C',
hover: '#DBA822',
},
default: {
'disabled/hover': '#D6D7D9',
neutral: '#A3A3A3',
dim: '#222222',
dim2: '#F2F2F2',
border: '#79747E',
timeout: '#4F4F4F',
white: '#FFFFFF',
black: '#222222',
black2: '#404040',
},
semantic: {
warning: '#FF8B87',
error: '#D70000',
table: '#FF5622',
material: '#6750A4',
},
},
},
screens: {
md: '768px',
lg: '1280px',
xl: { raw: '(min-width: 1600px) and (min-height: 1024px)' },
},
},
};