aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md47
-rw-r--r--assets/apollo.svg12
-rw-r--r--assets/donsol.svg12
-rw-r--r--assets/mahou.svg2
-rw-r--r--assets/marble.svg4
-rw-r--r--assets/solitaire.svg12
-rw-r--r--assets/swiss.svg6
-rw-r--r--index.js6
-rw-r--r--npm-debug.log45
-rw-r--r--themes/apollo.thm11
10 files changed, 129 insertions, 28 deletions
diff --git a/README.md b/README.md
index e983b55..f01a8a9 100644
--- a/README.md
+++ b/README.md
@@ -1,45 +1,54 @@
# Themes
This collection of themes are meant to be used with [Ronin](https://github.com/hundredrabbits/Marabu), [Left](https://github.com/hundredrabbits/Left) and [Dotgrid](https://github.com/hundredrabbits/Dotgrid). To install a theme, simply drag the `thm` file onto the application window. You are welcome to submit your own themes to this collection!
-## [battlestation](collection/battlestation.thm)
+## [apollo](themes/apollo.thm)
+![apollo](assets/apollo.svg)
+
+## [battlestation](themes/battlestation.thm)
![battlestation](assets/battlestation.svg)
-## [berry](collection/berry.thm)
+## [blanc](themes/blanc.thm)
+![blanc](assets/blanc.svg)
+
+## [berry](themes/berry.thm)
![berry](assets/berry.svg)
-## [cina](collection/cina.thm)
+## [cina](themes/cina.thm)
![cina](assets/cina.svg)
-## [blanc](collection/blanc.thm)
-![blanc](assets/blanc.svg)
+## [commodore](themes/commodore.thm)
+![commodore](assets/commodore.svg)
+
+## [donsol](themes/donsol.thm)
+![donsol](assets/donsol.svg)
-## [gameboy](collection/gameboy.thm)
+## [gameboy](themes/gameboy.thm)
![gameboy](assets/gameboy.svg)
-## [marble](collection/marble.thm)
+## [mahou](themes/mahou.thm)
+![mahou](assets/mahou.svg)
+
+## [marble](themes/marble.thm)
![marble](assets/marble.svg)
-## [noir](collection/noir.thm)
+## [noir](themes/noir.thm)
![noir](assets/noir.svg)
-## [raspberry](collection/raspberry.thm)
+## [raspberry](themes/raspberry.thm)
![raspberry](assets/raspberry.svg)
-## [commodore](collection/commodore.thm)
-![commodore](assets/commodore.svg)
-
-## [mahou](collection/mahou.thm)
-![mahou](assets/mahou.svg)
-
-## [pale](collection/pale.thm)
+## [pale](themes/pale.thm)
![pale](assets/pale.svg)
-## [seaweed](collection/seaweed.thm)
+## [seaweed](themes/seaweed.thm)
![seaweed](assets/seaweed.svg)
-## [soyuz](collection/soyuz.thm)
+## [solitaire](themes/solitaire.thm)
+![solitaire](assets/solitaire.svg)
+
+## [soyuz](themes/soyuz.thm)
![soyuz](assets/soyuz.svg)
-## [swiss](collection/swiss.thm)
+## [swiss](themes/swiss.thm)
![swiss](assets/swiss.svg)
diff --git a/assets/apollo.svg b/assets/apollo.svg
new file mode 100644
index 0000000..195cce3
--- /dev/null
+++ b/assets/apollo.svg
@@ -0,0 +1,12 @@
+
+ <svg class="vector" width="80px" height="48px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1">
+ <rect width='80' height='48' fill='#d6ded9' rx='5' ry='5'></rect>
+ <circle cx='16' cy='16' r='8' fill='white'></circle>
+ <circle cx='32' cy='16' r='8' fill='#e47464'></circle>
+ <circle cx='48' cy='16' r='8' fill='#cccccc'></circle>
+ <circle cx='64' cy='16' r='8' fill='#000000'></circle>
+ <circle cx='16' cy='32' r='8' fill='#ffffff'></circle>
+ <circle cx='32' cy='32' r='8' fill='#5f5353'></circle>
+ <circle cx='48' cy='32' r='8' fill='#afb7b2'></circle>
+ <circle cx='64' cy='32' r='8' fill='#e47464'></circle>
+ </svg> \ No newline at end of file
diff --git a/assets/donsol.svg b/assets/donsol.svg
new file mode 100644
index 0000000..bc9a77e
--- /dev/null
+++ b/assets/donsol.svg
@@ -0,0 +1,12 @@
+
+ <svg class="vector" width="80px" height="48px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1">
+ <rect width='80' height='48' fill='#000' rx='5' ry='5'></rect>
+ <circle cx='16' cy='16' r='8' fill='white'></circle>
+ <circle cx='32' cy='16' r='8' fill='#FF0000'></circle>
+ <circle cx='48' cy='16' r='8' fill='#cccccc'></circle>
+ <circle cx='64' cy='16' r='8' fill='#a93232'></circle>
+ <circle cx='16' cy='32' r='8' fill='#ffffff'></circle>
+ <circle cx='32' cy='32' r='8' fill='#000000'></circle>
+ <circle cx='48' cy='32' r='8' fill='#333333'></circle>
+ <circle cx='64' cy='32' r='8' fill='#a93232'></circle>
+ </svg> \ No newline at end of file
diff --git a/assets/mahou.svg b/assets/mahou.svg
index 710853f..10e63e9 100644
--- a/assets/mahou.svg
+++ b/assets/mahou.svg
@@ -5,7 +5,7 @@
<circle cx='32' cy='16' r='8' fill='#5E548E'></circle>
<circle cx='48' cy='16' r='8' fill='#BE95C4'></circle>
<circle cx='64' cy='16' r='8' fill='#E0B1CB'></circle>
- <circle cx='16' cy='32' r='8' fill='#5E548E'></circle>
+ <circle cx='16' cy='32' r='8' fill='#FFFFFF'></circle>
<circle cx='32' cy='32' r='8' fill='#5E548E'></circle>
<circle cx='48' cy='32' r='8' fill='#BE95C4'></circle>
<circle cx='64' cy='32' r='8' fill='#9F86C0'></circle>
diff --git a/assets/marble.svg b/assets/marble.svg
index 863b639..48e8168 100644
--- a/assets/marble.svg
+++ b/assets/marble.svg
@@ -6,7 +6,7 @@
<circle cx='48' cy='16' r='8' fill='#A6A2A2'></circle>
<circle cx='64' cy='16' r='8' fill='#FFFCF9'></circle>
<circle cx='16' cy='32' r='8' fill='#CFD2CD'></circle>
- <circle cx='32' cy='32' r='8' fill='#CFD2CD'></circle>
+ <circle cx='32' cy='32' r='8' fill='#676164'></circle>
<circle cx='48' cy='32' r='8' fill='#A6A2A2'></circle>
- <circle cx='64' cy='32' r='8' fill='#E5E6E4'></circle>
+ <circle cx='64' cy='32' r='8' fill='#FFF'></circle>
</svg> \ No newline at end of file
diff --git a/assets/solitaire.svg b/assets/solitaire.svg
new file mode 100644
index 0000000..fa06887
--- /dev/null
+++ b/assets/solitaire.svg
@@ -0,0 +1,12 @@
+
+ <svg class="vector" width="80px" height="48px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1">
+ <rect width='80' height='48' fill='#111' rx='5' ry='5'></rect>
+ <circle cx='16' cy='16' r='8' fill='#000'></circle>
+ <circle cx='32' cy='16' r='8' fill='#f00'></circle>
+ <circle cx='48' cy='16' r='8' fill='#444'></circle>
+ <circle cx='64' cy='16' r='8' fill='#ff0000'></circle>
+ <circle cx='16' cy='32' r='8' fill='#555'></circle>
+ <circle cx='32' cy='32' r='8' fill='#000'></circle>
+ <circle cx='48' cy='32' r='8' fill='#555'></circle>
+ <circle cx='64' cy='32' r='8' fill='#91c1b5'></circle>
+ </svg> \ No newline at end of file
diff --git a/assets/swiss.svg b/assets/swiss.svg
index 2703897..da4da41 100644
--- a/assets/swiss.svg
+++ b/assets/swiss.svg
@@ -2,11 +2,11 @@
<svg class="vector" width="80px" height="48px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1">
<rect width='80' height='48' fill='#f1f2f0' rx='5' ry='5'></rect>
<circle cx='16' cy='16' r='8' fill='black'></circle>
- <circle cx='32' cy='16' r='8' fill='#bfbabe'></circle>
+ <circle cx='32' cy='16' r='8' fill='#867f86'></circle>
<circle cx='48' cy='16' r='8' fill='#a63e14'></circle>
<circle cx='64' cy='16' r='8' fill='white'></circle>
- <circle cx='16' cy='32' r='8' fill='#bfbabe'></circle>
+ <circle cx='16' cy='32' r='8' fill='#867f86'></circle>
<circle cx='32' cy='32' r='8' fill='#a63e14'></circle>
- <circle cx='48' cy='32' r='8' fill='#bfbabe'></circle>
+ <circle cx='48' cy='32' r='8' fill='#dde0da'></circle>
<circle cx='64' cy='32' r='8' fill='#a63e14'></circle>
</svg> \ No newline at end of file
diff --git a/index.js b/index.js
index 35a347a..c468384 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,5 @@
fs = require('fs');
-var normalizedPath = require("path").join(__dirname, "collection");
+var normalizedPath = require("path").join(__dirname, "themes");
var html = "# Themes\nThis collection of themes are meant to be used with [Ronin](https://github.com/hundredrabbits/Marabu), [Left](https://github.com/hundredrabbits/Left) and [Dotgrid](https://github.com/hundredrabbits/Dotgrid). To install a theme, simply drag the `thm` file onto the application window. You are welcome to submit your own themes to this collection!\n\n"
@@ -30,7 +30,7 @@ function build_svg(n,theme)
function build_theme(n,theme)
{
var name = n.split(".")[0];
- return `## [${name}](collection/${name}.thm)\n![${name}](assets/${name}.svg)\n\n`
+ return `## [${name}](themes/${name}.thm)\n![${name}](assets/${name}.svg)\n\n`
}
function is_json(text)
@@ -53,7 +53,7 @@ function generate(html)
}
require("fs").readdirSync(normalizedPath).forEach(function(file_name) {
- fs.readFile('collection/'+file_name, 'utf8', function (err,data){
+ fs.readFile('themes/'+file_name, 'utf8', function (err,data){
if(err) { return console.log(err); }
if(is_json(data)){
var theme = JSON.parse(data)
diff --git a/npm-debug.log b/npm-debug.log
new file mode 100644
index 0000000..9fcf5ca
--- /dev/null
+++ b/npm-debug.log
@@ -0,0 +1,45 @@
+0 info it worked if it ends with ok
+1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
+2 info using npm@3.10.10
+3 info using node@v6.11.4
+4 verbose run-script [ 'prestart', 'start', 'poststart' ]
+5 info lifecycle themes@1.0.0~prestart: themes@1.0.0
+6 silly lifecycle themes@1.0.0~prestart: no script for prestart, continuing
+7 info lifecycle themes@1.0.0~start: themes@1.0.0
+8 verbose lifecycle themes@1.0.0~start: unsafe-perm in lifecycle true
+9 verbose lifecycle themes@1.0.0~start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/VillaMoirai/Github/HundredRabbits/Themes/node_modules/.bin://anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/Github/Neauoire/Jiin:/opt/X11/bin:/Applications/Muse
+10 verbose lifecycle themes@1.0.0~start: CWD: /Users/VillaMoirai/Github/HundredRabbits/Themes
+11 silly lifecycle themes@1.0.0~start: Args: [ '-c', 'node .' ]
+12 silly lifecycle themes@1.0.0~start: Returned: code: 1 signal: null
+13 info lifecycle themes@1.0.0~start: Failed to exec start script
+14 verbose stack Error: themes@1.0.0 start: `node .`
+14 verbose stack Exit status 1
+14 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
+14 verbose stack at emitTwo (events.js:106:13)
+14 verbose stack at EventEmitter.emit (events.js:191:7)
+14 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
+14 verbose stack at emitTwo (events.js:106:13)
+14 verbose stack at ChildProcess.emit (events.js:191:7)
+14 verbose stack at maybeClose (internal/child_process.js:920:16)
+14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
+15 verbose pkgid themes@1.0.0
+16 verbose cwd /Users/VillaMoirai/Github/HundredRabbits/Themes
+17 error Darwin 16.7.0
+18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
+19 error node v6.11.4
+20 error npm v3.10.10
+21 error code ELIFECYCLE
+22 error themes@1.0.0 start: `node .`
+22 error Exit status 1
+23 error Failed at the themes@1.0.0 start script 'node .'.
+23 error Make sure you have the latest version of node.js and npm installed.
+23 error If you do, this is most likely a problem with the themes package,
+23 error not with npm itself.
+23 error Tell the author that this fails on your system:
+23 error node .
+23 error You can get information on how to open an issue for this project with:
+23 error npm bugs themes
+23 error Or if that isn't available, you can get their info via:
+23 error npm owner ls themes
+23 error There is likely additional logging output above.
+24 verbose exit [ 1, true ]
diff --git a/themes/apollo.thm b/themes/apollo.thm
new file mode 100644
index 0000000..db9556e
--- /dev/null
+++ b/themes/apollo.thm
@@ -0,0 +1,11 @@
+{
+ "background": "#d6ded9",
+ "f_high": "white",
+ "f_med": "#e47464",
+ "f_low": "#cccccc",
+ "f_inv": "#000000",
+ "b_high": "#ffffff",
+ "b_med": "#5f5353",
+ "b_low": "#afb7b2",
+ "b_inv": "#e47464"
+} \ No newline at end of file