Allow styling sidebar icons and groups in themes
This commit is contained in:
+18
-16
@@ -136,6 +136,24 @@ pub struct FindEditor {
|
||||
pub max_width: f32,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct StatusBar {
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub height: f32,
|
||||
pub item_spacing: f32,
|
||||
pub cursor_position: TextStyle,
|
||||
pub diagnostic_message: TextStyle,
|
||||
pub lsp_message: TextStyle,
|
||||
pub auto_update_progress_message: TextStyle,
|
||||
pub auto_update_done_message: TextStyle,
|
||||
pub sidebar_items_left: ContainerStyle,
|
||||
pub sidebar_items_right: ContainerStyle,
|
||||
pub sidebar_item: SidebarItem,
|
||||
pub sidebar_item_active: SidebarItem,
|
||||
pub sidebar_item_hover: SidebarItem,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct Sidebar {
|
||||
pub resize_handle: ContainerStyle,
|
||||
@@ -150,22 +168,6 @@ pub struct SidebarItem {
|
||||
pub height: f32,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct StatusBar {
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub height: f32,
|
||||
pub item_spacing: f32,
|
||||
pub cursor_position: TextStyle,
|
||||
pub diagnostic_message: TextStyle,
|
||||
pub lsp_message: TextStyle,
|
||||
pub auto_update_progress_message: TextStyle,
|
||||
pub auto_update_done_message: TextStyle,
|
||||
pub sidebar_item: SidebarItem,
|
||||
pub sidebar_item_active: SidebarItem,
|
||||
pub sidebar_item_hover: SidebarItem,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct ChatPanel {
|
||||
#[serde(flatten)]
|
||||
|
||||
Reference in New Issue
Block a user