mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
⚡ Fix theme name
This commit is contained in:
parent
c62225c866
commit
cd3ea6a33f
|
@ -58,7 +58,7 @@ export default mixins(genericHelpers).extend({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
monaco.editor.defineTheme('myTheme', {
|
monaco.editor.defineTheme('n8nCustomTheme', {
|
||||||
base: 'vs',
|
base: 'vs',
|
||||||
inherit: true,
|
inherit: true,
|
||||||
rules: [],
|
rules: [],
|
||||||
|
@ -66,7 +66,7 @@ export default mixins(genericHelpers).extend({
|
||||||
'editor.background': '#f5f2f0',
|
'editor.background': '#f5f2f0',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
monaco.editor.setTheme('myTheme');
|
monaco.editor.setTheme('n8nCustomTheme');
|
||||||
|
|
||||||
this.monacoInstance.onDidChangeModelContent(() => {
|
this.monacoInstance.onDidChangeModelContent(() => {
|
||||||
const model = this.monacoInstance!.getModel();
|
const model = this.monacoInstance!.getModel();
|
||||||
|
|
Loading…
Reference in a new issue