From 78b48b8c71874a4bd6d52723d8451d89c544ad06 Mon Sep 17 00:00:00 2001 From: "Grail Finder (aider)" Date: Sat, 3 May 2025 08:33:00 +0300 Subject: [PATCH] fix: update template color logic to match model constants --- components/room.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/room.html b/components/room.html index 19f699a..19d4092 100644 --- a/components/room.html +++ b/components/room.html @@ -24,7 +24,7 @@
{{range .Room.Cards}}
+ style="background-color: {{if eq .Color "white"}}#ffffff{{else if eq .Color "blue"}}#0000ff{{else if eq .Color "red"}}#ff0000{{else if eq .Color "black"}}#000000{{else if eq .Color "beige"}}#f5f5dc{{else}}#f5f5dc{{end}};"> {{if .Revealed}} {{.Word}} {{else}}