diff --git a/public/img/preview/anarcandy.png b/public/img/preview/anarcandy.png new file mode 100644 index 0000000..2164a7f Binary files /dev/null and b/public/img/preview/anarcandy.png differ diff --git a/public/pieces/anarcandy/bb.svg b/public/pieces/anarcandy/bb.svg new file mode 100644 index 0000000..7f0cd22 --- /dev/null +++ b/public/pieces/anarcandy/bb.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/pieces/anarcandy/bw.svg b/public/pieces/anarcandy/bw.svg new file mode 100644 index 0000000..be5f57c --- /dev/null +++ b/public/pieces/anarcandy/bw.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/public/pieces/anarcandy/kb.svg b/public/pieces/anarcandy/kb.svg new file mode 100644 index 0000000..8d3a8bc --- /dev/null +++ b/public/pieces/anarcandy/kb.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/public/pieces/anarcandy/kw.svg b/public/pieces/anarcandy/kw.svg new file mode 100644 index 0000000..53cf0c8 --- /dev/null +++ b/public/pieces/anarcandy/kw.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/public/pieces/anarcandy/nb.svg b/public/pieces/anarcandy/nb.svg new file mode 100644 index 0000000..e9891ce --- /dev/null +++ b/public/pieces/anarcandy/nb.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/pieces/anarcandy/nw.svg b/public/pieces/anarcandy/nw.svg new file mode 100644 index 0000000..076fec0 --- /dev/null +++ b/public/pieces/anarcandy/nw.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/public/pieces/anarcandy/pb.svg b/public/pieces/anarcandy/pb.svg new file mode 100644 index 0000000..1aebdd2 --- /dev/null +++ b/public/pieces/anarcandy/pb.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/pieces/anarcandy/pw.svg b/public/pieces/anarcandy/pw.svg new file mode 100644 index 0000000..8679bce --- /dev/null +++ b/public/pieces/anarcandy/pw.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/pieces/anarcandy/qb.svg b/public/pieces/anarcandy/qb.svg new file mode 100644 index 0000000..0e00c34 --- /dev/null +++ b/public/pieces/anarcandy/qb.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/public/pieces/anarcandy/qw.svg b/public/pieces/anarcandy/qw.svg new file mode 100644 index 0000000..094898a --- /dev/null +++ b/public/pieces/anarcandy/qw.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/public/pieces/anarcandy/rb.svg b/public/pieces/anarcandy/rb.svg new file mode 100644 index 0000000..5bfab31 --- /dev/null +++ b/public/pieces/anarcandy/rb.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/public/pieces/anarcandy/rw.svg b/public/pieces/anarcandy/rw.svg new file mode 100644 index 0000000..c1c741c --- /dev/null +++ b/public/pieces/anarcandy/rw.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/stylus/chesscom/anarchy-candy.css b/public/stylus/chesscom/anarchy-candy.user.css similarity index 91% rename from stylus/chesscom/anarchy-candy.css rename to public/stylus/chesscom/anarchy-candy.user.css index 0ce8b7c..32887a6 100644 --- a/stylus/chesscom/anarchy-candy.css +++ b/public/stylus/chesscom/anarchy-candy.user.css @@ -1,3 +1,11 @@ +/* ==UserStyle== +@name Anarchy Candy chess set +@namespace chess.com +@version 1.0.0 +@description Chess set for chess.com +@author Maciej Caderek +==/UserStyle== */ + @-moz-document domain("chess.com") { .piece.bb, .promotion-piece.bb { diff --git a/stylus/chesscom/anarchy-sepia.css b/public/stylus/chesscom/anarchy-sepia.user.css similarity index 91% rename from stylus/chesscom/anarchy-sepia.css rename to public/stylus/chesscom/anarchy-sepia.user.css index b018d85..c139668 100644 --- a/stylus/chesscom/anarchy-sepia.css +++ b/public/stylus/chesscom/anarchy-sepia.user.css @@ -1,3 +1,11 @@ +/* ==UserStyle== +@name Anarchy Sepia chess set +@namespace chess.com +@version 1.0.0 +@description Chess set for chess.com +@author Maciej Caderek +==/UserStyle== */ + @-moz-document domain("chess.com") { .piece.bb, .promotion-piece.bb { diff --git a/stylus/chesscom/anarchy.css b/public/stylus/chesscom/anarchy.user.css similarity index 91% rename from stylus/chesscom/anarchy.css rename to public/stylus/chesscom/anarchy.user.css index 130a36a..2cff940 100644 --- a/stylus/chesscom/anarchy.css +++ b/public/stylus/chesscom/anarchy.user.css @@ -1,3 +1,11 @@ +/* ==UserStyle== +@name Anarchy chess set +@namespace chess.com +@version 1.0.0 +@description Chess set for chess.com +@author Maciej Caderek +==/UserStyle== */ + @-moz-document domain("chess.com") { .piece.bb, .promotion-piece.bb { diff --git a/src/board/styles-pieces/piecesStyles.ts b/src/board/styles-pieces/piecesStyles.ts index ec63907..8ec90a5 100644 --- a/src/board/styles-pieces/piecesStyles.ts +++ b/src/board/styles-pieces/piecesStyles.ts @@ -2,6 +2,7 @@ const piecesStyles = [ "adventurer", "alfonso_x", "alpha", + // "anarcandy", "anarchy", "anarchy_candy", "anarchy_sepia",