This commit is contained in:
2025-10-06 11:01:12 +08:00
parent 6b80f4cfa8
commit 369aa7ace4
2 changed files with 3 additions and 3 deletions

View File

@@ -12,12 +12,12 @@
--font-mono: var(--font-geist-mono); --font-mono: var(--font-geist-mono);
} }
@media (prefers-color-scheme: dark) { /* @media (prefers-color-scheme: dark) {
:root { :root {
--background: #0a0a0a; --background: #0a0a0a;
--foreground: #ededed; --foreground: #ededed;
} }
} } */
body { body {
background: var(--background); background: var(--background);

View File

@@ -24,7 +24,7 @@ export default function WordBoard(
top: `${Math.floor(word.y * (BOARD_HEIGHT - TEXT_SIZE))}px`, top: `${Math.floor(word.y * (BOARD_HEIGHT - TEXT_SIZE))}px`,
fontSize: `${TEXT_SIZE}px` fontSize: `${TEXT_SIZE}px`
}} }}
className="select-none cursor-pointer absolute font-mono border-amber-100 border-1" className="select-none cursor-pointer absolute code-block border-amber-100 border-1"
// onClick={inspect(word.word)}>{word.word}</span>)) // onClick={inspect(word.word)}>{word.word}</span>))
onClick={() => { selectWord(word.word); }}>{word.word}</span>); onClick={() => { selectWord(word.word); }}>{word.word}</span>);
} }