Added script to create user styles for Stylus + generated stylesheets for pieces
This commit is contained in:
15
scripts/utils/pieces.js
Normal file
15
scripts/utils/pieces.js
Normal 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 };
|
||||
Reference in New Issue
Block a user