MCPcopy Index your code
hub / github.com/algoscienceacademy/RustUI / create_dark_theme

Function create_dark_theme

src/theme/mod.rs:39–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39pub fn create_dark_theme() -> Theme {
40 Theme {
41 is_dark: true,
42 colors: ThemeColors {
43 primary: crate::style::Color::rgb(0.2, 0.6, 1.0),
44 background: crate::style::Color::rgb(0.1, 0.1, 0.1),
45 text: crate::style::Color::rgb(1.0, 1.0, 1.0),
46 },
47 styles: HashMap::new(),
48 }
49}

Callers 2

mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected