feat: complete advanced Sudoku workbench
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type { EntryMode } from "../state/session";
|
||||
import { symbolFor } from "../state/session";
|
||||
import { colorMarkDescription } from "../state/uiPreferences";
|
||||
|
||||
const modes: Array<{ mode: EntryMode; label: string; key: string }> = [
|
||||
{ mode: "value", label: "Value", key: "Z" },
|
||||
@@ -56,7 +57,9 @@ export function NumberPad({
|
||||
{mode === "color" ? (
|
||||
<>
|
||||
<span aria-hidden="true" />{" "}
|
||||
<span className="sr-only">Colour {value}</span>
|
||||
<span className="sr-only">
|
||||
Colour {value}: {colorMarkDescription(value)}
|
||||
</span>
|
||||
</>
|
||||
) : (
|
||||
symbolFor(value, size)
|
||||
|
||||
Reference in New Issue
Block a user