mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-15 07:13:06 +00:00
update radial menu styling (#3404)
## Description: Before: <img width="215" height="239" alt="Screenshot 2026-03-10 at 10 29 12 PM" src="https://github.com/user-attachments/assets/bb044425-eb2f-427c-afd6-6c9dd5d075aa" /> After: <img width="240" height="207" alt="Screenshot 2026-03-10 at 10 27 33 PM" src="https://github.com/user-attachments/assets/21ce4c3b-ab24-4af0-b608-6be5603320fb" /> ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: evan
This commit is contained in:
@@ -82,32 +82,32 @@ export interface CenterButtonElement {
|
||||
}
|
||||
|
||||
export const COLORS = {
|
||||
build: "#ebe250",
|
||||
building: "#2c2c2c",
|
||||
boat: "#3f6ab1",
|
||||
ally: "#53ac75",
|
||||
breakAlly: "#c74848",
|
||||
breakAllyNoDebuff: "#d4882b",
|
||||
delete: "#ff0000",
|
||||
info: "#64748B",
|
||||
target: "#ff0000",
|
||||
attack: "#ff0000",
|
||||
build: "#e6c74a",
|
||||
building: "#1e3a5f",
|
||||
boat: "#2a82c9",
|
||||
ally: "#4ade80",
|
||||
breakAlly: "#dc2626",
|
||||
breakAllyNoDebuff: "#d97706",
|
||||
delete: "#ef4444",
|
||||
info: "#475569",
|
||||
target: "#ef4444",
|
||||
attack: "#ef4444",
|
||||
infoDetails: "#7f8c8d",
|
||||
infoEmoji: "#f1c40f",
|
||||
trade: "#008080",
|
||||
embargo: "#6600cc",
|
||||
infoEmoji: "#fbbf24",
|
||||
trade: "#0891b2",
|
||||
embargo: "#7c3aed",
|
||||
tooltip: {
|
||||
cost: "#ffd700",
|
||||
count: "#aaa",
|
||||
cost: "#f59e0b",
|
||||
count: "#94a3b8",
|
||||
},
|
||||
chat: {
|
||||
default: "#66c",
|
||||
help: "#4caf50",
|
||||
attack: "#f44336",
|
||||
defend: "#2196f3",
|
||||
greet: "#ff9800",
|
||||
misc: "#9c27b0",
|
||||
warnings: "#e3c532",
|
||||
default: "#6366f1",
|
||||
help: "#22c55e",
|
||||
attack: "#ef4444",
|
||||
defend: "#3b82f6",
|
||||
greet: "#f97316",
|
||||
misc: "#a855f7",
|
||||
warnings: "#fbbf24",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -484,7 +484,7 @@ const donateGoldRadialElement: MenuElement = {
|
||||
params.game.inSpawnPhase() ||
|
||||
!params.playerActions?.interaction?.canDonateGold,
|
||||
icon: donateGoldIcon,
|
||||
color: "#EAB308",
|
||||
color: "#f59e0b",
|
||||
action: (params: MenuElementParams) => {
|
||||
if (!params.selected) return;
|
||||
params.playerPanel.openSendGoldModal(
|
||||
|
||||
Reference in New Issue
Block a user