pub struct SystemColors {
pub dark: bool,
pub window_background: Rgba,
pub control_background: Rgba,
pub text: Rgba,
pub secondary_text: Rgba,
pub separator: Rgba,
pub accent: Rgba,
pub selected_content_background: Rgba,
pub green: Rgba,
pub red: Rgba,
pub orange: Rgba,
}Expand description
The system’s semantic colours, resolved for the window’s current appearance.
Fields§
§dark: boolWhether the app resolves to a dark appearance.
window_background: RgbawindowBackgroundColor.
control_background: RgbacontrolBackgroundColor (e.g. behind table rows).
text: RgbalabelColor.
secondary_text: RgbasecondaryLabelColor.
separator: RgbaseparatorColor.
accent: RgbacontrolAccentColor (the user’s accent colour).
selected_content_background: RgbaselectedContentBackgroundColor.
green: RgbasystemGreenColor.
red: RgbasystemRedColor.
orange: RgbasystemOrangeColor.
Trait Implementations§
Source§impl Clone for SystemColors
impl Clone for SystemColors
impl Copy for SystemColors
Source§impl Debug for SystemColors
impl Debug for SystemColors
Source§impl PartialEq for SystemColors
impl PartialEq for SystemColors
impl StructuralPartialEq for SystemColors
Auto Trait Implementations§
impl Freeze for SystemColors
impl RefUnwindSafe for SystemColors
impl Send for SystemColors
impl Sync for SystemColors
impl Unpin for SystemColors
impl UnsafeUnpin for SystemColors
impl UnwindSafe for SystemColors
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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