Skip to content

Commit

Permalink
fix: tailwind conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
TN1ck committed Jul 25, 2024
1 parent 2f64f48 commit 4b421ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pages/Game/Sudoku/Sudoku.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4b421ce

Please sign in to comment.