0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-28 07:58:10 +00:00

default cm5 theme back

This commit is contained in:
Víctor Losada Hernández
2026-03-27 13:13:36 +01:00
parent c0b3a1940f
commit ad9f4773b0
6 changed files with 111 additions and 5 deletions

View File

@@ -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;

View File

@@ -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]) =>