LED対応

This commit is contained in:
harukin-expo-dev-env
2025-02-09 03:18:34 +00:00
parent 4a01c529b4
commit ec8c0559a0
3 changed files with 7 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ type nameString =
| "SPCL"
| "Normal"
| string;
type colorString = "aqua" | "red" | "blue" | "white";
type colorString = "aqua" | "red" | "#297bff" | "white";
type trainTypeString =
| "快速"
| "特急"
@@ -29,7 +29,7 @@ export const getTrainType: getTrainType = (nameString) => {
case "NightLTDEXP":
return { color: "red", name: "寝台特急", data: "express" };
case "SPCL":
return { color: "blue", name: "臨時", data: "normal" };
return { color: "#297bff", name: "臨時", data: "normal" };
case "OneMan":
return { color: "white", name: "普通列車(ワンマン)", data: "normal" };
case "Normal":