This commit is contained in:
Maciej Caderek
2022-02-09 16:28:36 +01:00
parent 4785b61644
commit 20f415d70c
17 changed files with 343 additions and 47 deletions

View File

@@ -50,9 +50,17 @@ export type MoveIndicator =
| { type: "hueShift"; data: number }
| { type: "color"; data: string };
export type StyleCategory =
| "mono"
| "colorful"
| "gradient"
| "material"
| "pic"
| "custom";
export type Style = {
name: string;
category: "mono" | "colorful" | "gradient" | "material" | "pic" | "custom";
category: StyleCategory;
background: SquareStyle;
light: SquareStyle;
dark: SquareStyle;
@@ -97,6 +105,7 @@ export type PiecesStyle =
export type BoardConfig = {
size: number;
tiles: number;
boardStyle: Style;
piecesStyle: PiecesStyle;
showBorder: boolean;