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.

<img width="630" height="565" alt="Image"
src="https://github.com/user-attachments/assets/91a99230-0581-4d83-a470-9a02ba43c045"
/>

## 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>
This commit is contained in:
DenelDuck
2026-01-31 04:58:34 +01:00
committed by GitHub
parent 19cdc3fe5f
commit b6b74befa0
+3
View File
@@ -142,6 +142,9 @@ export class ChatModal extends LitElement {
player
? "selected"
: ""}"
style="border: 2px solid ${player
.territoryColor()
.toHex()};"
@click=${() => this.selectPlayer(player)}
>
${player.name()}