From 891a55d5f00227feb48282404124d1f6f840195d Mon Sep 17 00:00:00 2001 From: Chris Estreich Date: Wed, 19 Mar 2025 11:51:25 -0700 Subject: [PATCH] Theme tweaks (#1816) --- webview-ui/src/components/ui/command.tsx | 5 +++-- webview-ui/src/components/ui/dropdown-menu.tsx | 4 +++- webview-ui/src/components/ui/select.tsx | 5 +++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/webview-ui/src/components/ui/command.tsx b/webview-ui/src/components/ui/command.tsx index 033ec38571..b69e8e53a9 100644 --- a/webview-ui/src/components/ui/command.tsx +++ b/webview-ui/src/components/ui/command.tsx @@ -108,9 +108,10 @@ const CommandItem = React.forwardRef< svg]:size-4 [&>svg]:shrink-0 active:opacity-90", + "relative flex select-none items-center gap-2 px-2 py-1.5 outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0", "focus:bg-vscode-list-activeSelectionBackground focus:text-vscode-list-activeSelectionForeground", + "text-vscode-dropdown-foreground text-sm", + "rounded-xs active:opacity-90 cursor-pointer", inset && "pl-8", className, )} diff --git a/webview-ui/src/components/ui/select.tsx b/webview-ui/src/components/ui/select.tsx index 56b9378a2e..6e8bcb612e 100644 --- a/webview-ui/src/components/ui/select.tsx +++ b/webview-ui/src/components/ui/select.tsx @@ -89,9 +89,10 @@ function SelectItem({ className, children, ...props }: React.ComponentProps