load dark theme

This commit is contained in:
btzr-io 2017-08-06 22:57:14 -06:00
parent 0873cb76b0
commit c4b8b0ff00
3 changed files with 20 additions and 2 deletions

View file

@ -12,6 +12,7 @@
"install": "^0.8.7",
"jayson": "^2.0.2",
"keytar": "^4.0.3",
"lbry-dark-theme": "https://github.com/btzr-io/lbry-dark-theme",
"npm": "^4.2.0",
"semver": "^5.3.0",
"tree-kill": "^1.1.0"
@ -22,4 +23,4 @@
"lbrySettings": {
"lbrynetDaemonVersion": "0.14.2"
}
}
}

View file

@ -876,6 +876,10 @@ lazy-req@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/lazy-req/-/lazy-req-2.0.0.tgz#c9450a363ecdda2e6f0c70132ad4f37f8f06f2b4"
"lbry-dark-theme@https://github.com/btzr-io/lbry-dark-theme":
version "2.0.0"
resolved "https://github.com/btzr-io/lbry-dark-theme#5ce4d2ceff67d62fde2eea307be728795b8b8c2f"
lcid@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835"

View file

@ -65,7 +65,20 @@ yarn install
node extractLocals.js
node_modules/.bin/node-sass --sourcemap=none scss/all.scss dist/themes/light.css
node_modules/.bin/webpack
cp -r dist/* "$ROOT/app/dist/"
cp -r ./dist/ "$ROOT/app"
)
####################
# DARK-THEME #
###################
(
cd "$ROOT/app/"
yarn add https://github.com/btzr-io/lbry-dark-theme --production
cd "./node_modules/lbry-dark-theme/dist/"
cp -r dark.css "$ROOT/app/dist/themes"
)