Skip to content

Commit e9b4e8f

Browse files
committed
games: Make Battleship rendered ship text white for light mode
1 parent 2b0cac0 commit e9b4e8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ps/games/battleship/render.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function ShipGrid({
131131
);
132132
};
133133

134-
return <Table board={ships} labels={{ row: 'A-Z', col: '1-9' }} Cell={Cell} style={{ fontSize: '0.8em' }} />;
134+
return <Table board={ships} labels={{ row: 'A-Z', col: '1-9' }} Cell={Cell} style={{ fontSize: '0.8em', color: 'white' }} />;
135135
}
136136

137137
function ShipInput({ msg, filled }: { msg: string; filled?: string[] | null }): ReactElement {

0 commit comments

Comments
 (0)