aboutsummaryrefslogtreecommitdiff
path: root/code/src/syntax_highlight/theme.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-09-25 20:42:10 +0200
committermetamuffin <metamuffin@disroot.org>2022-09-25 20:42:10 +0200
commit0a18eae178a23e7f7bfd88c37502e5e8c1fdf64a (patch)
treefb5b1aa5f9a8d023b2edbc9e89b5d2e4844a42eb /code/src/syntax_highlight/theme.rs
parente3edf18503b3975ccec3b33c0cb9e7f0888bd031 (diff)
downloadmetamuffin-blog-0a18eae178a23e7f7bfd88c37502e5e8c1fdf64a.tar
metamuffin-blog-0a18eae178a23e7f7bfd88c37502e5e8c1fdf64a.tar.bz2
metamuffin-blog-0a18eae178a23e7f7bfd88c37502e5e8c1fdf64a.tar.zst
(the commit before proper parsers will replace everything™™)
Diffstat (limited to 'code/src/syntax_highlight/theme.rs')
-rw-r--r--code/src/syntax_highlight/theme.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/src/syntax_highlight/theme.rs b/code/src/syntax_highlight/theme.rs
index 288662a..2dfd10d 100644
--- a/code/src/syntax_highlight/theme.rs
+++ b/code/src/syntax_highlight/theme.rs
@@ -6,7 +6,7 @@ pub fn theme(kind: &str) -> &'static str {
"function" => "#26ffbc",
"types" => "#26ff34",
"identifier" => "#ccff26",
- "" => "#ff7c26",
+ "constant" => "#ff7c26",
"comment" => "#6e6e6e",
_ => "#ff00ff",
}