Improve mobile team equipment layout

This commit is contained in:
2026-09-01 15:33:42 +07:00 Unverified
parent 094b61ff32
commit aa0ba4be09
3 changed files with 22 additions and 22 deletions
+8 -8
View File
@@ -1,13 +1,13 @@
const elementBackgroundColors: Record<string, string> = {
Pyro: "#12000033",
Hydro: "#00051233",
Anemo: "#06141533",
Electro: "#0D000F33",
Dendro: "#000F0433",
Cryo: "#03202133",
Geo: "#0F0D0033",
Pyro: "#12000066",
Hydro: "#00051266",
Anemo: "#06141566",
Electro: "#0D000F66",
Dendro: "#000F0466",
Cryo: "#03202166",
Geo: "#0F0D0066",
};
export function elementBackgroundColor(element: string | null | undefined): string {
return (element && elementBackgroundColors[element]) || "#17383d33";
return (element && elementBackgroundColors[element]) || "#17383d66";
}