From 4b421ce486fbd78f136c2d690e083b2986a3b940 Mon Sep 17 00:00:00 2001 From: Tom Nick Date: Fri, 26 Jul 2024 00:27:44 +0200 Subject: [PATCH] fix: tailwind conflict --- src/components/pages/Game/Sudoku/Sudoku.styles.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/Game/Sudoku/Sudoku.styles.tsx b/src/components/pages/Game/Sudoku/Sudoku.styles.tsx index aa201b8..0e789ec 100644 --- a/src/components/pages/Game/Sudoku/Sudoku.styles.tsx +++ b/src/components/pages/Game/Sudoku/Sudoku.styles.tsx @@ -154,7 +154,7 @@ export const GridCellNumber = ({ top: `${top}%`, }} className={clsx("pointer-events-none absolute z-20 -translate-x-1/2 -translate-y-1/2 text-lg font-bold", { - "text-black": initial, + "text-black": initial && !highlight && !conflict, "text-amber-600": highlight && !conflict && !conflict, "text-teal-600": !initial && !highlight && !conflict, "text-red-600": conflict && !initial,