pub struct ThemeColors {Show 32 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 user_message_background: 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,
pub brand: ColorValue,
pub text_meta: ColorValue,
pub diff_added_bg: ColorValue,
pub diff_removed_bg: ColorValue,
pub queued_bg: 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§user_message_background: ColorValueFull-width background band behind the user’s submitted prompt (Claude-Code style). A clearly-visible neutral gray, a step above the main background — not a blue tint.
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: ColorValue§brand: ColorValueBrand accent (aqua #22D3EE) — the ask_user_question modal’s header chip
and border. Serde-defaulted so themes/configs predating it still load.
text_meta: ColorValueMuted meta text (tool headers, byline timestamps) — deliberately a
specific mid-gray rather than the terminal’s ANSI gray, which most
palettes render much brighter. Serde-defaulted like brand.
diff_added_bg: ColorValueBackground band behind added diff lines.
diff_removed_bg: ColorValueBackground band behind removed diff lines.
queued_bg: ColorValueHighlight band behind queued (mid-run steering) messages in the status area.
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 (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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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