mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-28 03:38:11 +00:00
default cm5 theme back
This commit is contained in:
@@ -9,7 +9,9 @@
|
||||
background : white;
|
||||
.codeEditor {
|
||||
height : calc(100% - 25px);
|
||||
.cm-editor { height : 100%; }
|
||||
.cm-editor { height : 100%;
|
||||
outline:none !important;
|
||||
}
|
||||
&.brewSnippets .cm-snippetLine {
|
||||
background : #33333328;
|
||||
border-top : #333399 solid 1px;
|
||||
|
||||
@@ -24,7 +24,10 @@ const ThemeSnippets = {
|
||||
};
|
||||
|
||||
//import EditorThemes from '../../../../build/homebrew/codeMirror/editorThemes.json';
|
||||
import * as themes from '@uiw/codemirror-themes-all';
|
||||
import * as themesImport from '@uiw/codemirror-themes-all';
|
||||
import { defaultCM5Theme } from '@themes/codeMirror/customThemes/default.js';
|
||||
|
||||
const themes = { default: defaultCM5Theme, ...themesImport };
|
||||
|
||||
const EditorThemes = Object.entries(themes)
|
||||
.filter(([name, value]) =>
|
||||
|
||||
Reference in New Issue
Block a user