Spaces:
Running
Running
Upload tailwind.config.js
Browse files- tailwind.config.js +27 -0
tailwind.config.js
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/** @type {import('tailwindcss').Config} */
|
2 |
+
module.exports = {
|
3 |
+
content: [
|
4 |
+
"./templates/index.html", // HTMLファイルのパス(Flaskなどのテンプレートエンジンを考慮)
|
5 |
+
"./templates/feedback.html",
|
6 |
+
"./templates/reset.html",
|
7 |
+
"./templates/talkDetail.html",
|
8 |
+
"./templates/userRegister.html",
|
9 |
+
"./templates/userSelect.html",
|
10 |
+
],
|
11 |
+
darkMode: 'class', // ダークモードをクラスベースで適用
|
12 |
+
theme: {
|
13 |
+
extend: {
|
14 |
+
colors: {
|
15 |
+
primary: '#1f2937', // メインカラー
|
16 |
+
secondary: '#2c3e50', // サブカラー
|
17 |
+
},
|
18 |
+
fontFamily: {
|
19 |
+
sans: ['Arial', 'sans-serif'], // デフォルトフォント
|
20 |
+
},
|
21 |
+
borderRadius: {
|
22 |
+
'xl': '1rem', // 角丸の拡張
|
23 |
+
},
|
24 |
+
},
|
25 |
+
},
|
26 |
+
plugins: [],
|
27 |
+
};
|