-
Notifications
You must be signed in to change notification settings - Fork 39
/
elements.ts
40 lines (37 loc) · 902 Bytes
/
elements.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* eslint-disable no-unused-vars */
type ElementMetadata = Record<string, { img: string; hex: string }>;
export enum ElementsFilterType {
AERO = "Aero",
FUSION = "Fusion",
SPECTRO = "Spectro",
HAVOC = "Havoc",
ELECTRO = "Electro",
GLACIO = "Glacio",
}
export const elementsMetadata: ElementMetadata = {
Aero: {
img: "/assets/icons/elements/aero.webp",
hex: "#34d399",
},
Fusion: {
img: "/assets/icons/elements/fusion.webp",
hex: "#f87171",
},
Spectro: {
img: "/assets/icons/elements/spectro.webp",
hex: "#fde68a",
},
Havoc: {
img: "/assets/icons/elements/havoc.webp",
hex: "#ec4899",
},
Electro: {
img: "/assets/icons/elements/electro.webp",
hex: "#e879f9",
},
Glacio: {
img: "/assets/icons/elements/glacio.webp",
hex: "#a5f3fc",
},
} as ElementMetadata;
export const validElements = Object.keys(elementsMetadata);