diff --git a/src/icons.ts b/src/icons.ts
index 92706d1..8149f02 100644
--- a/src/icons.ts
+++ b/src/icons.ts
@@ -26,46 +26,52 @@ Created by potrace 1.15, written by Peter Selinger 2001-2017
`;
-function getPlusIcon(color: string): string {
- return `
-
-`;
+
+function getSmallTropyIcon(icon: string, color: string, count: number): string {
+ const leftXPosition = 2;
+ const rightXPosition = 73;
+ const getIcon = (x: number) => {
+ return ``
+ };
+ if (count == 1) {
+ // Double Rank
+ return getIcon(rightXPosition);
+ } else if (count == 2){
+ // Triple Rank
+ return `${getIcon(leftXPosition)}${getIcon(rightXPosition)}`
+ }
+ // Single Rank
+ return ''
+
}
export function getTropyIcon(rank = RANK.UNKNOWN) {
- let color = "currentColor";
- let backgroundIcon = "";
- let optionRankIcon = "";
- if (rank == RANK.SP) {
- color = goldColor;
- backgroundIcon = leafIcon;
- optionRankIcon = getPlusIcon(color);
- } else if (rank == RANK.S) {
- color = goldColor;
- backgroundIcon = leafIcon;
- } else if (rank == RANK.AP) {
- color = silverColor;
- backgroundIcon = leafIcon;
- optionRankIcon = getPlusIcon(color);
- } else if (rank == RANK.A) {
- color = silverColor;
- backgroundIcon = leafIcon;
- } else if (rank == RANK.B) {
- color = bronzeColor;
- }
- return `
- ${backgroundIcon}
- ${optionRankIcon}
-