Skip to content

Conversation

@DanielleMaywood
Copy link

@DanielleMaywood DanielleMaywood commented Nov 24, 2025

Closes #730

Fixes cursor invisibility in the prompt box when using light theme.

Changes:

  • Added --color-caret CSS variable with theme-specific values (white for dark, dark gray for light)
  • Updated VimTextArea to use semantic caret-caret and bg-caret/50 utilities instead of arbitrary value syntax
  • Fixes apply to insert mode cursor, vim normal mode block cursor, and empty-buffer cursor indicator

Implementation notes:

  • --color-caret defined inside @theme block for automatic utility generation
  • Light theme override in :root[data-theme="light"]
  • Follows existing pattern of semantic utilities like text-light, bg-dark

Generated with mux

- Add --color-caret CSS variable (white for dark, dark for light)
- Update VimTextArea to use theme-aware caret color
- Apply to both insert mode cursor and vim normal mode block cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Cursor invisible in prompt box when using light theme

1 participant