summaryrefslogtreecommitdiff
path: root/assets/css/common/highlight.scss
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-15 00:55:41 +0800
committerReorx <novoreorx@gmail.com>2022-04-15 00:55:41 +0800
commit33c1ba12e22ec939cd4c85186c243b6617a28527 (patch)
treee08a98331141711727c94ca47653853ecde34872 /assets/css/common/highlight.scss
parent60380fe684fb6db6c75ce9f4863f1047e6566649 (diff)
use hugo's builtin Chroma for code highlight
Diffstat (limited to 'assets/css/common/highlight.scss')
-rw-r--r--assets/css/common/highlight.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/css/common/highlight.scss b/assets/css/common/highlight.scss
new file mode 100644
index 0000000..810cc26
--- /dev/null
+++ b/assets/css/common/highlight.scss
@@ -0,0 +1,10 @@
+@import '../lib/chroma-light';
+
+// for github theme, add a background color
+.chroma {
+ background-color: #f6f8fa;
+}
+
+.dark {
+ @import '../lib/chroma-dark';
+}