We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba3ff86 commit b481547Copy full SHA for b481547
index.html
@@ -26,6 +26,13 @@
26
#errors {
27
color: red;
28
}
29
+
30
+ @media screen and (prefers-color-scheme: dark) {
31
+ body {
32
+ color: white;
33
+ background: black;
34
+ }
35
36
</style>
37
<style id="custom-css"></style>
38
</head>
@@ -96,6 +103,7 @@ <h1>Schemascii Playground</h1>
96
103
output.innerHTML = await schemascii.render("playground", source.value);
97
104
} catch (e) {
98
105
error(`\nJS Error:\n${e.stack}\n`);
106
+ output.innerHTML = "";
99
107
throw e;
100
108
101
109
}, 500);
0 commit comments