pub struct ColorTheme {Show 21 fields
pub fg: Color,
pub bg: Color,
pub list_selected_fg: Color,
pub list_selected_bg: Color,
pub list_cid_fg: Color,
pub list_type_commit_fg: Color,
pub list_type_metadata_fg: Color,
pub list_type_shard_fg: Color,
pub list_type_unknown_fg: Color,
pub list_format_known_fg: Color,
pub list_format_unknown_fg: Color,
pub detail_label_fg: Color,
pub detail_value_fg: Color,
pub detail_cid_fg: Color,
pub detail_size_fg: Color,
pub detail_date_fg: Color,
pub help_block_title_fg: Color,
pub help_key_fg: Color,
pub status_info_fg: Color,
pub status_warn_fg: Color,
pub status_error_fg: Color,
}Expand description
Color theme for the TUI.
Fields§
§fg: Color§bg: Color§list_selected_fg: Color§list_selected_bg: Color§list_cid_fg: Color§list_type_commit_fg: Color§list_type_metadata_fg: Color§list_type_shard_fg: Color§list_type_unknown_fg: Color§list_format_known_fg: Color§list_format_unknown_fg: Color§detail_label_fg: Color§detail_value_fg: Color§detail_cid_fg: Color§detail_size_fg: Color§detail_date_fg: Color§help_block_title_fg: Color§help_key_fg: Color§status_info_fg: Color§status_warn_fg: Color§status_error_fg: ColorTrait Implementations§
Source§impl Clone for ColorTheme
impl Clone for ColorTheme
Source§fn clone(&self) -> ColorTheme
fn clone(&self) -> ColorTheme
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ColorTheme
impl Debug for ColorTheme
Source§impl Default for ColorTheme
impl Default for ColorTheme
Source§fn default() -> Self
fn default() -> Self
Return ColorTheme { fg: RatatuiColor::Reset, bg: RatatuiColor::Reset, list_selected_fg: RatatuiColor::White, list_selected_bg: RatatuiColor::DarkGray, list_cid_fg: RatatuiColor::Yellow, list_type_commit_fg: RatatuiColor::Cyan, list_type_metadata_fg: RatatuiColor::Green, list_type_shard_fg: RatatuiColor::Magenta, list_type_unknown_fg: RatatuiColor::Red, list_format_known_fg: RatatuiColor::Blue, list_format_unknown_fg: RatatuiColor::DarkGray, detail_label_fg: RatatuiColor::Cyan, detail_value_fg: RatatuiColor::Reset, detail_cid_fg: RatatuiColor::Yellow, detail_size_fg: RatatuiColor::Green, detail_date_fg: RatatuiColor::Magenta, help_block_title_fg: RatatuiColor::Green, help_key_fg: RatatuiColor::Yellow, status_info_fg: RatatuiColor::Cyan, status_warn_fg: RatatuiColor::Yellow, status_error_fg: RatatuiColor::Red }
Source§impl PartialEq for ColorTheme
impl PartialEq for ColorTheme
impl Eq for ColorTheme
impl StructuralPartialEq for ColorTheme
Auto Trait Implementations§
impl Freeze for ColorTheme
impl RefUnwindSafe for ColorTheme
impl Send for ColorTheme
impl Sync for ColorTheme
impl Unpin for ColorTheme
impl UnsafeUnpin for ColorTheme
impl UnwindSafe for ColorTheme
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more