aboutsummaryrefslogtreecommitdiff
path: root/code/src/syntax_highlight/theme.rs
blob: 2dfd10d8d2391233038534d51712d5e7f1dc2df2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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",
    }
}