Skip to content
Permalink
Browse files

get midnight-red theme from npm

  • Loading branch information...
hobbyquaker committed Jun 16, 2019
1 parent 926de09 commit 2fce0186bff6693a7ae6344ead04d8c61ba36a14

This file was deleted.

This file was deleted.

@@ -14,6 +14,7 @@
"node-red-contrib-zigbee": "0.7.2",
"node-red-contrib-johnny-five": "1.0.0-beta.1",
"node-red-contrib-enocean": "0.7.4",
"redmatic-homekit": "2.3.3"
"redmatic-homekit": "2.3.3",
"node-red-contrib-theme-midnight-red": "1.0.0-beta.3"
}
}
@@ -380,6 +380,7 @@ $(document).ready(() => {
if (config.editorTheme.page) {
switch (config.editorTheme.page.css) {
case '/usr/local/addons/redmatic/lib/node-red-themes/midnight-red/midnight.css':
case '/usr/local/addons/redmatic/lib/node_modules/node-red-contrib-theme-midnight-red/midnight.css':
$theme.val('midnight-red');
break;
}
@@ -434,8 +435,7 @@ $(document).ready(() => {
switch ($theme.val()) {
case 'midnight-red':
config.editorTheme.page = {
css: '/usr/local/addons/redmatic/lib/node-red-themes/midnight-red/midnight.css',
scripts: '/usr/local/addons/redmatic/lib/node-red-themes/midnight-red//theme-tomorrow.js'
css: '/usr/local/addons/redmatic/lib/node_modules/node-red-contrib-theme-midnight-red/midnight.css'
};
break;

@@ -7,7 +7,8 @@ const redmaticVersion = require(__dirname + '/package.json').version;
const blacklist = [
'node-red',
'npm',
'ain2'
'ain2',
'node-red-contrib-theme-midnight-red'
];

const extraFiles = {
@@ -33,7 +33,8 @@
"node-red-contrib-rfxcom": "0.0.0 - 2.8.1",
"node-red-contrib-zigbee": "0.0.0 - 0.7.2",
"node-red-contrib-johnny-five": "0.0.0 - 1.0.0-beta.1",
"node-red-contrib-enocean": "0.0.0 - 0.7.4"
"node-red-contrib-enocean": "0.0.0 - 0.7.4",
"node-red-contrib-theme-midnight-red": "0.0.0 - next"
},
"author": "Sebastian Raff <hobbyquaker@gmail.com>",
"license": "Apache-2.0",
@@ -12,7 +12,6 @@ cd $BUILD_DIR/addon_files/redmatic/www
$BUILD_DIR/node_modules/.bin/ncu -u

cd $BUILD_DIR
./update_themes.sh
node update_package.js
node update_nodejs.js
node update_readme.js

This file was deleted.

0 comments on commit 2fce018

Please sign in to comment.
You can’t perform that action at this time.