From 672a641cec42b4dc2bb6b068d5936c87a10f32e7 Mon Sep 17 00:00:00 2001
From: jackyzha0 <j.zhao2k19@gmail.com>
Date: Sun, 18 Jul 2021 16:06:36 +0000
Subject: [PATCH] fix darkmode
---
layouts/partials/graph.html | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/layouts/partials/graph.html b/layouts/partials/graph.html
index c315b8f..81ea3f4 100644
--- a/layouts/partials/graph.html
+++ b/layouts/partials/graph.html
@@ -2,11 +2,11 @@
<div id="graph-container"></div>
<style>
:root {
- --g-node: {{.Site.Data.graphConfig.base.node}};
- --g-node-active: {{.Site.Data.graphConfig.base.activeNode}};
- --g-node-inactive: {{.Site.Data.graphConfig.base.inactiveNode}};
- --g-link: {{.Site.Data.graphConfig.base.link}};
- --g-link-active: {{.Site.Data.graphConfig.base.activeLink}};
+ --g-node: var(--secondary);
+ --g-node-active: var(--primary);
+ --g-node-inactive: var(--visited);
+ --g-link: var(--outlinegray);
+ --g-link-active: #5a7282;
}
</style>
<script>
--
Gitblit v1.10.0