Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (8 sloc) 524 Bytes
#!/bin/bash
BUILD_DIR=`cd ${0%/*} && pwd -P`
THEMES_DIR=$BUILD_DIR/addon_files/redmatic/lib/node-red-themes
echo "update theme bonanitech/midnight-red"
mkdir -p $THEMES_DIR/midnight-red
curl --location --silent --show-error -o $THEMES_DIR/midnight-red/midnight.css https://raw.githubusercontent.com/rdmtc/midnight-red/master/midnight.css
curl --location --silent --show-error -o $THEMES_DIR/midnight-red/theme-tomorrow.js https://raw.githubusercontent.com/rdmtc/midnight-red/master/theme-tomorrow.js
git add $THEMES_DIR
You can’t perform that action at this time.