pub enum ThemeKey {
Show 51 variants
Accent,
BashMode,
Border,
BorderAccent,
BorderMuted,
CustomMessageBg,
CustomMessageLabel,
CustomMessageText,
Dim,
Error,
MdCode,
MdCodeBlock,
MdCodeBlockBorder,
MdHeading,
MdHr,
MdLink,
MdLinkUrl,
MdListBullet,
MdQuote,
MdQuoteBorder,
Muted,
SelectedBg,
Success,
SyntaxComment,
SyntaxFunction,
SyntaxKeyword,
SyntaxNumber,
SyntaxOperator,
SyntaxPunctuation,
SyntaxString,
SyntaxType,
SyntaxVariable,
Text,
ThinkingHigh,
ThinkingLow,
ThinkingMedium,
ThinkingMinimal,
ThinkingOff,
ThinkingText,
ThinkingXhigh,
ToolDiffAdded,
ToolDiffContext,
ToolDiffRemoved,
ToolErrorBg,
ToolOutput,
ToolPendingBg,
ToolSuccessBg,
ToolTitle,
UserMessageBg,
UserMessageText,
Warning,
}Expand description
Compile-time safe theme color keys. Each variant corresponds to a named color in the theme JSON files.
Variants§
Accent
BashMode
Border
BorderAccent
BorderMuted
CustomMessageBg
CustomMessageLabel
CustomMessageText
Dim
Error
MdCode
MdCodeBlock
MdCodeBlockBorder
MdHeading
MdHr
MdLink
MdLinkUrl
MdListBullet
MdQuote
MdQuoteBorder
Muted
SelectedBg
Success
SyntaxComment
SyntaxFunction
SyntaxKeyword
SyntaxNumber
SyntaxOperator
SyntaxPunctuation
SyntaxString
SyntaxType
SyntaxVariable
Text
ThinkingHigh
ThinkingLow
ThinkingMedium
ThinkingMinimal
ThinkingOff
ThinkingText
ThinkingXhigh
ToolDiffAdded
ToolDiffContext
ToolDiffRemoved
ToolErrorBg
ToolOutput
ToolPendingBg
ToolSuccessBg
ToolTitle
UserMessageBg
UserMessageText
Warning
Implementations§
Trait Implementations§
impl Copy for ThemeKey
impl Eq for ThemeKey
impl StructuralPartialEq for ThemeKey
Auto Trait Implementations§
impl Freeze for ThemeKey
impl RefUnwindSafe for ThemeKey
impl Send for ThemeKey
impl Sync for ThemeKey
impl Unpin for ThemeKey
impl UnsafeUnpin for ThemeKey
impl UnwindSafe for ThemeKey
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,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.