Skip to content

Commit

Permalink
add staunty pieces from sadsnake1 - for lichess-org#5467
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Nov 12, 2019
1 parent 582188f commit d0b1f5b
Show file tree
Hide file tree
Showing 17 changed files with 333 additions and 3 deletions.
1 change: 1 addition & 0 deletions COPYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public/piece/fresca | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC-SA 4
public/piece/cardinal | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/piece/gioco | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/piece/tatiana | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/piece/staunty | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/sounds/futuristic | [Enigmahack](https://github.com/Enigmahack) | AGPLv3+
public/sounds/nes | [Enigmahack](https://github.com/Enigmahack) | AGPLv3+
public/sounds/piano | [Enigmahack](https://github.com/Enigmahack) | AGPLv3+
Expand Down
3 changes: 2 additions & 1 deletion bin/gen/piece-sprite
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ themes = [
['fresca', 'svg'],
['cardinal', 'svg'],
['gioco', 'svg'],
['tatiana', 'svg']
['tatiana', 'svg'],
['staunty', 'svg']
]
types = {
'svg' => 'svg+xml;base64,',
Expand Down
4 changes: 2 additions & 2 deletions modules/pref/src/main/PieceSet.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ object PieceSet extends PieceSetObject {
"kosal", "leipzig", "fantasy",
"spatial", "california", "pixel",
"maestro", "fresca", "cardinal",
"gioco", "tatiana", "shapes",
"letter"
"gioco", "tatiana", "staunty",
"shapes", "letter"
) map { name => new PieceSet(name) }
}

Expand Down
12 changes: 12 additions & 0 deletions public/piece-css/staunty.css

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions public/piece-css/staunty.external.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.is2d .pawn.white {background-image:url('/assets/piece/staunty/wP.svg')}
.is2d .knight.white {background-image:url('/assets/piece/staunty/wN.svg')}
.is2d .bishop.white {background-image:url('/assets/piece/staunty/wB.svg')}
.is2d .rook.white {background-image:url('/assets/piece/staunty/wR.svg')}
.is2d .queen.white {background-image:url('/assets/piece/staunty/wQ.svg')}
.is2d .king.white {background-image:url('/assets/piece/staunty/wK.svg')}
.is2d .pawn.black {background-image:url('/assets/piece/staunty/bP.svg')}
.is2d .knight.black {background-image:url('/assets/piece/staunty/bN.svg')}
.is2d .bishop.black {background-image:url('/assets/piece/staunty/bB.svg')}
.is2d .rook.black {background-image:url('/assets/piece/staunty/bR.svg')}
.is2d .queen.black {background-image:url('/assets/piece/staunty/bQ.svg')}
.is2d .king.black {background-image:url('/assets/piece/staunty/bK.svg')}
20 changes: 20 additions & 0 deletions public/piece/staunty/bB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions public/piece/staunty/bK.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions public/piece/staunty/bN.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions public/piece/staunty/bP.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions public/piece/staunty/bQ.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions public/piece/staunty/bR.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions public/piece/staunty/wB.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 d0b1f5b

Please sign in to comment.