empower_front/tailwind.config.js
MJM_2025_05\polly 2e15353384 fix: 首頁與歷史資料頁圖表顯示優化
首頁:

1. 室內/冷藏與溫度/濕度位置互換

2. 碳排圖表改為顯示「每日」資料

3. 平面圖點擊 icons 顯示彈跳視窗

歷史資料頁:

1. 調整折線圖 X 軸過密的顯示問題
2025-07-31 11:01:07 +08:00

45 lines
1.1 KiB
JavaScript

module.exports = {
content: [
"./src/**/*.{vue,js,ts}",
"./node_modules/vue-tailwind-datepicker/**/*.js",
],
purge: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
darkMode: false,
theme: {
extend: {
backgroundImage: {
navbar:
"linear-gradient(to bottom,rgba(0, 15, 125, 0.9),rgba(0, 96, 255, 0.9))",
normal:
"linear-gradient(180deg,rgba(127, 237, 193, 0.1),rgba(0, 0, 0, 0),rgba(127, 237, 193, 0.1))",
},
colors: {
dark: "#111",
warning: "#ffe448",
"sub-warning": "#BEAC53",
info: "#35eded",
"dark-info": "#24272c",
"light-info": "#83e0ea",
success: "#8ee894",
"sub-success": "#808B68",
"success-content": "#8ee894",
body: "#02101B",
danger: "#722e3c",
active: "#6fdda8",
innerTable: "rgba(111, 221, 168, 0.1)",
error: "#ff033e",
},
boxShadow: {
custom: "0px 0px 10px 1px rgba(255, 255, 255, 0.8)",
},
},
},
variants: {
extend: {},
},
plugins: [require("daisyui")],
daisyui: {
themes: ["synthwave", "dracula"],
},
};