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

Method light

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

Source from the content-addressed store, hash-verified

137 }
138
139 pub fn light() -> Self {
140 Self::from_preset("opencode", ThemeMode::Light).unwrap_or_else(Self::fallback_light)
141 }
142
143 pub fn agent_color(&self, index: usize) -> Color {
144 self.agent_colors[index % self.agent_colors.len()]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected