MCPcopy Create free account
hub / github.com/GCWing/BitFun / syntect_theme_name

Method syntect_theme_name

src/apps/cli/src/ui/syntax_highlight.rs:32–37  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

30
31impl HighlightTheme {
32 fn syntect_theme_name(&self) -> &'static str {
33 match self {
34 HighlightTheme::Dark => "base16-ocean.dark",
35 HighlightTheme::Light => "InspiredGitHub",
36 }
37 }
38}
39
40/// Highlight a block of code and return ratatui Lines.

Callers 3

highlight_codeFunction · 0.80
highlight_bash_commandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected