diff --git a/COPYING.md b/COPYING.md index bfe89ccf22..6eb9635ff8 100644 --- a/COPYING.md +++ b/COPYING.md @@ -42,6 +42,7 @@ www/images/pieces/cardinal | [sadsnake1](https://github.com/sadsnake1) | [CC BY- www/images/pieces/tatiana | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) www/images/pieces/staunty | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) www/images/pieces/dubrovny | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) +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/) Exceptions (non-free) --------------------- diff --git a/src/settings.ts b/src/settings.ts index 2255eae3ba..2610cab638 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -87,13 +87,14 @@ export default { ['chessnut' ], ['chess7' ], ['alpha' ], - ['spatial' ], ['reilly' ], ['companion' ], ['riohacha' ], ['kosal' ], ['leipzig' ], ['fantasy' ], + ['spatial' ], + ['california'], ['pixel'], ['maestro'], ['fresca'], diff --git a/src/styl/chessground-piece.styl b/src/styl/chessground-piece.styl index d88c880a21..74c3a59622 100644 --- a/src/styl/chessground-piece.styl +++ b/src/styl/chessground-piece.styl @@ -794,3 +794,36 @@ background-image url('../../images/pieces/pixel/wK.svg') &.black background-image url('../../images/pieces/pixel/bK.svg') + +/* California */ +.california piece + &.pawn + &.white + background-image url('../../images/pieces/california/wP.svg') + &.black + background-image url('../../images/pieces/california/bP.svg') + &.bishop + &.white + background-image url('../../images/pieces/california/wB.svg') + &.black + background-image url('../../images/pieces/california/bB.svg') + &.knight + &.white + background-image url('../../images/pieces/california/wN.svg') + &.black + background-image url('../../images/pieces/california/bN.svg') + &.rook + &.white + background-image url('../../images/pieces/california/wR.svg') + &.black + background-image url('../../images/pieces/california/bR.svg') + &.queen + &.white + background-image url('../../images/pieces/california/wQ.svg') + &.black + background-image url('../../images/pieces/california/bQ.svg') + &.king + &.white + background-image url('../../images/pieces/california/wK.svg') + &.black + background-image url('../../images/pieces/california/bK.svg') diff --git a/src/styl/settings.styl b/src/styl/settings.styl index 2bdd7f3be4..9a052a95f4 100644 --- a/src/styl/settings.styl +++ b/src/styl/settings.styl @@ -262,3 +262,7 @@ background-image url('../../images/pieces/pixel/wN.svg') @media only screen and (min-width 600px) background-image url('../../images/pieces/pixel/wP.svg'),url('../../images/pieces/pixel/wN.svg'),url('../../images/pieces/pixel/wB.svg'),url('../../images/pieces/pixel/wR.svg'),url('../../images/pieces/pixel/wQ.svg'),url('../../images/pieces/pixel/wK.svg') + &.california + background-image url('../../images/pieces/california/wN.svg') + @media only screen and (min-width 600px) + background-image url('../../images/pieces/california/wP.svg'),url('../../images/pieces/california/wN.svg'),url('../../images/pieces/california/wB.svg'),url('../../images/pieces/california/wR.svg'),url('../../images/pieces/california/wQ.svg'),url('../../images/pieces/california/wK.svg') diff --git a/www/images/pieces/california/bB.svg b/www/images/pieces/california/bB.svg new file mode 100755 index 0000000000..fe09558b43 --- /dev/null +++ b/www/images/pieces/california/bB.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/bK.svg b/www/images/pieces/california/bK.svg new file mode 100755 index 0000000000..bc79ed21ca --- /dev/null +++ b/www/images/pieces/california/bK.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/bN.svg b/www/images/pieces/california/bN.svg new file mode 100755 index 0000000000..4b6c1e8a7f --- /dev/null +++ b/www/images/pieces/california/bN.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/bP.svg b/www/images/pieces/california/bP.svg new file mode 100755 index 0000000000..d4a1b98735 --- /dev/null +++ b/www/images/pieces/california/bP.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/bQ.svg b/www/images/pieces/california/bQ.svg new file mode 100755 index 0000000000..5dc923e522 --- /dev/null +++ b/www/images/pieces/california/bQ.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/bR.svg b/www/images/pieces/california/bR.svg new file mode 100755 index 0000000000..199b6292fa --- /dev/null +++ b/www/images/pieces/california/bR.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/wB.svg b/www/images/pieces/california/wB.svg new file mode 100755 index 0000000000..78d2f929c1 --- /dev/null +++ b/www/images/pieces/california/wB.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/wK.svg b/www/images/pieces/california/wK.svg new file mode 100755 index 0000000000..3fa1275862 --- /dev/null +++ b/www/images/pieces/california/wK.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/wN.svg b/www/images/pieces/california/wN.svg new file mode 100755 index 0000000000..ec305f8040 --- /dev/null +++ b/www/images/pieces/california/wN.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/wP.svg b/www/images/pieces/california/wP.svg new file mode 100755 index 0000000000..8e68c90f3a --- /dev/null +++ b/www/images/pieces/california/wP.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/wQ.svg b/www/images/pieces/california/wQ.svg new file mode 100755 index 0000000000..ce790c97d2 --- /dev/null +++ b/www/images/pieces/california/wQ.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/www/images/pieces/california/wR.svg b/www/images/pieces/california/wR.svg new file mode 100755 index 0000000000..a19bb5a9a9 --- /dev/null +++ b/www/images/pieces/california/wR.svg @@ -0,0 +1 @@ + \ No newline at end of file