pub enum ThemeColor {
Show 46 variants
Accent,
Border,
BorderAccent,
BorderMuted,
Success,
Error,
Warning,
Muted,
Dim,
Text,
ThinkingText,
UserMessageText,
CustomMessageText,
CustomMessageLabel,
ToolTitle,
ToolOutput,
MdHeading,
MdLink,
MdLinkUrl,
MdCode,
MdCodeBlock,
MdCodeBlockBorder,
MdQuote,
MdQuoteBorder,
MdHr,
MdListBullet,
ToolDiffAdded,
ToolDiffRemoved,
ToolDiffContext,
SyntaxComment,
SyntaxKeyword,
SyntaxFunction,
SyntaxVariable,
SyntaxString,
SyntaxNumber,
SyntaxType,
SyntaxOperator,
SyntaxPunctuation,
ThinkingOff,
ThinkingMinimal,
ThinkingLow,
ThinkingMedium,
ThinkingHigh,
ThinkingXhigh,
ThinkingMax,
BashMode,
}Expand description
Product foreground/text color slots (see reference ThemeColor).
Order matches the JSON schema and the reference type alias.
Variants§
Accent
Core UI.
Border
Border default.
BorderAccent
Accent border.
BorderMuted
Muted border.
Success
Success foreground.
Error
Error foreground.
Warning
Warning foreground.
Muted
Muted foreground.
Dim
Dim foreground.
Text
Default text foreground.
ThinkingText
Reasoning text foreground.
UserMessageText
User message foreground.
CustomMessageText
Custom message foreground.
CustomMessageLabel
Custom message label.
ToolTitle
Tool title.
ToolOutput
Tool output.
MdHeading
Markdown heading.
MdLink
Markdown link.
MdLinkUrl
Markdown link URL suffix.
MdCode
Markdown inline code.
MdCodeBlock
Markdown code block body.
MdCodeBlockBorder
Markdown code block border.
MdQuote
Markdown quote body.
MdQuoteBorder
Markdown quote border.
MdHr
Markdown horizontal rule.
MdListBullet
Markdown list bullet.
ToolDiffAdded
Diff added line.
ToolDiffRemoved
Diff removed line.
ToolDiffContext
Diff context line.
SyntaxComment
Syntax comment.
SyntaxKeyword
Syntax keyword.
SyntaxFunction
Syntax function.
SyntaxVariable
Syntax variable.
SyntaxString
Syntax string.
SyntaxNumber
Syntax number.
SyntaxType
Syntax type.
SyntaxOperator
Syntax operator.
SyntaxPunctuation
Syntax punctuation.
ThinkingOff
Thinking-off border.
ThinkingMinimal
Thinking-minimal border.
ThinkingLow
Thinking-low border.
ThinkingMedium
Thinking-medium border.
ThinkingHigh
Thinking-high border.
ThinkingXhigh
Thinking-xhigh border.
ThinkingMax
Thinking-max border (falls back to xhigh).
BashMode
Bash-mode border.
Trait Implementations§
Source§impl Clone for ThemeColor
impl Clone for ThemeColor
Source§fn clone(&self) -> ThemeColor
fn clone(&self) -> ThemeColor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ThemeColor
Source§impl Debug for ThemeColor
impl Debug for ThemeColor
impl Eq for ThemeColor
Source§impl Hash for ThemeColor
impl Hash for ThemeColor
Source§impl PartialEq for ThemeColor
impl PartialEq for ThemeColor
impl StructuralPartialEq for ThemeColor
Auto Trait Implementations§
impl Freeze for ThemeColor
impl RefUnwindSafe for ThemeColor
impl Send for ThemeColor
impl Sync for ThemeColor
impl Unpin for ThemeColor
impl UnsafeUnpin for ThemeColor
impl UnwindSafe for ThemeColor
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
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,
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<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