diff options
author | metamuffin <metamuffin@disroot.org> | 2022-08-30 17:13:23 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-08-30 17:13:23 +0200 |
commit | 5598051d92377dcfc776620aad10eec854a40663 (patch) | |
tree | 089aad643f2ed86e75b55d02306bc5322a4559df /code/src/syntax_highlight/theme.rs | |
parent | 802efbca25cb92d8567761361b6513fd57e05578 (diff) | |
download | metamuffin-blog-5598051d92377dcfc776620aad10eec854a40663.tar metamuffin-blog-5598051d92377dcfc776620aad10eec854a40663.tar.bz2 metamuffin-blog-5598051d92377dcfc776620aad10eec854a40663.tar.zst |
extend grammar
Diffstat (limited to 'code/src/syntax_highlight/theme.rs')
-rw-r--r-- | code/src/syntax_highlight/theme.rs | 7 |
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", } } |