-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
114 lines (112 loc) · 3.21 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
102
103
104
105
106
107
108
109
110
111
112
113
114
import type { Config } from "tailwindcss";
const config = {
darkMode: ["class"],
content: [
"./pages/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./app/**/*.{ts,tsx}",
"./src/**/*.{ts,tsx}",
],
prefix: "",
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
fontFamily: {
sans: '"Galmuri9", -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',
},
extend: {
colors: {
primary: "#09224E",
secondary: "#FFCB09",
error: "#DC143C",
success: "#17C964",
neoRed: "#e24a57",
neoYellow: "#fba834",
neoBlue: "#396eeb",
neoGreen: "#25b195",
land: "#a1c16e",
underground: "#6F4B35",
sky: "#7DD1F2",
mapRankFirst: "#c01eeb",
mapRankSecond: "#d978f3",
mapRankThird: "#e5a5f7",
},
keyframes: {
"accordion-down": {
from: { height: "0" },
to: { height: "var(--radix-accordion-content-height)" },
},
"accordion-up": {
from: { height: "var(--radix-accordion-content-height)" },
to: { height: "0" },
},
"map-bounce": {
"0%": {
transform: "translateY(0)",
},
"100%": {
transform: "translateY(-1.5%)",
},
},
"signup-fade-out": {
from: { opacity: "1" },
to: { opacity: "0" },
},
"signup-fade-in": {
from: { opacity: "0" },
to: { opacity: "1" },
},
"slide-infinite": {
from: {
transform: "translateX(0)",
},
to: {
transform: "translateX(100%)",
},
},
},
animation: {
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"map-bounce": "map-bounce 1.2s linear infinite alternate",
"signup-fade-out": "signup-fade-out 0.5s ease-out",
"signup-fade-in": "signup-fade-in 0.5s ease-out",
"slide-infinite": "slide-infinite 50s linear infinite",
},
boxShadow: {
neo: "4px 4px 0px 0px #000000",
"neo-b": "0px 4px 0px 0px #000000",
"neo-l": "-4px 0px 0px 0px #000000",
"neo-t": "0px -4px 0px 0px #000000",
"neo-r": "4px 0px 0px 0px #000000",
"neo-thin": "2px 2px 0px 0px #000000",
"neo-thin-b": "0px 2px 0px 0px #000000",
"neo-thin-l": "-2px 0px 0px 0px #000000",
"neo-thin-t": "0px -2px 0px 0px #000000",
"neo-thin-r": "2px 0px 0px 0px #000000",
"neo-white": "4px 4px 0px 0px #ffffff",
"neo-white-thin": "2px 2px 0px 0px #ffffff",
},
screens: {
short: { raw: "(max-height: 890px)" },
},
zIndex: {
"60": "60",
"70": "70",
"80": "80",
"90": "90",
"100": "100",
},
},
},
plugins: [require("tailwindcss-animate")],
future: {
hoverOnlyWhenSupported: true,
},
} satisfies Config;
export default config;