Skip to content

Commit

Permalink
Added agate theme
Browse files Browse the repository at this point in the history
  • Loading branch information
billhails committed Sep 4, 2021
1 parent a40c877 commit ec62ba1
Show file tree
Hide file tree
Showing 14 changed files with 110 additions and 14 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
27 changes: 14 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions agate/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

include ../Makefile.common

# vim: noet sw=8
26 changes: 26 additions & 0 deletions agate/README.md
Original file line number Diff line number Diff line change
@@ -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/).
Binary file added agate/Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions agate/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"devDependencies": {
"asar": "^0.13.0"
},
"scripts": {
"build": "asar pack ./theme ./agate.sabakitheme.asar"
}
}
Binary file added agate/theme/images/Background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added agate/theme/images/Black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added agate/theme/images/Board.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added agate/theme/images/White.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions agate/theme/package.json
Original file line number Diff line number Diff line change
@@ -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"
}
45 changes: 45 additions & 0 deletions agate/theme/styles.css
Original file line number Diff line number Diff line change
@@ -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;
}
Binary file modified blender/SabakiThemes.blend
Binary file not shown.
Binary file added blender/previews/AgatePreview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ec62ba1

Please sign in to comment.