diff --git a/Makefile b/Makefile index 9e5db47..9bbd894 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ .PHONY: doit -all: yunzi yunzi-hard antique antique-hard basic bathroom jade jade-hard sakura shell-slate shell-slate-hard yunzi yunzi-hard +all: yunzi yunzi-hard agate antique antique-hard basic bathroom jade jade-hard sakura shell-slate shell-slate-hard yunzi yunzi-hard + +agate: doit + $(MAKE) -C $@ NAME=$@ antique: doit $(MAKE) -C $@ NAME=$@-soft diff --git a/README.md b/README.md index 8a4ec10..50cc3ca 100644 --- a/README.md +++ b/README.md @@ -9,19 +9,20 @@ under 'Preferences' > 'Themes' > 'Install Theme...'. ## Screenshots -| Theme | Screenshot | -| -------------------------------------------- | ---------------------------------------------- | -| [antique](antique) | ![Screenshot](antique/Screenshot.jpg) | -| [antique](antique-hard) (hard light) | ![Screenshot](antique-hard/Screenshot.jpg) | -| [basic](basic) | ![Screenshot](basic/Screenshot.jpg) | -| [bathroom](bathroom) | ![Screenshot](bathroom/Screenshot.jpg) | -| [jade](jade) | ![Screenshot](jade/Screenshot.jpg) | -| [jade](jade-hard) (hard light) | ![Screenshot](jade-hard/Screenshot.jpg) | -| [sakura](sakura) | ![Screenshot](sakura/Screenshot.jpg) | -| [shell-slate](shell-slate) | ![Screenshot](shell-slate/Screenshot.jpg) | -| [shell-slate](shell-slate-hard) (hard light) | ![Screenshot](shell-slate-hard/Screenshot.jpg) | -| [yunzi](yunzi) | ![Screenshot](yunzi/Screenshot.jpg) | -| [yunzi](yunzi-hard) (hard light) | ![Screenshot](yunzi-hard/Screenshot.jpg) | +| Theme | Screenshot | +| -------------------------------------------------- | ---------------------------------------------- | +| [Agate](agate) | ![Screenshot](agate/Screenshot.jpg) | +| [Antique](antique) | ![Screenshot](antique/Screenshot.jpg) | +| [Antique](antique-hard) (hard light) | ![Screenshot](antique-hard/Screenshot.jpg) | +| [Basic](basic) | ![Screenshot](basic/Screenshot.jpg) | +| [Bathroom](bathroom) | ![Screenshot](bathroom/Screenshot.jpg) | +| [Jade](jade) | ![Screenshot](jade/Screenshot.jpg) | +| [Jade](jade-hard) (hard light) | ![Screenshot](jade-hard/Screenshot.jpg) | +| [Sakura](sakura) | ![Screenshot](sakura/Screenshot.jpg) | +| [Clamshell & Slate](shell-slate) | ![Screenshot](shell-slate/Screenshot.jpg) | +| [Clamshell & Slate](shell-slate-hard) (hard light) | ![Screenshot](shell-slate-hard/Screenshot.jpg) | +| [Yunzi](yunzi) | ![Screenshot](yunzi/Screenshot.jpg) | +| [Yunzi](yunzi-hard) (hard light) | ![Screenshot](yunzi-hard/Screenshot.jpg) | ## Resources diff --git a/agate/Makefile b/agate/Makefile new file mode 100644 index 0000000..d64d60f --- /dev/null +++ b/agate/Makefile @@ -0,0 +1,4 @@ + +include ../Makefile.common + +# vim: noet sw=8 diff --git a/agate/README.md b/agate/README.md new file mode 100644 index 0000000..e047c67 --- /dev/null +++ b/agate/README.md @@ -0,0 +1,26 @@ +# Agate Theme for Sabaki + +A theme with agate stones and a kaya board for [Sabaki](http://sabaki.yichuanshen.de/), +Rendered in [Blender](https://www.blender.org/). + +![Screenshot](Screenshot.jpg) + +## Installation + +[Download](https://github.com/billhails/SabakiThemes/releases) the theme file and install it directly inside Sabaki +under 'Preferences' > 'Themes' > 'Install Theme...'. + +## Build + +To create a Sabaki theme archive, install dependencies using npm, then run the build script: + +~~~ +npm install +npm run build +~~~ + +This will create `agate.sabakitheme.asar`. + +## License + +Everything is released under [public domain](http://creativecommons.org/publicdomain/zero/1.0/). diff --git a/agate/Screenshot.png b/agate/Screenshot.png new file mode 100644 index 0000000..0402c90 Binary files /dev/null and b/agate/Screenshot.png differ diff --git a/agate/package.json b/agate/package.json new file mode 100644 index 0000000..9136fd2 --- /dev/null +++ b/agate/package.json @@ -0,0 +1,8 @@ +{ + "devDependencies": { + "asar": "^0.13.0" + }, + "scripts": { + "build": "asar pack ./theme ./agate.sabakitheme.asar" + } +} diff --git a/agate/theme/images/Background.png b/agate/theme/images/Background.png new file mode 100644 index 0000000..604e61a Binary files /dev/null and b/agate/theme/images/Background.png differ diff --git a/agate/theme/images/Black.png b/agate/theme/images/Black.png new file mode 100644 index 0000000..d87a1c3 Binary files /dev/null and b/agate/theme/images/Black.png differ diff --git a/agate/theme/images/Board.png b/agate/theme/images/Board.png new file mode 100644 index 0000000..51140ab Binary files /dev/null and b/agate/theme/images/Board.png differ diff --git a/agate/theme/images/White.png b/agate/theme/images/White.png new file mode 100644 index 0000000..b90bdb8 Binary files /dev/null and b/agate/theme/images/White.png differ diff --git a/agate/theme/package.json b/agate/theme/package.json new file mode 100644 index 0000000..1893a08 --- /dev/null +++ b/agate/theme/package.json @@ -0,0 +1,9 @@ +{ + "name": "Agate", + "version": "0.1.0", + "description": "A theme with agate stones for Sabaki", + "author": "Bill Hails", + "license": "CC0-1.0", + "homepage": "https://github.com/billhails/SabakiThemes", + "main": "styles.css" +} diff --git a/agate/theme/styles.css b/agate/theme/styles.css new file mode 100644 index 0000000..bab5c82 --- /dev/null +++ b/agate/theme/styles.css @@ -0,0 +1,45 @@ +.shudan-goban { + --shudan-board-border-width: 0; + --shudan-board-foreground-color: #222; + + --shudan-black-background-color: #0E0F0E; + --shudan-black-foreground-color: #eee; + + --shudan-white-background-color: #EBEBEB; + --shudan-white-foreground-color: #666; +} + +.shudan-goban-image { + background-image: url('images/Board.png'); +} + +.shudan-stone-image.shudan-sign_1 { + background-image: url('images/Black.png'); +} + +.shudan-stone-image.shudan-sign_-1 { + background-image: url('images/White.png'); +} + +.shudan-vertex.shudan-sign_1 .shudan-shadow { + background: #392f19; + filter: drop-shadow(0.106em 0.106em 0.06em rgb(0 0 0 / 70%)); +} + +.shudan-vertex.shudan-sign_-1 .shudan-shadow { + background: #806b3f; + filter: drop-shadow(0.106em 0.106em 0.06em rgb(0 0 0 / 30%)); +} + +.shudan-vertex:not(.shudan-sign_0) .shudan-shadow { + box-shadow: 0 0 0; +} + +rect.shudan-gridline.shudan-horizontal, rect.shudan-gridline.shudan-vertical { + stroke-width: 0.02em; + stroke: var(--shudan-board-foreground-color); +} + +main { + background: #f0f0f0 url('images/Background.png') left top; +} diff --git a/blender/SabakiThemes.blend b/blender/SabakiThemes.blend index 598047e..6370ba8 100644 Binary files a/blender/SabakiThemes.blend and b/blender/SabakiThemes.blend differ diff --git a/blender/previews/AgatePreview.png b/blender/previews/AgatePreview.png new file mode 100644 index 0000000..957244b Binary files /dev/null and b/blender/previews/AgatePreview.png differ