-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
88 lines (82 loc) · 2.15 KB
/
tailwind.config.ts
File metadata and controls
88 lines (82 loc) · 2.15 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
/* eslint-disable @typescript-eslint/no-var-requires */
import typography from "@tailwindcss/typography";
import type { Config } from "tailwindcss";
const pxToRem = require("tailwindcss-preset-px-to-rem");
export const screens = {
md: "744px",
lg: "1200px",
};
const config: Config = {
presets: [pxToRem],
content: [
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
fontFamily: {
pretendard: [
"var(--font-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",
],
},
screens,
extend: {
colors: {
"dark-blue": {
50: "#FAF9FF",
100: "#F4F4FF",
200: "#EBE9FF",
300: "#DDDAFF",
400: "#7E73FF",
500: "#6F63FF",
600: "#5A4CFF",
700: "#473ADA",
800: "#3C30C0",
900: "#2E24A1",
950: "#281F8B",
},
red: {
500: "#EF4444",
},
},
animation: {
fadeIn: "fadeIn .4s ease-in",
fadeOut: "fadeOut .4s ease-out",
landingFadeIn: "landingFadeIn .7s ease-in",
landingFadeOut: "landingFadeOut .7s ease-out",
},
keyframes: {
fadeIn: {
"0%": { transform: "translateY(10px)" },
"100%": { transform: "translateY(0)" },
},
fadeOut: {
"0%": { transform: "translateY(0)" },
"100%": { transform: "translateY(10px)" },
},
landingFadeIn: {
"0%": { transform: "translateY(20px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
landingFadeOut: {
"0%": { transform: "translateY(0)", opacity: "1" },
"100%": { transform: "translateY(20px)", opacity: "0" },
},
},
},
},
plugins: [typography],
};
export default config;