From 2927c48b373b62559e4ab4fe887708212ea96348 Mon Sep 17 00:00:00 2001 From: quirinecker Date: Mon, 29 Jan 2024 18:34:55 +0100 Subject: [PATCH] fixed light mode bug --- src/App.vue | 2 +- src/style.css | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/App.vue b/src/App.vue index d8358d1..78a4d0e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -162,7 +162,7 @@ function createInterval() { if (currentCoin.value.x === snake.value.cell.x && currentCoin.value.y === snake.value.cell.y) { - snake.value.length++ + snake.value.length + 10 currentCoin.value = spawnCoin() score.value++ diff --git a/src/style.css b/src/style.css index bb131d6..5bb3c8b 100644 --- a/src/style.css +++ b/src/style.css @@ -63,17 +63,4 @@ button:focus-visible { margin: 0 auto; padding: 2rem; text-align: center; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} +} \ No newline at end of file