pub struct Colors {
pub panel_top: Color,
pub panel_bottom: Color,
pub rim_focused: Color,
pub rim_blurred: Color,
pub shadow: Color,
pub title_text: Color,
pub title_shadow: Color,
}Expand description
Every color a decoration uses.
Fields§
§panel_top: ColorTop of the panel gradient.
panel_bottom: ColorBottom of it.
rim_focused: ColorThe edge highlight while the window has focus.
rim_blurred: ColorAnd while it does not — the cue that tells a user which window their keystrokes are going to.
shadow: ColorThe drop shadow.
title_text: ColorTitle text.
title_shadow: ColorThe text’s own shadow, for legibility over a translucent panel.
Trait Implementations§
impl Copy for Colors
impl Eq for Colors
impl StructuralPartialEq for Colors
Auto Trait Implementations§
impl Freeze for Colors
impl RefUnwindSafe for Colors
impl Send for Colors
impl Sync for Colors
impl Unpin for Colors
impl UnsafeUnpin for Colors
impl UnwindSafe for Colors
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