aboutsummaryrefslogtreecommitdiff
path: root/code/src/syntax_highlight/theme.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-09-26 14:14:58 +0200
committermetamuffin <metamuffin@disroot.org>2022-09-26 14:14:58 +0200
commit15d78464ba9a717a71e1dc47a4101c8b13ec6581 (patch)
tree43def89ffd6e9c2ff80e7f7eeecec6fcf18c4e92 /code/src/syntax_highlight/theme.rs
parent0a18eae178a23e7f7bfd88c37502e5e8c1fdf64a (diff)
downloadmetamuffin-blog-15d78464ba9a717a71e1dc47a4101c8b13ec6581.tar
metamuffin-blog-15d78464ba9a717a71e1dc47a4101c8b13ec6581.tar.bz2
metamuffin-blog-15d78464ba9a717a71e1dc47a4101c8b13ec6581.tar.zst
syntax highlighting with syntect
Diffstat (limited to 'code/src/syntax_highlight/theme.rs')
-rw-r--r--code/src/syntax_highlight/theme.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/code/src/syntax_highlight/theme.rs b/code/src/syntax_highlight/theme.rs
deleted file mode 100644
index 2dfd10d..0000000
--- a/code/src/syntax_highlight/theme.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-pub fn theme(kind: &str) -> &'static str {
- match kind {
- "keyword" => "#9999ff",
- "macro" => "#ff2863",
- "literal" => "#26a6ff",
- "function" => "#26ffbc",
- "types" => "#26ff34",
- "identifier" => "#ccff26",
- "constant" => "#ff7c26",
- "comment" => "#6e6e6e",
- _ => "#ff00ff",
- }
-}