aboutsummaryrefslogtreecommitdiff
path: root/code/src/syntax_highlight/theme.rs
diff options
context:
space:
mode:
Diffstat (limited to 'code/src/syntax_highlight/theme.rs')
-rw-r--r--code/src/syntax_highlight/theme.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/code/src/syntax_highlight/theme.rs b/code/src/syntax_highlight/theme.rs
index 40434ad..77018db 100644
--- a/code/src/syntax_highlight/theme.rs
+++ b/code/src/syntax_highlight/theme.rs
@@ -1,6 +1,13 @@
pub fn theme(kind: &str) -> &'static str {
match kind {
"keyword" => "#9999ff",
+ "macro" => "#ff2863",
+ "literal" => "#26a6ff",
+ "functions" => "#26ffbc",
+ "types" => "#26ff34",
+ "identifier" => "#ccff26",
+ "" => "#ff7c26",
+ "comment" => "#6e6e6e",
_ => "#ff00ff",
}
}