From ad017152c7ec5acb2cfc61c7d58eea891d8ac3b8 Mon Sep 17 00:00:00 2001
From: tresabhi <43380238+tresabhi@users.noreply.github.com>
Date: Fri, 4 Dec 2026 00:05:39 -0600
Subject: [PATCH] new upgrade icons
---
.../src/components/LoadoutAugments/index.tsx | 8 ++++----
.../src/components/LoadoutModules/index.tsx | 16 +++++-----------
.../src/components/LoadoutSkills/index.tsx | 8 ++++----
3 files changed, 13 insertions(+), 19 deletions(-)
diff --git a/packages/website/src/components/LoadoutAugments/index.tsx b/packages/website/src/components/LoadoutAugments/index.tsx
index 1d72c3467..46fb319b0 100644
--- a/packages/website/src/components/LoadoutAugments/index.tsx
+++ b/packages/website/src/components/LoadoutAugments/index.tsx
@@ -6,9 +6,9 @@ import {
type AugmentProgression,
} from "@blitzkit/protos";
import {
- DoubleArrowDownIcon,
- DoubleArrowUpIcon,
LightningBoltIcon,
+ MinusCircledIcon,
+ PlusCircledIcon,
StarFilledIcon,
} from "@radix-ui/react-icons";
import { useCallback, useMemo } from "react";
@@ -222,7 +222,7 @@ export function LoadoutAugments({
variant="ghost"
onClick={onStock}
>
-
+
-
+
>
}
diff --git a/packages/website/src/components/LoadoutModules/index.tsx b/packages/website/src/components/LoadoutModules/index.tsx
index 5d232502f..7cb073b96 100644
--- a/packages/website/src/components/LoadoutModules/index.tsx
+++ b/packages/website/src/components/LoadoutModules/index.tsx
@@ -8,7 +8,7 @@ import {
type TurretDefinition,
type Unlock,
} from "@blitzkit/protos";
-import { DoubleArrowDownIcon, DoubleArrowUpIcon } from "@radix-ui/react-icons";
+import { MinusCircledIcon, PlusCircledIcon } from "@radix-ui/react-icons";
import { useCallback, useMemo } from "react";
import { api } from "../../api/dynamic";
import { useLocale } from "../../hooks/useLocale";
@@ -44,10 +44,7 @@ const moduleIconNames: Record = {
};
type AnyModule =
- | TurretDefinition
- | GunDefinition
- | TrackDefinition
- | EngineDefinition;
+ TurretDefinition | GunDefinition | TrackDefinition | EngineDefinition;
function stock(type: ModuleType, id: number) {
return { id, type, cost: { type: "xp", value: 0 } } satisfies Unlock;
@@ -227,10 +224,7 @@ function ModuleNode({
src={
isTank
? tankIcon(unlock.id)
- : alias(
- "api",
- `icons/modules/${moduleIconNames[unlock.type]}.webp`,
- )
+ : alias("api", `icons/modules/${moduleIconNames[unlock.type]}.webp`)
}
/>
@@ -299,7 +293,7 @@ export function LoadoutModules({
variant="ghost"
onClick={onStock}
>
-
+
-
+
>
)
diff --git a/packages/website/src/components/LoadoutSkills/index.tsx b/packages/website/src/components/LoadoutSkills/index.tsx
index 5f243eb02..0fe129abb 100644
--- a/packages/website/src/components/LoadoutSkills/index.tsx
+++ b/packages/website/src/components/LoadoutSkills/index.tsx
@@ -4,7 +4,7 @@ import {
permanentSkills,
romanize,
} from "@blitzkit/core";
-import { DoubleArrowUpIcon, TrashIcon } from "@radix-ui/react-icons";
+import { PlusCircledIcon, TrashIcon } from "@radix-ui/react-icons";
import { api } from "../../api/dynamic";
import { useStrings } from "../../hooks/useStrings";
import { Discriminator } from "../Discriminator";
@@ -38,8 +38,8 @@ function Content({ selected, onChange }: ContentProps) {
level === 0
? "gray"
: permanentSkills.includes(skill)
- ? undefined
- : "amber"
+ ? undefined
+ : "amber"
}
variant={level === 0 ? "soft" : "solid"}
highContrast={level !== 0}
@@ -100,7 +100,7 @@ export function LoadoutSkills({
variant="ghost"
onClick={onMaximize}
>
-
+
>
}