Skip to content

Commit

Permalink
Make the dark theme cursor color a lot lighter
Browse files Browse the repository at this point in the history
FIX: Fix the default cursor color for dark themes, which was way too dark.

See https://discuss.codemirror.net/t/cursor-stays-after-placeholder-gives-impression-like-placeholder-is-the-text/8490
  • Loading branch information
marijnh committed Sep 27, 2024
1 parent 1d9f008 commit 49e68f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const baseTheme = buildTheme("." + baseThemeID, {
display: "none"
},
"&dark .cm-cursor": {
borderLeftColor: "#444"
borderLeftColor: "#ddd"
},
".cm-dropCursor": {
position: "absolute"
Expand Down

0 comments on commit 49e68f7

Please sign in to comment.