Skip to content

Commit

Permalink
add Fresca piece set by sadsnake - closes lichess-org#5497
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Sep 7, 2019
1 parent 6bb86ee commit 72897a6
Show file tree
Hide file tree
Showing 17 changed files with 1,773 additions and 2 deletions.
1 change: 1 addition & 0 deletions COPYING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public/piece/shapes | [flugsio](https://github.com/flugsio/chess_shapes) | [CC B
public/piece/pixel | [therealqtpi](https://twitter.com/therealqtpi) | AGPLv3+
public/piece/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/)
public/piece/maestro | [sadsnake1](https://github.com/sadsnake1) | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/piece/fresca | [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 @@ -26,7 +26,8 @@ themes = [
['kosal', 'svg'],
['pixel', 'svg'],
['california', 'svg'],
['maestro', 'svg']
['maestro', 'svg'],
['fresca', 'svg']
]
types = {
'svg' => 'svg+xml;base64,',
Expand Down
3 changes: 2 additions & 1 deletion modules/pref/src/main/PieceSet.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ object PieceSet extends PieceSetObject {
"reillycraig", "companion", "riohacha",
"kosal", "leipzig", "fantasy",
"spatial", "california", "maestro",
"pixel", "shapes", "letter"
"pixel", "fresca", "shapes",
"letter"
) map { name => new PieceSet(name) }
}

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

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions public/piece-css/fresca.external.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.is2d .pawn.white {background-image:url('/assets/piece/fresca/wP.svg')}
.is2d .knight.white {background-image:url('/assets/piece/fresca/wN.svg')}
.is2d .bishop.white {background-image:url('/assets/piece/fresca/wB.svg')}
.is2d .rook.white {background-image:url('/assets/piece/fresca/wR.svg')}
.is2d .queen.white {background-image:url('/assets/piece/fresca/wQ.svg')}
.is2d .king.white {background-image:url('/assets/piece/fresca/wK.svg')}
.is2d .pawn.black {background-image:url('/assets/piece/fresca/bP.svg')}
.is2d .knight.black {background-image:url('/assets/piece/fresca/bN.svg')}
.is2d .bishop.black {background-image:url('/assets/piece/fresca/bB.svg')}
.is2d .rook.black {background-image:url('/assets/piece/fresca/bR.svg')}
.is2d .queen.black {background-image:url('/assets/piece/fresca/bQ.svg')}
.is2d .king.black {background-image:url('/assets/piece/fresca/bK.svg')}
134 changes: 134 additions & 0 deletions public/piece/fresca/bB.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 72897a6

Please sign in to comment.