diff --git a/h2i.html b/h2i.html
index ffd0c2c..df1a84b 100644
--- a/h2i.html
+++ b/h2i.html
@@ -88,6 +88,13 @@
a:hover {
text-decoration: underline;
}
+
+ /* darkmode */
+ @media (prefers-color-scheme: dark) {
+ :root {
+ --bg: #000000;
+ }
+ }
@@ -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();
}