From 1b4b26bb6f6152c42b499d7bd2c33d6223eaf166 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 13 Apr 2015 15:29:59 +0100 Subject: [PATCH] Created Design: Editor Themes (markdown) --- Design:-Editor-Themes.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Design:-Editor-Themes.md diff --git a/Design:-Editor-Themes.md b/Design:-Editor-Themes.md new file mode 100644 index 0000000..553d50a --- /dev/null +++ b/Design:-Editor-Themes.md @@ -0,0 +1,39 @@ +See also [issue #610](https://github.com/node-red/node-red/issues/610) + + editorTheme: { + page: { + title: "Node-RED", + favicon: "/absolute/path/to/theme/icon", + css: "/absolute/path/to/custom/css/file" + }, + header: { + title: "Node-RED", + image: "/absolute/path/to/header/image" // or null to remove image + }, + + deployButton: { + type:"simple", + label:"Save", + icon: "/absolute/path/to/deploy/button/image" // or null to remove image + }, + + menu: { // Hide unwanted menu items by id. see editor/js/main.js:loadEditor for complete list + "btn-import-library": false, + "btn-export-library": false, + "btn-keyboard-shortcuts": false, + "btn-help": { + label: "Alternative Help Link Text", + url: "http://example.com" + } + } + + userMenu: false, // Hide the user-menu even if adminAuth is enabled + + login: { + image: "/absolute/path/to/login/page/big/image" // a 256x256 image + } + }, + + + +