From 15d78464ba9a717a71e1dc47a4101c8b13ec6581 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 26 Sep 2022 14:14:58 +0200 Subject: syntax highlighting with syntect --- code/src/syntax_highlight/theme.rs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 code/src/syntax_highlight/theme.rs (limited to 'code/src/syntax_highlight/theme.rs') 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", - } -} -- cgit v1.2.3-70-g09d2