Skip to content

Commit 88b6321

Browse files
authored
🤖 fix: use caret-current for light theme compatibility (#1015)
Changes `caret-white` to `caret-current` in VimTextArea, so the caret inherits the text color and remains visible in light theme. _Generated with `mux`_
1 parent ea846e2 commit 88b6321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/components/VimTextArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ export const VimTextArea = React.forwardRef<HTMLTextAreaElement, VimTextAreaProp
274274
!isEditing && (mode === "plan" ? "focus:border-plan-mode" : "focus:border-exec-mode"),
275275
vimMode === "normal"
276276
? "caret-transparent selection:bg-white/50"
277-
: "caret-white selection:bg-selection"
277+
: "caret-current selection:bg-selection"
278278
)}
279279
/>
280280
{trailingAction && (

0 commit comments

Comments
 (0)