-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
101 lines (100 loc) · 2.63 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
import plugin from 'tailwindcss/plugin';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
colors: {
white: '#FFFFFF',
black: '#000000',
transparent: '#00000000',
gray: {
50: '#F9FAFB',
100: '#F2F4F6',
300: '#CBD0D5',
500: '#838991',
700: '#565C64',
900: '#192028',
},
primary: {
50: '#F8F2EA',
100: '#FFEDE9',
300: '#FF896F',
500: '#FF4A22',
},
system: {
kakaoYellow: '#FAE100',
kakaoBrown: '#371D1E',
error: '#FF2A2A',
dim60: 'rgba(0, 0, 0, 0.60)',
dim80: 'rgba(0, 0, 0, 0.80)',
},
},
zIndex: {
body: '0',
above: '10',
fixedBody: '50',
header: '900',
nav: '1000',
floating: '9000',
overlay: '10000',
toast: '30000',
},
extend: {
fontFamily: {
sans: ['var(--font-nanum-square-round)'],
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'white-gradient':
'linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1))',
'top-fade':
'linear-gradient(to bottom, rgba(0,0,0,0.6) 60%, transparent)',
},
boxShadow: {
floating: '0px 4px 15.4px 0px rgba(0, 0, 0, 0.25);',
pin: '0px 4px 4px rgba(0, 0, 0, 0.25);',
search: '0px 4px 8px 0px rgba(0, 0, 0, 0.10);',
},
textShadow: {
stroke:
'0.5px 0.5px 0 white, -0.5px 0.5px 0 white, -0.5px -0.5px 0 white, 0.5px -0.5px 0 white',
},
},
},
plugins: [
plugin(({ addUtilities, e }) => {
addUtilities({
[`.${e('?')}`]: {
animation: `${e('?')}wobble 0.5s ease-in-out alternate infinite`,
},
[`@keyframes ${e('?')}wobble`]: {
'0%': {
'box-shadow':
'inset 4px 4px rgb(236, 15, 170), inset -4px -4px rgb(236, 15, 170)',
},
'100%': {
'box-shadow':
'inset 8px 8px rgb(236, 15, 170), inset -8px -8px rgb(236, 15, 170)',
},
},
});
}),
plugin(({ matchUtilities, theme }) => {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') },
);
}),
],
};
export default config;