MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / builtin_theme_names

Method builtin_theme_names

crates/opencode-tui/src/theme/mod.rs:131–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129
130impl Theme {
131 pub fn builtin_theme_names() -> Vec<&'static str> {
132 PRESET_SOURCES.iter().map(|(name, _)| *name).collect()
133 }
134
135 pub fn dark() -> Self {
136 Self::from_preset("opencode", ThemeMode::Dark).unwrap_or_else(Self::fallback_dark)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected