Skip to content

Commit 7c6f046

Browse files
rcosta358codex
andcommitted
Use native blue for editor text selection
Co-authored-by: Codex <codex@openai.com>
1 parent 6ffd883 commit 7c6f046

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/playground/editor-theme.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const editorTheme = [
1919
'.cm-line': { padding: '0 1.15rem' },
2020
'.cm-gutters': { color: '#7f90ad', backgroundColor: 'transparent', border: 'none' },
2121
'.cm-activeLine, .cm-activeLineGutter': { backgroundColor: '#ffffff08' },
22-
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, ::selection': { backgroundColor: '#334e6880' },
22+
'&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, ::selection': { backgroundColor: 'Highlight' },
2323
'.cm-cursor, .cm-dropCursor': { borderLeftColor: '#e6edf7' },
2424
'.cm-tooltip, .cm-panels': { color: '#e6edf7', backgroundColor: '#172033', borderColor: '#334e68' },
2525
'.cm-searchMatch': { backgroundColor: '#b39b5e55' },

0 commit comments

Comments
 (0)