This commit is contained in:
Adrien MALINGREY 2023-10-31 03:29:02 +01:00
parent 3a243c38f0
commit 743f7fa72d
2 changed files with 27 additions and 22 deletions

View File

@ -149,6 +149,10 @@ table input:enabled {
padding: .375rem;
}
#colorPickerLabel {
color: var(--bs-body-color);
}
@media (prefers-color-scheme:dark) {
.pencil {
color: #5a5a5a !important;

View File

@ -1,6 +1,5 @@
const VALUES = "123456789"
const UNKNOWN = '.'
const SUGESTION_DELAY = 60000 //ms
let boxes = []
let rows = Array.from(Array(9), x => [])
@ -81,6 +80,8 @@ window.onload = function() {
loadSavedGame()
colorPickerInput.value = window.getComputedStyle(grid).getPropertyValue("--bs-body-color")
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register(`service-worker.php?location=${location.pathname}`)
}