pub struct Theme {Show 16 fields
pub bg_primary: Color,
pub bg_secondary: Color,
pub bg_surface: Color,
pub text_primary: Color,
pub text_secondary: Color,
pub text_dim: Color,
pub accent: Color,
pub accent_soft: Color,
pub border: Color,
pub separator: Color,
pub highlight: Color,
pub danger: Color,
pub warning: Color,
pub success: Color,
pub surface: Color,
pub surface_hover: Color,
}Expand description
Application-wide color theme with dark and light presets
Fields§
§bg_primary: Color§bg_secondary: Color§bg_surface: Color§text_primary: Color§text_secondary: Color§text_dim: Color§accent: Color§accent_soft: Color§border: Color§separator: Color§highlight: Color§danger: Color§warning: Color§success: Color§surface: Color§surface_hover: ColorImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more