Add dark mode using Dark Reader
This commit is contained in:
@@ -27,14 +27,14 @@ import (
|
||||
|
||||
const calcExtraHead = `
|
||||
<!-- Import KaTeX for math rendering -->
|
||||
<link rel="stylesheet" href="/static/katex.min.css">
|
||||
<script defer src="/static/katex.min.js"></script>
|
||||
<link rel="stylesheet" href="/static/ext/katex.min.css">
|
||||
<script defer src="/static/ext/katex.min.js"></script>
|
||||
|
||||
<!-- Import Nerdamer for equation evaluator -->
|
||||
<script src="/static/nerdamer.core.js"></script>
|
||||
<script src="/static/Algebra.js"></script>
|
||||
<script src="/static/Calculus.js"></script>
|
||||
<script src="/static/Solve.js"></script>`
|
||||
<script src="/static/ext/nerdamer.core.js"></script>
|
||||
<script src="/static/ext/Algebra.js"></script>
|
||||
<script src="/static/ext/Calculus.js"></script>
|
||||
<script src="/static/ext/Solve.js"></script>`
|
||||
|
||||
const solveRenderScript = `
|
||||
<div id="calc-content" class="subtitle mx-2 my-0"></div>
|
||||
|
||||
@@ -25,7 +25,7 @@ import (
|
||||
)
|
||||
|
||||
const plotExtraHead = `
|
||||
<script src="/static/function-plot.js"></script>
|
||||
<script src="/static/ext/function-plot.js"></script>
|
||||
<style>
|
||||
.top-right-legend {
|
||||
display: none;
|
||||
|
||||
Reference in New Issue
Block a user