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 6c4cf1b commit d1c256d
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 [`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 d1c256d

Please sign in to comment.