This commit is contained in:
remi 2022-05-27 22:29:11 +02:00
parent 4142f8bbc9
commit 2468802869

View File

@ -88,6 +88,13 @@
a:hover {
text-decoration: underline;
}
/* darkmode */
@media (prefers-color-scheme: dark) {
:root {
--bg: #000000;
}
}
</style>
</head>
@ -126,7 +133,7 @@
//if darkmode
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
tcolor.value = '#ffffff';
bcolor.value = '#000000';
// bcolor.value = '#000000';
update();
}