diff --git a/webview-ui/src/components/chat/ChatTextArea.tsx b/webview-ui/src/components/chat/ChatTextArea.tsx index fc4e70e..fa00fc1 100644 --- a/webview-ui/src/components/chat/ChatTextArea.tsx +++ b/webview-ui/src/components/chat/ChatTextArea.tsx @@ -511,6 +511,11 @@ const ChatTextArea = forwardRef( appearance: "none" as const, } + const optionStyle = { + backgroundColor: "var(--vscode-dropdown-background)", + color: "var(--vscode-dropdown-foreground)", + } + const caretContainerStyle = { position: "absolute" as const, left: 6, @@ -731,20 +736,21 @@ const ChatTextArea = forwardRef( flex: "0 0 auto", }}> {getAllModes(customModes).map((mode) => ( - ))} - - +
@@ -784,16 +790,22 @@ const ChatTextArea = forwardRef( key={config.name} value={config.name} style={{ - backgroundColor: "var(--vscode-dropdown-background)", - color: "var(--vscode-dropdown-foreground)", + ...optionStyle, }}> {config.name} ))} - - +