Skip to content

Commit 4649b82

Browse files
committed
fix dark mode button cursor, dark mode text color
1 parent 8eb1ec9 commit 4649b82

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/App.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,14 @@ function restartGame() {
4848
</script>
4949

5050
<svelte:window onkeypress={handleKeypress} />
51-
<main class="flex flex-col items-center text-center">
51+
<main class="flex flex-col items-center text-center text-gray-900 dark:text-gray-200">
5252
<GithubLink />
5353
<h1 class="uppercase text-7xl text-svelte-red font-thin my-12">Snake</h1>
5454
<div class="flex flex-col items-start">
5555
<div class="flex justify-between text-3xl w-full">
5656
<span><Score current={gameState.score} /></span>
5757
<button
58+
class="cursor-pointer"
5859
onclick={() => {
5960
darkMode = !darkMode;
6061
updateAppearance(darkMode);

0 commit comments

Comments
 (0)