Switch theme palette to mint green
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 2m31s

This commit is contained in:
Kroonk
2026-05-20 17:48:10 +02:00
parent e8c1e3539d
commit ca64163899
6 changed files with 38 additions and 29 deletions

View File

@@ -147,8 +147,8 @@ export default function CorrespondenceGamePage() {
boardWidth={480}
position={fen}
boardOrientation={boardOrientation}
customDarkSquareStyle={{ backgroundColor: "#4b7399" }}
customLightSquareStyle={{ backgroundColor: "#eae9d2" }}
customDarkSquareStyle={{ backgroundColor: "#2F8F72" }}
customLightSquareStyle={{ backgroundColor: "#DFF8E8" }}
isDraggablePiece={({ piece }) =>
isPlayer && !game.winner &&
((chess.turn() === "w" && piece.startsWith("w") && isWhite) ||

View File

@@ -225,8 +225,8 @@ export default function ArchivedGame({ game }: { game: Game }) {
<div className="h-min">
<Chessboard
boardWidth={boardWidth}
customDarkSquareStyle={{ backgroundColor: "#4b7399" }}
customLightSquareStyle={{ backgroundColor: "#eae9d2" }}
customDarkSquareStyle={{ backgroundColor: "#2F8F72" }}
customLightSquareStyle={{ backgroundColor: "#DFF8E8" }}
position={navFen || actualGame.fen()}
boardOrientation={flipBoard ? "black" : "white"}
isDraggablePiece={() => false}

View File

@@ -582,8 +582,8 @@ export default function GamePage({ initialLobby }: { initialLobby: Game }) {
<Chessboard
boardWidth={boardWidth}
customDarkSquareStyle={{ backgroundColor: "#4b7399" }}
customLightSquareStyle={{ backgroundColor: "#eae9d2" }}
customDarkSquareStyle={{ backgroundColor: "#2F8F72" }}
customLightSquareStyle={{ backgroundColor: "#DFF8E8" }}
position={navFen || lobby.actualGame.fen()}
boardOrientation={lobby.side === "b" ? "black" : "white"}
isDraggablePiece={isDraggablePiece}

View File

@@ -35,8 +35,8 @@ export default function LiveGames() {
position={game.fen}
boardWidth={160}
arePiecesDraggable={false}
customDarkSquareStyle={{ backgroundColor: "#4b7399" }}
customLightSquareStyle={{ backgroundColor: "#eae9d2" }}
customDarkSquareStyle={{ backgroundColor: "#2F8F72" }}
customLightSquareStyle={{ backgroundColor: "#DFF8E8" }}
/>
<div className="px-2 py-1.5 flex flex-col gap-0.5">
<span className="text-xs font-semibold truncate">{game.black?.name}</span>

View File

@@ -58,8 +58,8 @@ export default function RecentGames({ userId }: { userId: number }) {
position={fen}
boardOrientation={myColor}
isDraggablePiece={() => false}
customDarkSquareStyle={{ backgroundColor: "#4b7399" }}
customLightSquareStyle={{ backgroundColor: "#eae9d2" }}
customDarkSquareStyle={{ backgroundColor: "#2F8F72" }}
customLightSquareStyle={{ backgroundColor: "#DFF8E8" }}
areArrowsAllowed={false}
/>
</div>