diff --git a/app/package.json b/app/package.json index 81027f7a8..39758862d 100644 --- a/app/package.json +++ b/app/package.json @@ -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" } -} \ No newline at end of file +} diff --git a/app/yarn.lock b/app/yarn.lock index 22a12a134..341eeb5dc 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -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" diff --git a/build/build.sh b/build/build.sh index 7ac52a232..6ea63e000 100755 --- a/build/build.sh +++ b/build/build.sh @@ -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" )