Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Sep 3, 2024
1 parent 00ff728 commit 8809473
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/egui/src/memory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ pub struct Options {
/// The default style for new [`Ui`](crate::Ui):s in light mode.
pub(crate) light_style: std::sync::Arc<Style>,

/// 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()`]
/// as the active style used by all subsequent windows, panels etc.
///
/// Default: `ThemePreference::System`.
pub theme_preference: ThemePreference,
Expand Down

0 comments on commit 8809473

Please sign in to comment.