Skip to content

Commit 9b03de5

Browse files
authored
Add theme and codeEditor to the configuration example (#258)
1 parent 7c7918e commit 9b03de5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/user-guide/runtime/configuration.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,14 @@ The theme of the editor can be changed by using the following settings object. A
213213
},
214214
projects: {
215215
enabled: false // Enable the projects feature
216+
},
217+
theme: "", // Select a color theme for the editor. See https://github.com/node-red-contrib-themes/theme-collection for a collection of themes to choose from
218+
codeEditor: {
219+
lib: "ace", // Select the text editor component used by the editor. Defaults to "ace", but can be set to "ace" or "monaco"
220+
options: {
221+
// The following only apply if the editor is set to "monaco"
222+
theme: "vs", // Select a color theme for the text editor component. Must match the file name of a theme in packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
223+
}
216224
}
217225
},
218226

0 commit comments

Comments
 (0)