From b7561d0c3295f6ac01e51aea2f27dc5170cdece6 Mon Sep 17 00:00:00 2001 From: neverRare Date: Wed, 12 Apr 2023 16:45:20 +0800 Subject: [PATCH] Add Kiwen Suwi --- COPYING.md | 1 + src/settings.ts | 1 + src/styl/chessground-piece.styl | 35 ++++++++++++++++++++++++++++- src/styl/settings.styl | 4 ++++ www/images/pieces/kiwen-suwi/bB.svg | 28 +++++++++++++++++++++++ www/images/pieces/kiwen-suwi/bK.svg | 28 +++++++++++++++++++++++ www/images/pieces/kiwen-suwi/bN.svg | 24 ++++++++++++++++++++ www/images/pieces/kiwen-suwi/bP.svg | 28 +++++++++++++++++++++++ www/images/pieces/kiwen-suwi/bQ.svg | 24 ++++++++++++++++++++ www/images/pieces/kiwen-suwi/bR.svg | 28 +++++++++++++++++++++++ www/images/pieces/kiwen-suwi/wB.svg | 29 ++++++++++++++++++++++++ www/images/pieces/kiwen-suwi/wK.svg | 32 ++++++++++++++++++++++++++ www/images/pieces/kiwen-suwi/wN.svg | 34 ++++++++++++++++++++++++++++ www/images/pieces/kiwen-suwi/wP.svg | 32 ++++++++++++++++++++++++++ www/images/pieces/kiwen-suwi/wQ.svg | 28 +++++++++++++++++++++++ www/images/pieces/kiwen-suwi/wR.svg | 29 ++++++++++++++++++++++++ 16 files changed, 384 insertions(+), 1 deletion(-) create mode 100644 www/images/pieces/kiwen-suwi/bB.svg create mode 100644 www/images/pieces/kiwen-suwi/bK.svg create mode 100644 www/images/pieces/kiwen-suwi/bN.svg create mode 100644 www/images/pieces/kiwen-suwi/bP.svg create mode 100644 www/images/pieces/kiwen-suwi/bQ.svg create mode 100644 www/images/pieces/kiwen-suwi/bR.svg create mode 100644 www/images/pieces/kiwen-suwi/wB.svg create mode 100644 www/images/pieces/kiwen-suwi/wK.svg create mode 100644 www/images/pieces/kiwen-suwi/wN.svg create mode 100644 www/images/pieces/kiwen-suwi/wP.svg create mode 100644 www/images/pieces/kiwen-suwi/wQ.svg create mode 100644 www/images/pieces/kiwen-suwi/wR.svg diff --git a/COPYING.md b/COPYING.md index 12a18e9a40..091d4c009a 100644 --- a/COPYING.md +++ b/COPYING.md @@ -48,6 +48,7 @@ www/images/pieces/libra | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC- www/images/pieces/california | [Jerry S.](https://sites.google.com/view/jerrychess/home) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) www/images/pieces/horsey | cham, michael1241 | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) www/images/pieces/anarcandy | [caderek](https://github.com/caderek) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) +www/images/pieces/kiwen-suwi | [neverRare](https://github.com/neverRare) | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) Exceptions (non-free) --------------------- diff --git a/src/settings.ts b/src/settings.ts index 83557d739c..58d517b008 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -113,6 +113,7 @@ export default { ['letter' ], ['horsey'], ['anarcandy'], + ['kiwen-suwi', 'Kiwen Suwi'], ], background: prop('bgTheme', 'dark'), board: prop('theme.board', 'brown'), diff --git a/src/styl/chessground-piece.styl b/src/styl/chessground-piece.styl index 799f9a79a5..9170a5fba4 100644 --- a/src/styl/chessground-piece.styl +++ b/src/styl/chessground-piece.styl @@ -986,4 +986,37 @@ &.white background-image url('../../images/pieces/anarcandy/wK.svg') &.black - background-image url('../../images/pieces/anarcandy/bK.svg') \ No newline at end of file + background-image url('../../images/pieces/anarcandy/bK.svg') + +/* Kiwen Suwi */ +.kiwen-suwi piece + &.pawn + &.white + background-image url('../../images/pieces/kiwen-suwi/wP.svg') + &.black + background-image url('../../images/pieces/kiwen-suwi/bP.svg') + &.bishop + &.white + background-image url('../../images/pieces/kiwen-suwi/wB.svg') + &.black + background-image url('../../images/pieces/kiwen-suwi/bB.svg') + &.knight + &.white + background-image url('../../images/pieces/kiwen-suwi/wN.svg') + &.black + background-image url('../../images/pieces/kiwen-suwi/bN.svg') + &.rook + &.white + background-image url('../../images/pieces/kiwen-suwi/wR.svg') + &.black + background-image url('../../images/pieces/kiwen-suwi/bR.svg') + &.queen + &.white + background-image url('../../images/pieces/kiwen-suwi/wQ.svg') + &.black + background-image url('../../images/pieces/kiwen-suwi/bQ.svg') + &.king + &.white + background-image url('../../images/pieces/kiwen-suwi/wK.svg') + &.black + background-image url('../../images/pieces/kiwen-suwi/bK.svg') diff --git a/src/styl/settings.styl b/src/styl/settings.styl index 58f48aada7..9b3aa2b0cd 100644 --- a/src/styl/settings.styl +++ b/src/styl/settings.styl @@ -287,3 +287,7 @@ background-image url('../../images/pieces/anarcandy/wN.svg') @media only screen and (min-width 600px) background-image url('../../images/pieces/anarcandy/wP.svg'),url('../../images/pieces/anarcandy/wN.svg'),url('../../images/pieces/anarcandy/wB.svg'),url('../../images/pieces/anarcandy/wR.svg'),url('../../images/pieces/anarcandy/wQ.svg'),url('../../images/pieces/anarcandy/wK.svg') + &.kiwen-suwi + background-image url('../../images/pieces/kiwen-suwi/wN.svg') + @media only screen and (min-width 600px) + background-image url('../../images/pieces/kiwen-suwi/wP.svg'),url('../../images/pieces/kiwen-suwi/wN.svg'),url('../../images/pieces/kiwen-suwi/wB.svg'),url('../../images/pieces/kiwen-suwi/wR.svg'),url('../../images/pieces/kiwen-suwi/wQ.svg'),url('../../images/pieces/kiwen-suwi/wK.svg') diff --git a/www/images/pieces/kiwen-suwi/bB.svg b/www/images/pieces/kiwen-suwi/bB.svg new file mode 100644 index 0000000000..929f0c6a7b --- /dev/null +++ b/www/images/pieces/kiwen-suwi/bB.svg @@ -0,0 +1,28 @@ + + diff --git a/www/images/pieces/kiwen-suwi/bK.svg b/www/images/pieces/kiwen-suwi/bK.svg new file mode 100644 index 0000000000..21fc9a5d09 --- /dev/null +++ b/www/images/pieces/kiwen-suwi/bK.svg @@ -0,0 +1,28 @@ + + diff --git a/www/images/pieces/kiwen-suwi/bN.svg b/www/images/pieces/kiwen-suwi/bN.svg new file mode 100644 index 0000000000..8c3415164f --- /dev/null +++ b/www/images/pieces/kiwen-suwi/bN.svg @@ -0,0 +1,24 @@ + + diff --git a/www/images/pieces/kiwen-suwi/bP.svg b/www/images/pieces/kiwen-suwi/bP.svg new file mode 100644 index 0000000000..7f9c9b4a0f --- /dev/null +++ b/www/images/pieces/kiwen-suwi/bP.svg @@ -0,0 +1,28 @@ + + diff --git a/www/images/pieces/kiwen-suwi/bQ.svg b/www/images/pieces/kiwen-suwi/bQ.svg new file mode 100644 index 0000000000..03362d4aa7 --- /dev/null +++ b/www/images/pieces/kiwen-suwi/bQ.svg @@ -0,0 +1,24 @@ + + diff --git a/www/images/pieces/kiwen-suwi/bR.svg b/www/images/pieces/kiwen-suwi/bR.svg new file mode 100644 index 0000000000..f6794926c0 --- /dev/null +++ b/www/images/pieces/kiwen-suwi/bR.svg @@ -0,0 +1,28 @@ + + diff --git a/www/images/pieces/kiwen-suwi/wB.svg b/www/images/pieces/kiwen-suwi/wB.svg new file mode 100644 index 0000000000..46c324c5d3 --- /dev/null +++ b/www/images/pieces/kiwen-suwi/wB.svg @@ -0,0 +1,29 @@ + + diff --git a/www/images/pieces/kiwen-suwi/wK.svg b/www/images/pieces/kiwen-suwi/wK.svg new file mode 100644 index 0000000000..b292bef410 --- /dev/null +++ b/www/images/pieces/kiwen-suwi/wK.svg @@ -0,0 +1,32 @@ + + diff --git a/www/images/pieces/kiwen-suwi/wN.svg b/www/images/pieces/kiwen-suwi/wN.svg new file mode 100644 index 0000000000..c29a961cfe --- /dev/null +++ b/www/images/pieces/kiwen-suwi/wN.svg @@ -0,0 +1,34 @@ + + diff --git a/www/images/pieces/kiwen-suwi/wP.svg b/www/images/pieces/kiwen-suwi/wP.svg new file mode 100644 index 0000000000..ce21800730 --- /dev/null +++ b/www/images/pieces/kiwen-suwi/wP.svg @@ -0,0 +1,32 @@ + + diff --git a/www/images/pieces/kiwen-suwi/wQ.svg b/www/images/pieces/kiwen-suwi/wQ.svg new file mode 100644 index 0000000000..73a1144402 --- /dev/null +++ b/www/images/pieces/kiwen-suwi/wQ.svg @@ -0,0 +1,28 @@ + + diff --git a/www/images/pieces/kiwen-suwi/wR.svg b/www/images/pieces/kiwen-suwi/wR.svg new file mode 100644 index 0000000000..cd119baf9a --- /dev/null +++ b/www/images/pieces/kiwen-suwi/wR.svg @@ -0,0 +1,29 @@ + +