mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -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',
|
||||
inherit: true,
|
||||
rules: [],
|
||||
|
@ -66,7 +66,7 @@ export default mixins(genericHelpers).extend({
|
|||
'editor.background': '#f5f2f0',
|
||||
},
|
||||
});
|
||||
monaco.editor.setTheme('myTheme');
|
||||
monaco.editor.setTheme('n8nCustomTheme');
|
||||
|
||||
this.monacoInstance.onDidChangeModelContent(() => {
|
||||
const model = this.monacoInstance!.getModel();
|
||||
|
|
Loading…
Reference in a new issue