This commit is contained in:
Maciej Caderek
2022-02-10 01:14:20 +01:00
parent 20f415d70c
commit e93ac083fa
9 changed files with 176 additions and 21 deletions

View File

@@ -92,6 +92,20 @@ export type Piece =
| "nb"
| "pb";
export type BoardStyle =
| "chesscom"
| "lichess"
| "lila"
| "peach"
| "standard"
| "violet"
| "avocado"
| "calm"
| "laguna"
| "sunset"
| "rainbow"
| "rainbowLight";
export type PiecesStyle =
| "alpha"
| "cardinal"
@@ -106,7 +120,7 @@ export type PiecesStyle =
export type BoardConfig = {
size: number;
tiles: number;
boardStyle: Style;
boardStyle: BoardStyle;
piecesStyle: PiecesStyle;
showBorder: boolean;
showExtraInfo: boolean;