Created Design: Editor Themes (markdown)

Nick O'Leary 2015-04-13 15:29:59 +01:00
parent 16ceeb307f
commit 1b4b26bb6f
1 changed files with 39 additions and 0 deletions

39
Design:-Editor-Themes.md Normal file

@ -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
}
},