set background to 222 + remove log
This commit is contained in:
parent
0cd82c7e57
commit
67c21c18cf
6 changed files with 15 additions and 17 deletions
|
|
@ -79,12 +79,11 @@ const highlightField = StateField.define({
|
|||
});
|
||||
|
||||
export default function CodeMirror({ value, onChange, onViewChanged, onCursor, options, editorDidMount }) {
|
||||
console.log('coodemirrrorrr', strudelTheme);
|
||||
return (
|
||||
<>
|
||||
<_CodeMirror
|
||||
value={value}
|
||||
onChange={(value, viewUpdate) => {
|
||||
onChange={(value) => {
|
||||
onChange(value);
|
||||
}}
|
||||
onCreateEditor={(view) => {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.container {
|
||||
@apply sc-rounded-md sc-overflow-hidden sc-bg-[#111111];
|
||||
@apply sc-rounded-md sc-overflow-hidden sc-bg-[#222222];
|
||||
}
|
||||
|
||||
.header {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { createTheme } from '@uiw/codemirror-themes';
|
|||
export default createTheme({
|
||||
theme: 'dark',
|
||||
settings: {
|
||||
background: '#111',
|
||||
background: '#222',
|
||||
foreground: '#75baff', // whats that?
|
||||
caret: '#ffcc00',
|
||||
selection: 'rgba(128, 203, 196, 0.5)',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue