mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Fix theme name
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user