diff --git a/crates/console/src/console.rs b/crates/console/src/console.rs index 31fd7f3..bff0365 100644 --- a/crates/console/src/console.rs +++ b/crates/console/src/console.rs @@ -97,6 +97,7 @@ impl Console { ) } + #[cfg(feature = "ui")] pub fn theme(&self) -> ConsoleTheme { self.theme.clone() } @@ -125,6 +126,7 @@ impl Clone for Console { out_handle: None, quiet: self.quiet.clone(), reporter: self.reporter.clone(), + #[cfg(feature = "ui")] theme: self.theme.clone(), } }