File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ export default function TicTacToe() {
314314 }
315315
316316 return (
317- < div className = "flex flex-col items-center justify-center min-h-screen bg-white text-black p-4 sm:p-6" >
317+ < div className = "flex flex-col items-center justify-center min-h-screen bg-white text-black dark:bg-black dark:text-white p-4 sm:p-6" >
318318 < h1 className = "text-2xl sm:text-4xl font-bold mb-4 text-center" > Tic - Tac - Toe</ h1 >
319319
320320 { error && < p className = "mb-4 text-red-600" > { error } </ p > }
@@ -324,7 +324,7 @@ export default function TicTacToe() {
324324 ) }
325325
326326 { gameData && (
327- < div className = "rounded-2xl border-4 border-black p-4 sm:p-8 w-full max-w-[400px] flex flex-col items-center justify-between" >
327+ < div className = "rounded-2xl border-4 border-black dark:border-white p-4 sm:p-8 w-full max-w-[400px] flex flex-col items-center justify-between" >
328328 < div className = "grid grid-cols-3 grid-rows-3 gap-2 w-full max-w-[192px] sm:w-48 sm:h-48 aspect-square" >
329329 { board . map ( ( cell , i ) => (
330330 < button
You can’t perform that action at this time.
0 commit comments