From bd3ab6d39090cd3236676cbded35da6ca2015266 Mon Sep 17 00:00:00 2001 From: viettranx Date: Fri, 17 Apr 2026 19:04:44 +0700 Subject: [PATCH] fix(ui): contact user-type badge contrast in light mode White text on bg-primary (oklch 0.62) scored ~3:1 and failed WCAG AA. Switch the user badge to an outline with a soft primary tint so the label stays readable in light mode while still visually distinct from the group (secondary) and topic (outline) types. --- ui/web/src/pages/contacts/contacts-table.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/web/src/pages/contacts/contacts-table.tsx b/ui/web/src/pages/contacts/contacts-table.tsx index ff02b410..c5712e2c 100644 --- a/ui/web/src/pages/contacts/contacts-table.tsx +++ b/ui/web/src/pages/contacts/contacts-table.tsx @@ -95,8 +95,12 @@ export function ContactsTable({ {c.contact_type === "user" ? t("types.user") : c.contact_type === "topic" ? t("types.topic", "Topic") : t("types.group")}