-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
86 lines (81 loc) · 2.65 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
import type { Config } from "tailwindcss";
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: {
extend: {
keyframes: {
"slide-in-down": {
"0%": { transform: "translateY(-100%)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
"slide-out-down": {
"0%": { transform: "translateY(0)", opacity: "1" },
"100%": { transform: "translateY(-100%)", opacity: "0" },
},
},
animation: {
"slide-in-down": "slide-in-down 0.5s ease-out",
"slide-out-down": "slide-out-down 0.5s ease-out",
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
screens: {
'xs-400': '400px',
'md': '800px',
'sm-640': '640px',
'sm-700': '700px',
'md-850': '850px',
'md-1000': '1000px',
'xl-1400': '1300px',
'lg-1550': '1550px',
'2xl-1600': '1600px',
'2xl-1700': '1700px'
},
colors: {
"btn-color": "#FB3463",
"kakao-btn": "#FFE617",
"naver-btn": "#03C75A",
"google-btn": "#CFCFCF",
"custom-pink": "#FB3463",
},
// keyframes: {
// fall: {
// "0%": { opacity: "0" },
// "3%, 90%": { opacity: "0.9" },
// "100%": {
// transform: "translateY(97%)",
// opacity: "0",
// },
// },
// slideInout: {
// "0%": { transform: "translateX(-100%) translateY(0%)" },
// "25%": { transform: "translateX(0%) translateY(-10px)" }, // 왼쪽 끝에서 조금 위로
// "50%": { transform: "translateX(100vw) translateY(10px)" }, // 오른쪽 끝으로 이동하면서 아래로
// "75%": { transform: "translateX(0%) translateY(5px)" }, // 다시 돌아오면서 위로
// "100%": { transform: "translateX(-100%) translateY(0%)" }, // 원래 자리로 돌아오면서 약간 위로
// },
// },
// animation: {
// fall: "fall 3.5s linear infinite",
// slideInout: "slideInout 5s linear infinite",
// },
fontFamily: {
akira: ["Akira Expanded", "sans-serif"], // 기본 폰트를 지정합니다.
},
},
},
plugins: [
// Tailwind plugins
require("tailwindcss"),
require("@tailwindcss/typography"),
require("tailwindcss-animate"),
],
};
export default config;