From 093f417ff72aee9a43448425e18e9249348649d0 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Fri, 20 Feb 2026 17:43:28 -0300 Subject: [PATCH] fix(ui): dynamic suggestion text and borders contrast, cache busting --- ui/suite/chat/chat.css | 4 ++-- ui/suite/chat/chat.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/suite/chat/chat.css b/ui/suite/chat/chat.css index ad73bb0..4fd66f7 100644 --- a/ui/suite/chat/chat.css +++ b/ui/suite/chat/chat.css @@ -555,9 +555,9 @@ footer { .suggestion-button { padding: 6px 12px; border-radius: 20px; - border: 2px solid var(--chat-color2, #002147); + border: 2px solid var(--chat-color1, #002147); background: var(--chat-color2, #002147); - color: var(--chat-fg2, #ffffff); + color: var(--chat-fg2, var(--text, #ffffff)); font-size: 12px; font-weight: 600; cursor: pointer; diff --git a/ui/suite/chat/chat.html b/ui/suite/chat/chat.html index 1e1bd75..84acbbc 100644 --- a/ui/suite/chat/chat.html +++ b/ui/suite/chat/chat.html @@ -1,4 +1,4 @@ - +
@@ -944,7 +944,7 @@ function getContrastYIQ(hexcolor) { if (!hexcolor || typeof hexcolor !== 'string') return '#ffffff'; hexcolor = hexcolor.replace("#", ""); - if (hexcolor.length === 3) hexcolor = hexcolor.split('').map(function(c) { return c + c; }).join(''); + if (hexcolor.length === 3) hexcolor = hexcolor.split('').map(function (c) { return c + c; }).join(''); if (hexcolor.length !== 6) return '#ffffff'; var r = parseInt(hexcolor.substr(0, 2), 16); var g = parseInt(hexcolor.substr(2, 2), 16);