From b6b74befa06452a81d683f55f2d10b498cdf691d Mon Sep 17 00:00:00 2001 From: DenelDuck <43882337+DenelDuck@users.noreply.github.com> Date: Sat, 31 Jan 2026 04:58:34 +0100 Subject: [PATCH] add colored borders to player's quickchat option buttons (#2821) Resolves #2820 ## Description: Add colored borders to the `chat-option-button` corresponding to each players territory color. Image ## 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: denelduck --------- Co-authored-by: VariableVince <24507472+VariableVince@users.noreply.github.com> --- src/client/graphics/layers/ChatModal.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/graphics/layers/ChatModal.ts b/src/client/graphics/layers/ChatModal.ts index 2bd90243c..5f673e2f9 100644 --- a/src/client/graphics/layers/ChatModal.ts +++ b/src/client/graphics/layers/ChatModal.ts @@ -142,6 +142,9 @@ export class ChatModal extends LitElement { player ? "selected" : ""}" + style="border: 2px solid ${player + .territoryColor() + .toHex()};" @click=${() => this.selectPlayer(player)} > ${player.name()}