Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Aug 14, 2024
1 parent bab7c38 commit f8efb7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/egui/src/memory.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 [`Self::dark_style`] and [`Self::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 f8efb7b

Please sign in to comment.