Skip to content

Commit

Permalink
Update chart theme based on page theme
Browse files Browse the repository at this point in the history
  • Loading branch information
akashchandwani committed Feb 13, 2024
1 parent 7dd1c27 commit 528884d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ <h1 class="post-title entry-hint-parent">
const config = {
startOnLoad: true,
securityLevel: 'loose',
theme: localStorage.getItem("pref-theme") === "light" ? "light": "dark",
sankey: {
height: 400,
width: 600,
Expand Down

0 comments on commit 528884d

Please sign in to comment.