Skip to content

Commit a01a88b

Browse files
committed
config: tailwind config finish!!
1 parent 11318ca commit a01a88b

11 files changed

+176
-617
lines changed

dist/index.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.html

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!doctype html>
2+
<html lang="ko">
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link href="https://fonts.googleapis.com/css?family=Nanum+Gothic" rel="stylesheet" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8+
<meta name="description" content="건국대학교 학생들을 위한 교내외 관련 페이지 모음 확장 프로그램 LinKU" />
9+
<title>LinKU</title>
10+
<script type="module" crossorigin src="./index.js"></script>
11+
<link rel="stylesheet" crossorigin href="./index.css">
12+
</head>
13+
14+
<body>
15+
<div id="root"></div>
16+
</body>
17+
18+
</html>

dist/index.js

+119
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "LinKU",
44
"description": "건국대학교 학생들을 위한 교내외 관련 페이지 모음 확장 프로그램 LinKU",
5-
"version": "1.0.6",
5+
"version": "1.0.12",
66
"action": {
77
"default_popup": "index.html"
88
},

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
},
2424
"devDependencies": {
2525
"@eslint/js": "^9.19.0",
26+
"@tailwindcss/postcss": "^4.0.7",
2627
"@types/node": "^22.13.4",
2728
"@types/react": "^19.0.8",
2829
"@types/react-dom": "^19.0.3",
@@ -32,8 +33,9 @@
3233
"eslint-plugin-react-hooks": "^5.0.0",
3334
"eslint-plugin-react-refresh": "^0.4.18",
3435
"globals": "^15.14.0",
36+
"install": "^0.13.0",
3537
"postcss": "^8.5.3",
36-
"tailwindcss": "^3.4.17",
38+
"tailwindcss": "^4.0.7",
3739
"typescript": "~5.7.2",
3840
"typescript-eslint": "^8.22.0",
3941
"vite": "^6.1.0"

pnpm-lock.yaml

+29-543
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

postcss.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
/** @type {import('postcss-load-config').Config} */
12
export default {
23
plugins: {
3-
tailwindcss: {},
4+
"@tailwindcss/postcss": {},
45
autoprefixer: {},
56
},
67
};

public/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "LinKU",
44
"description": "건국대학교 학생들을 위한 교내외 관련 페이지 모음 확장 프로그램 LinKU",
5-
"version": "1.0.6",
5+
"version": "1.0.12",
66
"action": {
77
"default_popup": "index.html"
88
},

src/App.css

-70
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,6 @@
1-
@import "tailwindcss";
2-
@tailwind base;
3-
@tailwind components;
4-
@tailwind utilities;
5-
61
body {
72
background-color: white;
83
font-family: "Nanum Gothic", sans-serif;
94
width: 400px;
105
height: 400px;
116
}
12-
13-
@layer base {
14-
:root {
15-
--background: 0 0% 100%;
16-
--foreground: 0 0% 3.9%;
17-
--card: 0 0% 100%;
18-
--card-foreground: 0 0% 3.9%;
19-
--popover: 0 0% 100%;
20-
--popover-foreground: 0 0% 3.9%;
21-
--primary: 0 0% 9%;
22-
--primary-foreground: 0 0% 98%;
23-
--secondary: 0 0% 96.1%;
24-
--secondary-foreground: 0 0% 9%;
25-
--muted: 0 0% 96.1%;
26-
--muted-foreground: 0 0% 45.1%;
27-
--accent: 0 0% 96.1%;
28-
--accent-foreground: 0 0% 9%;
29-
--destructive: 0 84.2% 60.2%;
30-
--destructive-foreground: 0 0% 98%;
31-
--border: 0 0% 89.8%;
32-
--input: 0 0% 89.8%;
33-
--ring: 0 0% 3.9%;
34-
--chart-1: 12 76% 61%;
35-
--chart-2: 173 58% 39%;
36-
--chart-3: 197 37% 24%;
37-
--chart-4: 43 74% 66%;
38-
--chart-5: 27 87% 67%;
39-
--radius: 0.5rem;
40-
}
41-
.dark {
42-
--background: 0 0% 3.9%;
43-
--foreground: 0 0% 98%;
44-
--card: 0 0% 3.9%;
45-
--card-foreground: 0 0% 98%;
46-
--popover: 0 0% 3.9%;
47-
--popover-foreground: 0 0% 98%;
48-
--primary: 0 0% 98%;
49-
--primary-foreground: 0 0% 9%;
50-
--secondary: 0 0% 14.9%;
51-
--secondary-foreground: 0 0% 98%;
52-
--muted: 0 0% 14.9%;
53-
--muted-foreground: 0 0% 63.9%;
54-
--accent: 0 0% 14.9%;
55-
--accent-foreground: 0 0% 98%;
56-
--destructive: 0 62.8% 30.6%;
57-
--destructive-foreground: 0 0% 98%;
58-
--border: 0 0% 14.9%;
59-
--input: 0 0% 14.9%;
60-
--ring: 0 0% 83.1%;
61-
--chart-1: 220 70% 50%;
62-
--chart-2: 160 60% 45%;
63-
--chart-3: 30 80% 55%;
64-
--chart-4: 280 65% 60%;
65-
--chart-5: 340 75% 55%;
66-
}
67-
}
68-
69-
@layer base {
70-
* {
71-
@apply border-border;
72-
}
73-
body {
74-
@apply bg-background text-foreground;
75-
}
76-
}

src/index.css

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import "tailwindcss";

src/main.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { StrictMode } from "react";
22
import { createRoot } from "react-dom/client";
33
import App from "./App.tsx";
4+
import "./index.css";
45

56
createRoot(document.getElementById("root")!).render(
67
<StrictMode>

0 commit comments

Comments
 (0)