|
| 1 | +// tailwind.config.ts |
1 | 2 | import type { Config } from "tailwindcss";
|
2 | 3 |
|
3 | 4 | const config: Config = {
|
4 |
| - darkMode: "class", |
5 | 5 | content: [
|
6 | 6 | "./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
7 | 7 | "./components/**/*.{js,ts,jsx,tsx,mdx}",
|
8 | 8 | "./app/**/*.{js,ts,jsx,tsx,mdx}",
|
9 | 9 | ],
|
| 10 | + darkMode: "class", |
10 | 11 | theme: {
|
11 | 12 | extend: {
|
12 |
| - fontFamily: { |
13 |
| - sans: ["var(--font-pretendard)"], |
14 |
| - }, |
15 | 13 | colors: {
|
16 |
| - background: "var(--background)", |
17 |
| - foreground: "var(--foreground)", |
| 14 | + primary: { |
| 15 | + DEFAULT: "#FE6F21", |
| 16 | + ...{ |
| 17 | + "50": "#fff6ed", |
| 18 | + "100": "#ffebd4", |
| 19 | + "200": "#ffd2a8", |
| 20 | + "300": "#ffb270", |
| 21 | + "400": "#ff8637", |
| 22 | + "500": "#ff6f20", |
| 23 | + "600": "#f04906", |
| 24 | + "700": "#c73407", |
| 25 | + "800": "#9e2a0e", |
| 26 | + "900": "#7f260f", |
| 27 | + "950": "#450f05", |
| 28 | + }, |
| 29 | + }, |
| 30 | + neutral: { |
| 31 | + DEFAULT: "#000000", |
| 32 | + ...{ |
| 33 | + "50": "#f6f6f6", |
| 34 | + "100": "#e7e7e7", |
| 35 | + "200": "#d1d1d1", |
| 36 | + "300": "#b0b0b0", |
| 37 | + "400": "#888888", |
| 38 | + "500": "#6d6d6d", |
| 39 | + "600": "#5d5d5d", |
| 40 | + "700": "#4f4f4f", |
| 41 | + "800": "#454545", |
| 42 | + "900": "#3d3d3d", |
| 43 | + "950": "#000000", |
| 44 | + }, |
| 45 | + }, |
| 46 | + // 다크모드용 색상 추가 |
| 47 | + background: { |
| 48 | + DEFAULT: "white", |
| 49 | + dark: "#000000", |
| 50 | + }, |
| 51 | + text: { |
| 52 | + DEFAULT: "#000000", |
| 53 | + dark: "#ffffff", |
| 54 | + }, |
| 55 | + border: { |
| 56 | + DEFAULT: "#e7e7e7", |
| 57 | + dark: "#454545", |
| 58 | + }, |
| 59 | + }, |
| 60 | + fontSize: { |
| 61 | + display: ["3rem", { lineHeight: "1.2", fontWeight: "700" }], // 48px |
| 62 | + h1: ["2.5rem", { lineHeight: "1.2", fontWeight: "700" }], // 40px |
| 63 | + h2: ["2rem", { lineHeight: "1.2", fontWeight: "700" }], // 32px |
| 64 | + h3: ["1.5rem", { lineHeight: "1.2", fontWeight: "700" }], // 24px |
| 65 | + subhead1: ["1.25rem", { lineHeight: "1.2", fontWeight: "700" }], // 20px |
| 66 | + subhead2: ["1rem", { lineHeight: "1.2", fontWeight: "700" }], // 16px |
| 67 | + subhead3: ["0.875rem", { lineHeight: "1.2", fontWeight: "700" }], // 14px |
| 68 | + body1: ["1rem", { lineHeight: "1.5" }], // 16px |
| 69 | + body2: ["0.875rem", { lineHeight: "1.5" }], // 14px |
| 70 | + body3: ["0.75rem", { lineHeight: "1.5" }], // 12px |
18 | 71 | },
|
19 | 72 | },
|
20 | 73 | },
|
21 |
| - plugins: [require("@tailwindcss/typography")], |
| 74 | + plugins: [], |
22 | 75 | };
|
23 | 76 | export default config;
|
0 commit comments