Compare commits

...

2 Commits

Author SHA1 Message Date
2206a1ece1 feat: 更新 MtrTrainInfo 组件的主题颜色配置
All checks were successful
Build and Push Container Image, Deploy to Host / build-and-push-and-deploy (push) Successful in 1m50s
2025-08-14 01:48:36 +08:00
5c601e75bc feat: 更新 MtrBoardForm 组件中的选择项,将类型从 "Normal" 修改为 "Local" 2025-08-14 01:47:21 +08:00
2 changed files with 5 additions and 5 deletions

View File

@@ -203,7 +203,7 @@ export function MtrBoardForm({ data, setData }: MtrBoardFormProps) {
<SelectValue placeholder="Select type" />
</SelectTrigger>
<SelectContent>
<SelectItem value="normal">Normal</SelectItem>
<SelectItem value="local">Local</SelectItem>
<SelectItem value="rapid">Rapid</SelectItem>
<SelectItem value="express">Express</SelectItem>
<SelectItem value="through">Through</SelectItem>

View File

@@ -41,16 +41,16 @@ const initialData: BoardData = {
theme: {
statusBarColor: "#0033A0",
statusBarTextColor: "#FFFFFF",
oddRowColor: "#0099CC",
evenRowColor: "#33CCCC",
oddRowColor: "#42b7de",
evenRowColor: "#5899cd",
textColor: "#FFFFFF",
platformBackgroundColor: "#00529B",
platformTextColor: "#FFFFFF",
trainTypeColors: {
local: "rgba(0, 0, 0, 0.2)",
local: "#319d2f",
express: "#D93A3A",
rapid: "#F2B705",
through: "#00A651",
through: "#9352ff",
},
},
lang: "en",