pub struct BaconSkin {Show 34 fields
pub status_fg: DefaultingStatusFg,
pub status_bg: DefaultingStatusBg,
pub key_fg: DefaultingKeyFg,
pub status_key_fg: DefaultingStatusKeyFg,
pub project_name_badge_fg: DefaultingProjectNameBadgeFg,
pub project_name_badge_bg: DefaultingProjectNameBadgeBg,
pub job_label_badge_fg: DefaultingJobLabelBadgeFg,
pub job_label_badge_bg: DefaultingJobLabelBadgeBg,
pub errors_badge_fg: DefaultingErrorsBadgeFg,
pub errors_badge_bg: DefaultingErrorsBadgeBg,
pub test_fails_badge_fg: DefaultingTestFailsBadgeFg,
pub test_fails_badge_bg: DefaultingTestFailsBadgeBg,
pub test_pass_badge_fg: DefaultingTestPassBadgeFg,
pub test_pass_badge_bg: DefaultingTestPassBadgeBg,
pub warnings_badge_fg: DefaultingWarningsBadgeFg,
pub warnings_badge_bg: DefaultingWarningsBadgeBg,
pub command_error_badge_fg: DefaultingCommandErrorBadgeFg,
pub command_error_badge_bg: DefaultingCommandErrorBadgeBg,
pub dismissed_badge_fg: DefaultingDismissedBadgeFg,
pub dismissed_badge_bg: DefaultingDismissedBadgeBg,
pub change_badge_fg: DefaultingChangeBadgeFg,
pub change_badge_bg: DefaultingChangeBadgeBg,
pub computing_fg: DefaultingComputingFg,
pub computing_bg: DefaultingComputingBg,
pub found_fg: DefaultingFoundFg,
pub found_selected_bg: DefaultingFoundSelectedBg,
pub search_input_prefix_fg: DefaultingSearchInputPrefixFg,
pub search_summary_fg: DefaultingSearchSummaryFg,
pub menu_border: DefaultingMenuBorder,
pub menu_bg: DefaultingMenuBg,
pub menu_item_bg: DefaultingMenuItemBg,
pub menu_item_selected_bg: DefaultingMenuItemSelectedBg,
pub menu_item_fg: DefaultingMenuItemFg,
pub menu_item_selected_fg: DefaultingMenuItemSelectedFg,
}Expand description
Collection of optional color overrides for the Bacon UI.
Fields§
§status_fg: DefaultingStatusFgForeground color of the status line
status_bg: DefaultingStatusBgBackground color of the status line
key_fg: DefaultingKeyFgForeground color used for key shortcuts in the UI
status_key_fg: DefaultingStatusKeyFgForeground color for key shortcuts displayed in the status line
project_name_badge_fg: DefaultingProjectNameBadgeFgForeground color of the project name badge
project_name_badge_bg: DefaultingProjectNameBadgeBgBackground color of the project name badge
job_label_badge_fg: DefaultingJobLabelBadgeFgForeground color of the job label badge
job_label_badge_bg: DefaultingJobLabelBadgeBgBackground color of the job label badge
errors_badge_fg: DefaultingErrorsBadgeFgForeground color of the errors badge
errors_badge_bg: DefaultingErrorsBadgeBgBackground color of the errors badge
test_fails_badge_fg: DefaultingTestFailsBadgeFgForeground color of the failing-tests badge
test_fails_badge_bg: DefaultingTestFailsBadgeBgBackground color of the failing-tests badge
test_pass_badge_fg: DefaultingTestPassBadgeFgForeground color of the passing-tests badge
test_pass_badge_bg: DefaultingTestPassBadgeBgBackground color of the passing-tests badge
warnings_badge_fg: DefaultingWarningsBadgeFgForeground color of the warnings badge
warnings_badge_bg: DefaultingWarningsBadgeBgBackground color of the warnings badge
command_error_badge_fg: DefaultingCommandErrorBadgeFgForeground color of the command-error badge
command_error_badge_bg: DefaultingCommandErrorBadgeBgBackground color of the command-error badge
dismissed_badge_fg: DefaultingDismissedBadgeFgForeground color of the dismissed badge
dismissed_badge_bg: DefaultingDismissedBadgeBgBackground color of the dismissed badge
change_badge_fg: DefaultingChangeBadgeFgForeground color of the change badge
change_badge_bg: DefaultingChangeBadgeBgBackground color of the change badge
computing_fg: DefaultingComputingFgForeground color of the “computing…” indicator
computing_bg: DefaultingComputingBgBackground color of the “computing…” indicator
found_fg: DefaultingFoundFgForeground color of search matches
found_selected_bg: DefaultingFoundSelectedBgBackground color of the selected search match
search_input_prefix_fg: DefaultingSearchInputPrefixFgForeground color of the ‘/’ search prefix
search_summary_fg: DefaultingSearchSummaryFgForeground color of the search summary
Border color used for menus
Background color used for menus
Background color of individual menu items
Background color of the selected menu item
Foreground color of menu items
Foreground color of the selected menu item
Implementations§
Source§impl BaconSkin
impl BaconSkin
pub fn apply(&mut self, other: Self)
pub fn status_fg(&self) -> u8
pub fn status_bg(&self) -> u8
pub fn key_fg(&self) -> u8
pub fn status_key_fg(&self) -> u8
pub fn project_name_badge_fg(&self) -> u8
pub fn project_name_badge_bg(&self) -> u8
pub fn job_label_badge_fg(&self) -> u8
pub fn job_label_badge_bg(&self) -> u8
pub fn errors_badge_fg(&self) -> u8
pub fn errors_badge_bg(&self) -> u8
pub fn test_fails_badge_fg(&self) -> u8
pub fn test_fails_badge_bg(&self) -> u8
pub fn test_pass_badge_fg(&self) -> u8
pub fn test_pass_badge_bg(&self) -> u8
pub fn warnings_badge_fg(&self) -> u8
pub fn warnings_badge_bg(&self) -> u8
pub fn command_error_badge_fg(&self) -> u8
pub fn command_error_badge_bg(&self) -> u8
pub fn dismissed_badge_fg(&self) -> u8
pub fn dismissed_badge_bg(&self) -> u8
pub fn change_badge_fg(&self) -> u8
pub fn change_badge_bg(&self) -> u8
pub fn computing_fg(&self) -> u8
pub fn computing_bg(&self) -> u8
pub fn found_fg(&self) -> u8
pub fn found_selected_bg(&self) -> u8
pub fn search_input_prefix_fg(&self) -> u8
pub fn search_summary_fg(&self) -> u8
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BaconSkin
impl<'de> Deserialize<'de> for BaconSkin
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for BaconSkin
impl JsonSchema for BaconSkin
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more