@uiw/codemirror-themes
Advanced tools
Comparing version 4.14.1 to 4.14.2
@@ -49,3 +49,3 @@ "use strict"; | ||
if (settings.selection) { | ||
themeOptions['&.cm-focused .cm-selectionBackground .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, ::selection'] = { | ||
themeOptions['&.cm-focused .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection'] = { | ||
backgroundColor: settings.selection | ||
@@ -52,0 +52,0 @@ }; |
@@ -45,3 +45,3 @@ import { EditorView } from '@codemirror/view'; | ||
if (settings.selection) { | ||
themeOptions['&.cm-focused .cm-selectionBackground .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, ::selection'] = { | ||
themeOptions['&.cm-focused .cm-selectionBackground, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection'] = { | ||
backgroundColor: settings.selection | ||
@@ -48,0 +48,0 @@ }; |
{ | ||
"name": "@uiw/codemirror-themes", | ||
"version": "4.14.1", | ||
"version": "4.14.2", | ||
"description": "Themes for CodeMirror.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://uiwjs.github.io/react-codemirror/#/theme/doc", |
@@ -206,3 +206,3 @@ # Custom Codemirror Themes | ||
<a href="https://uiwjs.github.io/react-codemirror/#/theme/data/xcode/dark"> | ||
<img width="436" alt="codemirror-theme-xcode dark" src="https://user-images.githubusercontent.com/1680273/177074703-4c5c6be0-e287-45ac-b6cc-db1568276e73.png"> | ||
<img width="436" alt="codemirror-theme-xcode dark" src="https://user-images.githubusercontent.com/1680273/202441061-48b89163-04b9-47a1-9d2c-1608a2d21f51.png"> | ||
</a> | ||
@@ -209,0 +209,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
31656