You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/ui/themes/index.md
+23-4
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,10 @@ The appearance of the editor can be customised using themes. Themes are packaged
12
12
and installed as Node-RED plugins, and then selected via the `editorTheme.theme`
13
13
property in the settings file.
14
14
15
-
-[Creating theme CSS](#creating-theme-css)
16
-
-[Packaging as a Theme Plugin](#packaging-as-a-theme-plugin)
17
-
-[Theming the Monaco editor](#theming-the-monaco-editor)
15
+
-[Creating theme CSS](#creating-theme-css)
16
+
-[Packaging as a Theme Plugin](#packaging-as-a-theme-plugin)
17
+
-[Theming the Monaco editor](#theming-the-monaco-editor)
18
+
-[Theming the Mermaid diagrams](#theming-the-mermaid-diagrams)
18
19
19
20
### Creating theme CSS
20
21
@@ -130,7 +131,7 @@ Monaco editor options including what theme it should use.
130
131
131
132
#### Setting the Monaco theme by name
132
133
133
-
Monaco comes with a number of built-in themes available. The full list is [here](https://github.com/node-red/node-red/tree/master/packages/node_modules/%40node-red/editor-client/src/vendor/monaco/dist/theme). Additional settings for Monaco options can be found [here](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IStandaloneEditorConstructionOptions.html).
134
+
Monaco comes with a number of built-in themes available. The full list is [here](https://github.com/node-red/node-red/tree/master/packages/node_modules/%40node-red/editor-client/src/vendor/monaco/dist/theme). Additional settings for Monaco options can be found [here](https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IStandaloneEditorConstructionOptions.html).
134
135
135
136
The name of the theme can be provided in the plugin settings:
Copy file name to clipboardExpand all lines: docs/user-guide/runtime/configuration.md
+3
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,9 @@ The theme of the editor can be changed by using the following settings object. A
237
237
// The following only apply if the editor is set to "monaco"
238
238
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
239
239
}
240
+
},
241
+
mermaid: {
242
+
theme: "default" // Select a color theme for the Mermaid diagramming and charting tool. Must match the name of a theme in https://mermaid.js.org/config/theming.html#available-themes
0 commit comments