From 3085e1558b126e2bc98a110ec8d0bf723fdf2d6d Mon Sep 17 00:00:00 2001 From: morgmart <98432065+morgmart@users.noreply.github.com> Date: Tue, 31 Mar 2026 21:44:13 -0700 Subject: [PATCH] add shadcn compatibility layer and separate brand from accent colors (#39) Split the semantic "accent" color into two concepts: brand (user-customizable accent color) and accent (shadcn's neutral hover state). This enables using shadcn/ui components with minimal modification while preserving the existing theming system. --- ui/goose2/src/features/chat/ui/ChatInput.tsx | 2 +- .../src/features/chat/ui/MarkdownContent.tsx | 2 +- .../features/chat/ui/MentionAutocomplete.tsx | 2 +- .../src/features/chat/ui/PersonaPicker.tsx | 2 +- ui/goose2/src/features/home/ui/HomeScreen.tsx | 2 +- .../projects/ui/CreateProjectDialog.tsx | 2 +- ui/goose2/src/shared/styles/globals.css | 50 +++++++++++++++++-- ui/goose2/src/shared/theme/ThemeProvider.tsx | 16 +++++- ui/goose2/src/shared/ui/SearchBar.tsx | 4 +- ui/goose2/src/shared/ui/button.tsx | 14 +++--- ui/goose2/src/shared/ui/dropdown-menu.tsx | 6 +-- ui/goose2/src/shared/ui/popover.tsx | 2 +- ui/goose2/src/shared/ui/tooltip.tsx | 2 +- ui/goose2/tailwind.config.js | 25 ++++++++++ 14 files changed, 105 insertions(+), 26 deletions(-) diff --git a/ui/goose2/src/features/chat/ui/ChatInput.tsx b/ui/goose2/src/features/chat/ui/ChatInput.tsx index 085cf5d35e..60969122b3 100644 --- a/ui/goose2/src/features/chat/ui/ChatInput.tsx +++ b/ui/goose2/src/features/chat/ui/ChatInput.tsx @@ -202,7 +202,7 @@ export function ChatInput({ {mentionPersonaId && (
- + @ {personas.find((p) => p.id === mentionPersonaId)?.displayName}