We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00ff728 commit 8809473Copy full SHA for 8809473
crates/egui/src/memory/mod.rs
@@ -175,7 +175,8 @@ pub struct Options {
175
/// The default style for new [`Ui`](crate::Ui):s in light mode.
176
pub(crate) light_style: std::sync::Arc<Style>,
177
178
- /// Whether to update the visuals according to the system theme or not.
+ /// A preference for how to select between [`crate::Context::dark_style()`] and [`crate::Context::light_style()`]
179
+ /// as the active style used by all subsequent windows, panels etc.
180
///
181
/// Default: `ThemePreference::System`.
182
pub theme_preference: ThemePreference,
0 commit comments