走行位置のUIに種別や内子経由のラインを追加、寝台特急をピンクに変更

This commit is contained in:
harukin-expo-dev-env
2025-07-08 13:28:00 +00:00
parent d586bc562f
commit 934f9ce2c2
2 changed files with 52 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ type nameString =
| "SPCL"
| "Normal"
| string;
type colorString = "aqua" | "red" | "#297bff" | "white";
type colorString = "aqua" | "red" | "#297bff" | "white" | "pink";
type trainTypeString =
| "快速"
| "特急"
@@ -28,7 +28,7 @@ export const getTrainType: getTrainType = (nameString) => {
case "LTDEXP":
return { color: "red", name: "特急", data: "express" };
case "NightLTDEXP":
return { color: "red", name: "寝台特急", data: "express" };
return { color: "pink", name: "寝台特急", data: "express" };
case "SPCL":
case "SPCL_Rapid":
case "SPCL_EXP":