mirror of https://github.com/node-red/node-red.git
Created Design: Editor Themes (markdown)
parent
16ceeb307f
commit
1b4b26bb6f
|
@ -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
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue