aboutsummaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
authorFilip Figiel <figiel.filip@gmail.com>2024-03-06 15:41:04 +0100
committerGitHub <noreply@github.com>2024-03-06 14:41:04 +0000
commitf791b2e6409a16f7436e8a603f44230bd7e33611 (patch)
treecf48fec07861cccf263dd3ce778f07f021c58fae /static/index.js
parentb13ca3f54ee93d2a714073caec4aa4252e8b3f00 (diff)
downloadtour-f791b2e6409a16f7436e8a603f44230bd7e33611.tar.gz
tour-f791b2e6409a16f7436e8a603f44230bd7e33611.zip
Add dark mode support (#26)
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/index.js b/static/index.js
index 825a4b0..022082d 100644
--- a/static/index.js
+++ b/static/index.js
@@ -52,6 +52,7 @@ function appendOutput(content, className) {
const editor = new CodeFlask("#editor-target", {
language: "gleam",
+ defaultTheme: false
});
editor.addLanguage("gleam", prismGrammar);
editor.updateCode(initialCode);