Darken team element backgrounds
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
const elementBackgroundColors: Record<string, string> = {
|
||||
Pyro: "#EF7938CC",
|
||||
Hydro: "#4CC2F1CC",
|
||||
Anemo: "#74C2A8CC",
|
||||
Electro: "#AF8EC1CC",
|
||||
Dendro: "#A5C83BCC",
|
||||
Cryo: "#9FD6E3CC",
|
||||
Geo: "#FAB632CC",
|
||||
Pyro: "#12000033",
|
||||
Hydro: "#00051233",
|
||||
Anemo: "#06141533",
|
||||
Electro: "#0D000F33",
|
||||
Dendro: "#000F0433",
|
||||
Cryo: "#03202133",
|
||||
Geo: "#0F0D0033",
|
||||
};
|
||||
|
||||
export function elementBackgroundColor(element: string | null | undefined): string {
|
||||
return (element && elementBackgroundColors[element]) || "#17383dcc";
|
||||
return (element && elementBackgroundColors[element]) || "#17383d33";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user