feat : add board style options UI
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import { atomWithStorage } from "jotai/utils";
|
||||
import { PIECE_SETS } from "./constants";
|
||||
|
||||
export const pieceSetAtom = atomWithStorage("pieceSet", "cburnett");
|
||||
export const pieceSetAtom = atomWithStorage<(typeof PIECE_SETS)[number]>(
|
||||
"pieceSet",
|
||||
"maestro"
|
||||
);
|
||||
export const boardHueAtom = atomWithStorage("boardHue", 0);
|
||||
|
||||
Reference in New Issue
Block a user