pub struct ThemeColors {Show 14 fields
pub bg: Color,
pub dialog_bg: Color,
pub fg: Color,
pub accent: Color,
pub accent_secondary: Color,
pub highlight: Color,
pub muted: Color,
pub success: Color,
pub warning: Color,
pub danger: Color,
pub border: Color,
pub selection_bg: Color,
pub selection_fg: Color,
pub graph_line: Color,
}Expand description
The 14 semantic colors used in the UI.
These colors define the visual appearance of all UI elements.
Fields§
§bg: ColorMain background color
dialog_bg: ColorDialog/modal background color
fg: ColorPrimary foreground/text color
accent: ColorPrimary accent color (links, focus)
accent_secondary: ColorSecondary accent color
highlight: ColorHighlight color (warnings, emphasis)
muted: ColorMuted/dimmed text color
success: ColorSuccess state color
warning: ColorWarning state color
danger: ColorDanger/error state color
border: ColorBorder color
selection_bg: ColorSelection background color
selection_fg: ColorSelection foreground color
graph_line: ColorGraph line color
Trait Implementations§
Source§impl Clone for ThemeColors
impl Clone for ThemeColors
Source§fn clone(&self) -> ThemeColors
fn clone(&self) -> ThemeColors
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThemeColors
impl Debug for ThemeColors
Source§impl Default for ThemeColors
impl Default for ThemeColors
Source§impl PartialEq for ThemeColors
impl PartialEq for ThemeColors
impl Copy for ThemeColors
impl Eq for ThemeColors
impl StructuralPartialEq for ThemeColors
Auto Trait Implementations§
impl Freeze for ThemeColors
impl RefUnwindSafe for ThemeColors
impl Send for ThemeColors
impl Sync for ThemeColors
impl Unpin for ThemeColors
impl UnwindSafe for ThemeColors
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.