0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-30 07:38:12 +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

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