Added stylesheets generation for lichess boards

This commit is contained in:
Maciej Caderek
2022-05-03 05:34:39 +02:00
parent 2c5341a6b5
commit 00b6f63b0c
266 changed files with 1942 additions and 470 deletions

17
scripts/utils/pieces.ts Normal file
View File

@@ -0,0 +1,17 @@
const piecesNames = {
p: "pawn",
b: "bishop",
r: "rook",
n: "knight",
q: "queen",
k: "king",
};
const piecesColors = {
b: "black",
w: "white",
};
const pieces = { colors: piecesColors, names: piecesNames };
export default pieces;