Skip to content

Commit

Permalink
Merge branch 'isaacphi-add-california-set'
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed Jan 17, 2021
2 parents 19bdefe + c8dec57 commit 8de1e70
Show file tree
Hide file tree
Showing 16 changed files with 52 additions and 1 deletion.
1 change: 1 addition & 0 deletions COPYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
---------------------
Expand Down
3 changes: 2 additions & 1 deletion src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,14 @@ export default {
['chessnut' ],
['chess7' ],
['alpha' ],
['spatial' ],
['reilly' ],
['companion' ],
['riohacha' ],
['kosal' ],
['leipzig' ],
['fantasy' ],
['spatial' ],
['california'],
['pixel'],
['maestro'],
['fresca'],
Expand Down
33 changes: 33 additions & 0 deletions src/styl/chessground-piece.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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')
4 changes: 4 additions & 0 deletions src/styl/settings.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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')
1 change: 1 addition & 0 deletions www/images/pieces/california/bB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions www/images/pieces/california/bK.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions www/images/pieces/california/bN.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions www/images/pieces/california/bP.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8de1e70

Please sign in to comment.