Added stylesheets generation for lichess boards
This commit is contained in:
17
scripts/utils/pieces.ts
Normal file
17
scripts/utils/pieces.ts
Normal 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;
|
||||
Reference in New Issue
Block a user