We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eb1ec9 commit 4649b82Copy full SHA for 4649b82
1 file changed
src/App.svelte
@@ -48,13 +48,14 @@ function restartGame() {
48
</script>
49
50
<svelte:window onkeypress={handleKeypress} />
51
-<main class="flex flex-col items-center text-center">
+<main class="flex flex-col items-center text-center text-gray-900 dark:text-gray-200">
52
<GithubLink />
53
<h1 class="uppercase text-7xl text-svelte-red font-thin my-12">Snake</h1>
54
<div class="flex flex-col items-start">
55
<div class="flex justify-between text-3xl w-full">
56
<span><Score current={gameState.score} /></span>
57
<button
58
+ class="cursor-pointer"
59
onclick={() => {
60
darkMode = !darkMode;
61
updateAppearance(darkMode);
0 commit comments