aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-24 16:11:43 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-24 16:11:43 +0530
commitb3da7f98f922f3d6bc8bc440c459089231c2a6a4 (patch)
tree974d51952d0b406bbe48037fc3219afeefa48482
parent7e9940d6c7fcca0109e90b3d68ecd68676635119 (diff)
added light mode
-rw-r--r--app/templates/generate.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/templates/generate.html b/app/templates/generate.html
index 7e6808d..9591a7e 100644
--- a/app/templates/generate.html
+++ b/app/templates/generate.html
@@ -33,8 +33,8 @@
<canvas id="canvas-{{x}}" width="500" height="500"></canvas>
<script>
SmilesDrawer.parse('{{result[0]}}', function(tree) {
- smilesDrawer.draw(tree, "canvas-{{x}}", "dark", false);
- console.log(smilesDrawer.draw(tree, "canvas-{{x}}", "dark", false))
+ smilesDrawer.draw(tree, "canvas-{{x}}", "light", false);
+ console.log(smilesDrawer.draw(tree, "canvas-{{x}}", "light", false))
});
</script>
{% endfor %}