mirror of
https://github.com/heyman/heynote.git
synced 2024-12-23 23:28:58 +01:00
Tweak colors of dark theme
This commit is contained in:
parent
51bb893836
commit
74bb800a4a
@ -41,7 +41,8 @@ const nordTheme = /*@__PURE__*/EditorView.theme({
|
|||||||
backgroundColor: background
|
backgroundColor: background
|
||||||
},
|
},
|
||||||
'.cm-content': {
|
'.cm-content': {
|
||||||
caretColor: cursor
|
caretColor: cursor,
|
||||||
|
paddingTop: 0,
|
||||||
},
|
},
|
||||||
'.cm-cursor, .cm-dropCursor': { borderLeftColor: cursor, borderLeftWidth:'2px', height:'19px !important', marginTop:'-2px !important' },
|
'.cm-cursor, .cm-dropCursor': { borderLeftColor: cursor, borderLeftWidth:'2px', height:'19px !important', marginTop:'-2px !important' },
|
||||||
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: selection },
|
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': { backgroundColor: selection },
|
||||||
@ -74,12 +75,13 @@ const nordTheme = /*@__PURE__*/EditorView.theme({
|
|||||||
'.cm-gutters': {
|
'.cm-gutters': {
|
||||||
//backgroundColor: base00,
|
//backgroundColor: base00,
|
||||||
backgroundColor: 'rgba(0,0,0, 0.1)',
|
backgroundColor: 'rgba(0,0,0, 0.1)',
|
||||||
|
//backgroundColor: 'transparent',
|
||||||
color: lineNumberColor,
|
color: lineNumberColor,
|
||||||
border: 'none'
|
border: 'none'
|
||||||
},
|
},
|
||||||
'.cm-activeLineGutter': {
|
'.cm-activeLineGutter': {
|
||||||
backgroundColor: highlightBackground,
|
backgroundColor: "transparent",
|
||||||
color: base04
|
color: 'rgba(255,255,255, 0.6)'
|
||||||
},
|
},
|
||||||
'.cm-foldPlaceholder': {
|
'.cm-foldPlaceholder': {
|
||||||
backgroundColor: 'transparent',
|
backgroundColor: 'transparent',
|
||||||
|
Loading…
Reference in New Issue
Block a user