minor style tweaks
This commit is contained in:
parent
5c6c5c9608
commit
92dc50e348
4 changed files with 13 additions and 9 deletions
9
packages/react/dist/index.es.js
vendored
9
packages/react/dist/index.es.js
vendored
|
|
@ -26,7 +26,7 @@ const ivory = '#abb2bf',
|
|||
// background = '#292d3e',
|
||||
background = 'transparent',
|
||||
tooltipBackground = '#353a42',
|
||||
selection = 'rgba(128, 203, 196, 0.2)',
|
||||
selection = 'rgba(128, 203, 196, 0.5)',
|
||||
cursor = '#ffcc00';
|
||||
|
||||
/// The editor theme styles for Material Palenight.
|
||||
|
|
@ -50,7 +50,8 @@ const materialPalenightTheme = EditorView.theme(
|
|||
},
|
||||
// done
|
||||
'&.cm-focused .cm-cursor': {
|
||||
borderLeftColor: cursor,
|
||||
backgroundColor: cursor,
|
||||
width: '3px',
|
||||
},
|
||||
|
||||
'&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {
|
||||
|
|
@ -80,7 +81,7 @@ const materialPalenightTheme = EditorView.theme(
|
|||
|
||||
// done
|
||||
'.cm-gutters': {
|
||||
background: '#2C323699',
|
||||
background: 'transparent',
|
||||
color: '#676e95',
|
||||
border: 'none',
|
||||
},
|
||||
|
|
@ -490,6 +491,8 @@ function useHighlighting({ view, pattern, active }) {
|
|||
|
||||
var tailwind = '';
|
||||
|
||||
var style = '';
|
||||
|
||||
const container = "_container_10e1g_1";
|
||||
const header = "_header_10e1g_5";
|
||||
const buttons = "_buttons_10e1g_9";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue