pub struct Theme {Show 21 fields
pub name: &'static str,
pub status_bg: Color,
pub status_fg: Color,
pub status_mode_fg: Color,
pub status_cost_fg: Color,
pub status_dim_fg: Color,
pub input_border: Color,
pub input_prompt_fg: Color,
pub input_bash_fg: Color,
pub input_note_fg: Color,
pub input_command_fg: Color,
pub input_atfile_fg: Color,
pub user_bar: Color,
pub assistant_bar: Color,
pub system_bar: Color,
pub tool_call_icon: Color,
pub tool_ok_fg: Color,
pub tool_err_fg: Color,
pub code_fg: Color,
pub diff_add: Color,
pub diff_del: Color,
}Expand description
A named colour palette for the TUI.
Fields§
§name: &'static str§status_bg: Color§status_fg: Color§status_mode_fg: Color§status_cost_fg: Color§status_dim_fg: Color§input_border: Color§input_prompt_fg: Color§input_bash_fg: Color§input_note_fg: Color§input_command_fg: Color§input_atfile_fg: Color§user_bar: Color§assistant_bar: Color§system_bar: Color§tool_call_icon: Color§tool_ok_fg: Color§tool_err_fg: Color§code_fg: Color§diff_add: Color§diff_del: ColorTrait Implementations§
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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