LED対応
This commit is contained in:
@@ -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":
|
||||
|
Reference in New Issue
Block a user