pub struct Theme {Show 19 fields
pub header: ThemedStyle,
pub success: ThemedStyle,
pub warning: ThemedStyle,
pub error: ThemedStyle,
pub info: ThemedStyle,
pub muted: ThemedStyle,
pub running: ThemedStyle,
pub diff_add: ThemedStyle,
pub diff_remove: ThemedStyle,
pub diff_context: ThemedStyle,
pub accent: ThemedStyle,
pub secondary: ThemedStyle,
pub icon_ok: String,
pub icon_warn: String,
pub icon_fail: String,
pub icon_pending: String,
pub icon_running: String,
pub icon_skipped: String,
pub icon_arrow: String,
}Fields§
§header: ThemedStyle§success: ThemedStyle§warning: ThemedStyle§error: ThemedStyle§info: ThemedStyle§muted: ThemedStyle§running: ThemedStyle§diff_add: ThemedStyle§diff_remove: ThemedStyle§diff_context: ThemedStyle§accent: ThemedStyle“Attention without alarm” — orange-family in Dracula/Solarized, italic
non-color signal in default and minimal. Drives Role::Accent.
secondary: ThemedStyle“Structural pivot / label / identifier” — pink/magenta family in
Dracula/Solarized, underlined non-color signal in minimal. Drives
Role::Secondary.
icon_ok: String§icon_warn: String§icon_fail: String§icon_pending: String§icon_running: String§icon_skipped: String§icon_arrow: StringImplementations§
Source§impl Theme
impl Theme
pub fn from_preset(name: &str) -> Self
pub fn from_config(config: Option<&ThemeConfig>) -> Self
Trait Implementations§
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