Added script to create user styles for Stylus + generated stylesheets for pieces

This commit is contained in:
Maciej Caderek
2022-04-29 04:32:23 +02:00
parent f158bc9a9b
commit d7e77ebcd5
122 changed files with 6977 additions and 224 deletions

15
scripts/utils/pieces.js Normal file
View File

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