fixed light mode bug

This commit is contained in:
2024-01-29 18:34:55 +01:00
parent e01c060671
commit 2927c48b37
2 changed files with 2 additions and 15 deletions

View File

@@ -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++

View File

@@ -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;
}
}
}