pub struct Base24Slots {Show 24 fields
pub base00: String,
pub base01: String,
pub base02: String,
pub base03: String,
pub base04: String,
pub base05: String,
pub base06: String,
pub base07: String,
pub base08: String,
pub base09: String,
pub base0a: String,
pub base0b: String,
pub base0c: String,
pub base0d: String,
pub base0e: String,
pub base0f: String,
pub base10: String,
pub base11: String,
pub base12: String,
pub base13: String,
pub base14: String,
pub base15: String,
pub base16: String,
pub base17: String,
}Expand description
The raw base24 color slots (base00–base17) as #rrggbb hex strings.
These are the canonical values from which all TCA semantic fields are derived. base16-only themes leave base10–base17 set to their spec-defined fallbacks.
Fields§
§base00: StringDarkest background / ANSI black background.
base01: StringSecondary background.
base02: StringSelection / border background.
base03: StringComments / bright black (ANSI 8).
base04: StringMuted / dark foreground.
base05: StringPrimary foreground / white (ANSI 7).
base06: StringSecondary foreground.
base07: StringBright white (ANSI 15).
base08: StringRed / error (ANSI 1).
base09: StringOrange / warning.
base0a: StringYellow (ANSI 3).
base0b: StringGreen / success (ANSI 2).
base0c: StringCyan / info (ANSI 6).
base0d: StringBlue / link (ANSI 4).
base0e: StringMagenta / highlight (ANSI 5).
base0f: StringBrown / deprecated.
base10: StringTrue black (ANSI 0 terminal color). Fallback: base00.
base11: StringReserved. Fallback: base00.
base12: StringBright red (ANSI 9). Fallback: base08.
base13: StringBright yellow (ANSI 11). Fallback: base0a.
base14: StringBright green (ANSI 10). Fallback: base0b.
base15: StringBright cyan (ANSI 14). Fallback: base0c.
base16: StringBright blue (ANSI 12). Fallback: base0d.
base17: StringBright magenta (ANSI 13). Fallback: base0e.
Trait Implementations§
Source§impl Clone for Base24Slots
impl Clone for Base24Slots
Source§fn clone(&self) -> Base24Slots
fn clone(&self) -> Base24Slots
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Base24Slots
impl Debug for Base24Slots
Source§impl PartialEq for Base24Slots
impl PartialEq for Base24Slots
Source§impl Serialize for Base24Slots
impl Serialize for Base24Slots
impl Eq for Base24Slots
impl StructuralPartialEq for Base24Slots
Auto Trait Implementations§
impl Freeze for Base24Slots
impl RefUnwindSafe for Base24Slots
impl Send for Base24Slots
impl Sync for Base24Slots
impl Unpin for Base24Slots
impl UnsafeUnpin for Base24Slots
impl UnwindSafe for Base24Slots
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
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
key and return true if they are equal.