Skip to content

Commit

Permalink
Adjust code selection color for better Safari support (#2067)
Browse files Browse the repository at this point in the history
* Adjust code selection color for better Safari support

* Update theme.ts
  • Loading branch information
stevekinney authored May 1, 2024
1 parent a397f19 commit 80a0f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/vendor/codemirror/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const TEMPORAL_THEME = EditorView.theme(
borderLeftColor: colors.white,
},
'&.cm-focused .cm-selectionBackground, ::selection': {
backgroundColor: colors.slate['700'],
backgroundColor: colors.indigo['500'],
},
'.cm-gutters': {
backgroundColor: colors.black,
Expand Down

0 comments on commit 80a0f21

Please sign in to comment.