pub struct ThemeColors {Show 26 fields
pub background: ColorValue,
pub foreground: ColorValue,
pub border: ColorValue,
pub border_focused: ColorValue,
pub header: ColorValue,
pub status_bar: ColorValue,
pub text_primary: ColorValue,
pub text_secondary: ColorValue,
pub text_disabled: ColorValue,
pub text_highlight: ColorValue,
pub user_message: ColorValue,
pub assistant_message: ColorValue,
pub system_message: ColorValue,
pub code_background: ColorValue,
pub code_foreground: ColorValue,
pub code_keyword: ColorValue,
pub code_string: ColorValue,
pub code_comment: ColorValue,
pub mode_normal: ColorValue,
pub mode_accept_edits: ColorValue,
pub mode_plan: ColorValue,
pub mode_bypass_all: ColorValue,
pub success: ColorValue,
pub warning: ColorValue,
pub error: ColorValue,
pub info: ColorValue,
}Fields§
§background: ColorValue§foreground: ColorValue§border: ColorValue§border_focused: ColorValue§header: ColorValue§status_bar: ColorValue§text_primary: ColorValue§text_secondary: ColorValue§text_disabled: ColorValue§text_highlight: ColorValue§user_message: ColorValue§assistant_message: ColorValue§system_message: ColorValue§code_background: ColorValue§code_foreground: ColorValue§code_keyword: ColorValue§code_string: ColorValue§code_comment: ColorValue§mode_normal: ColorValue§mode_accept_edits: ColorValue§mode_plan: ColorValue§mode_bypass_all: ColorValue§success: ColorValue§warning: ColorValue§error: ColorValue§info: ColorValueTrait 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 (const: unstable) · 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<'de> Deserialize<'de> for ThemeColors
impl<'de> Deserialize<'de> for ThemeColors
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ThemeColors
impl RefUnwindSafe for ThemeColors
impl Send for ThemeColors
impl Sync for ThemeColors
impl Unpin for ThemeColors
impl UnsafeUnpin 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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
Converts
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>
Converts
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