pub struct ThemeConfigColors {Show 128 fields
pub accent: Option<SharedString>,
pub accent_foreground: Option<SharedString>,
pub accordion: Option<SharedString>,
pub background: Option<SharedString>,
pub border: Option<SharedString>,
pub button: Option<SharedString>,
pub button_active: Option<SharedString>,
pub button_foreground: Option<SharedString>,
pub button_hover: Option<SharedString>,
pub button_danger: Option<SharedString>,
pub button_danger_active: Option<SharedString>,
pub button_danger_foreground: Option<SharedString>,
pub button_danger_hover: Option<SharedString>,
pub button_info: Option<SharedString>,
pub button_info_active: Option<SharedString>,
pub button_info_foreground: Option<SharedString>,
pub button_info_hover: Option<SharedString>,
pub button_primary: Option<SharedString>,
pub button_primary_active: Option<SharedString>,
pub button_primary_foreground: Option<SharedString>,
pub button_primary_hover: Option<SharedString>,
pub button_secondary: Option<SharedString>,
pub button_secondary_active: Option<SharedString>,
pub button_secondary_foreground: Option<SharedString>,
pub button_secondary_hover: Option<SharedString>,
pub button_success: Option<SharedString>,
pub button_success_active: Option<SharedString>,
pub button_success_foreground: Option<SharedString>,
pub button_success_hover: Option<SharedString>,
pub button_warning: Option<SharedString>,
pub button_warning_active: Option<SharedString>,
pub button_warning_foreground: Option<SharedString>,
pub button_warning_hover: Option<SharedString>,
pub group_box: Option<SharedString>,
pub group_box_foreground: Option<SharedString>,
pub group_box_title_foreground: Option<SharedString>,
pub caret: Option<SharedString>,
pub chart_1: Option<SharedString>,
pub chart_2: Option<SharedString>,
pub chart_3: Option<SharedString>,
pub chart_4: Option<SharedString>,
pub chart_5: Option<SharedString>,
pub chart_bullish: Option<SharedString>,
pub chart_bearish: Option<SharedString>,
pub danger: Option<SharedString>,
pub danger_active: Option<SharedString>,
pub danger_foreground: Option<SharedString>,
pub danger_hover: Option<SharedString>,
pub description_list_label: Option<SharedString>,
pub description_list_label_foreground: Option<SharedString>,
pub drag_border: Option<SharedString>,
pub drop_target: Option<SharedString>,
pub foreground: Option<SharedString>,
pub info: Option<SharedString>,
pub info_active: Option<SharedString>,
pub info_foreground: Option<SharedString>,
pub info_hover: Option<SharedString>,
pub input: Option<SharedString>,
pub link: Option<SharedString>,
pub link_active: Option<SharedString>,
pub link_hover: Option<SharedString>,
pub list: Option<SharedString>,
pub list_active: Option<SharedString>,
pub list_active_border: Option<SharedString>,
pub list_even: Option<SharedString>,
pub list_head: Option<SharedString>,
pub list_hover: Option<SharedString>,
pub muted: Option<SharedString>,
pub muted_foreground: Option<SharedString>,
pub popover: Option<SharedString>,
pub popover_foreground: Option<SharedString>,
pub primary: Option<SharedString>,
pub primary_active: Option<SharedString>,
pub primary_foreground: Option<SharedString>,
pub primary_hover: Option<SharedString>,
pub progress_bar: Option<SharedString>,
pub ring: Option<SharedString>,
pub scrollbar: Option<SharedString>,
pub scrollbar_thumb: Option<SharedString>,
pub scrollbar_thumb_hover: Option<SharedString>,
pub secondary: Option<SharedString>,
pub secondary_active: Option<SharedString>,
pub secondary_foreground: Option<SharedString>,
pub secondary_hover: Option<SharedString>,
pub selection: Option<SharedString>,
pub sidebar: Option<SharedString>,
pub sidebar_accent: Option<SharedString>,
pub sidebar_accent_foreground: Option<SharedString>,
pub sidebar_border: Option<SharedString>,
pub sidebar_foreground: Option<SharedString>,
pub sidebar_primary: Option<SharedString>,
pub sidebar_primary_foreground: Option<SharedString>,
pub skeleton: Option<SharedString>,
pub slider_bar: Option<SharedString>,
pub slider_thumb: Option<SharedString>,
pub success: Option<SharedString>,
pub success_foreground: Option<SharedString>,
pub success_hover: Option<SharedString>,
pub success_active: Option<SharedString>,
pub switch: Option<SharedString>,
pub switch_thumb: Option<SharedString>,
pub tab: Option<SharedString>,
pub tab_active: Option<SharedString>,
pub tab_active_foreground: Option<SharedString>,
pub tab_bar: Option<SharedString>,
pub tab_bar_segmented: Option<SharedString>,
pub tab_foreground: Option<SharedString>,
pub table: Option<SharedString>,
pub table_active: Option<SharedString>,
pub table_active_border: Option<SharedString>,
pub table_even: Option<SharedString>,
pub table_head: Option<SharedString>,
pub table_head_foreground: Option<SharedString>,
pub table_foot: Option<SharedString>,
pub table_foot_foreground: Option<SharedString>,
pub table_hover: Option<SharedString>,
pub table_row_border: Option<SharedString>,
pub title_bar: Option<SharedString>,
pub title_bar_border: Option<SharedString>,
pub status_bar: Option<SharedString>,
pub status_bar_border: Option<SharedString>,
pub tiles: Option<SharedString>,
pub warning: Option<SharedString>,
pub warning_active: Option<SharedString>,
pub warning_hover: Option<SharedString>,
pub warning_foreground: Option<SharedString>,
pub overlay: Option<SharedString>,
pub window_border: Option<SharedString>,
/* private fields */
}Fields§
§accent: Option<SharedString>Used for accents such as hover background on MenuItem, ListItem, etc.
accent_foreground: Option<SharedString>Used for accent text color.
accordion: Option<SharedString>Accordion background color.
background: Option<SharedString>Default background color.
border: Option<SharedString>Default border color
Default Button background color.
Default Button active background color.
Default Button text color.
Default Button hover background color.
Button danger background color, fallback to danger.
Button danger active background color, fallback to danger_active.
Button danger text color, fallback to danger_foreground.
Button danger hover background color, fallback to danger_hover.
Button info background color, fallback to info.
Button info active background color, fallback to info_active.
Button info text color, fallback to info_foreground.
Button info hover background color, fallback to info_hover.
Button primary background color, fallback to primary.
Button primary active background color, fallback to primary_active.
Button primary text color, fallback to primary_foreground.
Button primary hover background color, fallback to primary_hover.
Button secondary background color, fallback to secondary.
Button secondary active background color, fallback to secondary_active.
Button secondary text color, fallback to secondary_foreground.
Button secondary hover background color, fallback to secondary_hover.
Button success background color, fallback to success.
Button success active background color, fallback to success_active.
Button success text color, fallback to success_foreground.
Button success hover background color, fallback to success_hover.
Button warning background color, fallback to warning.
Button warning active background color, fallback to warning_active.
Button warning text color, fallback to warning_foreground.
Button warning hover background color, fallback to warning_hover.
group_box: Option<SharedString>Background color for GroupBox.
group_box_foreground: Option<SharedString>Text color for GroupBox.
group_box_title_foreground: Option<SharedString>Title text color for GroupBox.
caret: Option<SharedString>Input caret color (Blinking cursor).
chart_1: Option<SharedString>Chart 1 color.
chart_2: Option<SharedString>Chart 2 color.
chart_3: Option<SharedString>Chart 3 color.
chart_4: Option<SharedString>Chart 4 color.
chart_5: Option<SharedString>Chart 5 color.
chart_bullish: Option<SharedString>Bullish color for candlestick charts (upward price movement).
chart_bearish: Option<SharedString>Bearish color for candlestick charts (downward price movement).
danger: Option<SharedString>Danger background color.
danger_active: Option<SharedString>Danger active background color.
danger_foreground: Option<SharedString>Danger text color.
danger_hover: Option<SharedString>Danger hover background color.
description_list_label: Option<SharedString>Description List label background color.
description_list_label_foreground: Option<SharedString>Description List label foreground color.
drag_border: Option<SharedString>Drag border color.
drop_target: Option<SharedString>Drop target background color.
foreground: Option<SharedString>Default text color.
info: Option<SharedString>Info background color.
info_active: Option<SharedString>Info active background color.
info_foreground: Option<SharedString>Info text color.
info_hover: Option<SharedString>Info hover background color.
input: Option<SharedString>Border color for inputs such as Input, Select, etc.
link: Option<SharedString>Link text color.
link_active: Option<SharedString>Active link text color.
link_hover: Option<SharedString>Hover link text color.
list: Option<SharedString>Background color for List and ListItem.
list_active: Option<SharedString>Background color for active ListItem.
list_active_border: Option<SharedString>Border color for active ListItem.
list_even: Option<SharedString>Stripe background color for even ListItem.
list_head: Option<SharedString>Background color for List header.
list_hover: Option<SharedString>Hover background color for ListItem.
muted: Option<SharedString>Muted backgrounds such as Skeleton and Switch.
muted_foreground: Option<SharedString>Muted text color, as used in disabled text.
popover: Option<SharedString>Background color for Popover.
popover_foreground: Option<SharedString>Text color for Popover.
primary: Option<SharedString>Primary background color.
primary_active: Option<SharedString>Active primary background color.
primary_foreground: Option<SharedString>Primary text color.
primary_hover: Option<SharedString>Hover primary background color.
progress_bar: Option<SharedString>Progress bar background color.
ring: Option<SharedString>Used for focus ring.
scrollbar: Option<SharedString>Scrollbar background color.
scrollbar_thumb: Option<SharedString>Scrollbar thumb background color.
scrollbar_thumb_hover: Option<SharedString>Scrollbar thumb hover background color.
secondary: Option<SharedString>Secondary background color.
secondary_active: Option<SharedString>Active secondary background color.
secondary_foreground: Option<SharedString>Secondary text color, used for secondary Button text color or secondary text.
secondary_hover: Option<SharedString>Hover secondary background color.
selection: Option<SharedString>Input selection background color.
Sidebar background color.
Sidebar accent background color.
Sidebar accent text color.
Sidebar border color.
Sidebar text color.
Sidebar primary background color.
Sidebar primary text color.
skeleton: Option<SharedString>Skeleton background color.
slider_bar: Option<SharedString>Slider bar background color.
slider_thumb: Option<SharedString>Slider thumb background color.
success: Option<SharedString>Success background color.
success_foreground: Option<SharedString>Success text color.
success_hover: Option<SharedString>Success hover background color.
success_active: Option<SharedString>Success active background color.
switch: Option<SharedString>Switch background color.
switch_thumb: Option<SharedString>Switch thumb background color.
tab: Option<SharedString>Tab background color.
tab_active: Option<SharedString>Tab active background color.
tab_active_foreground: Option<SharedString>Tab active text color.
tab_bar: Option<SharedString>TabBar background color.
tab_bar_segmented: Option<SharedString>TabBar segmented background color.
tab_foreground: Option<SharedString>Tab text color.
table: Option<SharedString>Table background color.
table_active: Option<SharedString>Table active item background color.
table_active_border: Option<SharedString>Table active item border color.
table_even: Option<SharedString>Stripe background color for even TableRow.
table_head: Option<SharedString>Table header background color.
table_head_foreground: Option<SharedString>Table header text color.
table_foot: Option<SharedString>Table footer background color.
table_foot_foreground: Option<SharedString>Table footer text color.
table_hover: Option<SharedString>Table item hover background color.
table_row_border: Option<SharedString>Table row border color.
title_bar: Option<SharedString>TitleBar background color, use for Window title bar.
title_bar_border: Option<SharedString>TitleBar border color.
status_bar: Option<SharedString>StatusBar background color, use for the bottom status bar.
status_bar_border: Option<SharedString>StatusBar border color.
tiles: Option<SharedString>Background color for Tiles.
warning: Option<SharedString>Warning background color.
warning_active: Option<SharedString>Warning active background color.
warning_hover: Option<SharedString>Warning hover background color.
warning_foreground: Option<SharedString>Warning foreground color.
overlay: Option<SharedString>Overlay background color.
window_border: Option<SharedString>Window border color.
§Platform specific:
This is only works on Linux, other platforms we can’t change the window border color.
Trait Implementations§
Source§impl Clone for ThemeConfigColors
impl Clone for ThemeConfigColors
Source§fn clone(&self) -> ThemeConfigColors
fn clone(&self) -> ThemeConfigColors
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ThemeConfigColors
impl Debug for ThemeConfigColors
Source§impl Default for ThemeConfigColors
impl Default for ThemeConfigColors
Source§fn default() -> ThemeConfigColors
fn default() -> ThemeConfigColors
Source§impl<'de> Deserialize<'de> for ThemeConfigColors
impl<'de> Deserialize<'de> for ThemeConfigColors
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 ThemeConfigColors
impl JsonSchema for ThemeConfigColors
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 moreAuto Trait Implementations§
impl Freeze for ThemeConfigColors
impl RefUnwindSafe for ThemeConfigColors
impl Send for ThemeConfigColors
impl Sync for ThemeConfigColors
impl Unpin for ThemeConfigColors
impl UnsafeUnpin for ThemeConfigColors
impl UnwindSafe for ThemeConfigColors
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().