aboutsummaryrefslogtreecommitdiff
path: root/anki-card-template/card.html
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-01-21 11:24:55 +0100
committerlonkaars <loek@pipeframe.xyz>2023-01-21 11:24:55 +0100
commitb5c51b03446c81cb80b1568b8193977a9a2588ae (patch)
tree7ef7b4a4b3577ec5f89ed71a382c6db359bba090 /anki-card-template/card.html
parentcaf5bcbca90863ce6ef8ec9abc2da10d79d52776 (diff)
update night_mode class in dev card.html
Diffstat (limited to 'anki-card-template/card.html')
-rw-r--r--anki-card-template/card.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/anki-card-template/card.html b/anki-card-template/card.html
index 2c7909b..9154665 100644
--- a/anki-card-template/card.html
+++ b/anki-card-template/card.html
@@ -6,7 +6,7 @@
<link rel='stylesheet' type='text/css' media='screen' href='./card.css'>
<script defer src='./card.js'></script>
<style>
- body.nightMode {
+ body.night_mode {
background-color: black;
color: white;
}
@@ -36,7 +36,7 @@
<div id="dev-buttons">
<button onclick="document.getElementById('card').classList.toggle('back'); document.getElementById('card').classList.toggle('front')">toggle view</button>
<button onclick="document.getElementById('card').classList.toggle('horizontal-layout'); document.getElementById('card').classList.toggle('vertical-layout')">toggle layout</button>
-<button onclick="document.body.classList.toggle('nightMode')">toggle dark</button>
+<button onclick="document.body.classList.toggle('night_mode')">toggle dark</button>
<button onclick="document.body.classList.toggle('mobile')">toggle mobile</button>
</div>