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

Method default

src/apps/desktop/src/theme.rs:264–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262
263impl Default for ThemeConfig {
264 fn default() -> Self {
265 let default_light_theme_id = Self::startup_theme_bootstrap_manifest()
266 .default_light_theme_id
267 .as_str();
268 let mut theme = Self::get_builtin_theme(default_light_theme_id)
269 .expect("startup theme bootstrap manifest must include the default light theme");
270 theme.selection_id = None;
271 theme
272 }
273}
274
275impl ThemeConfig {

Callers

nothing calls this directly

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected