Style new lsp log menu, add a test for it

This commit is contained in:
Max Brunsfeld
2023-06-08 08:43:25 -07:00
parent 66f215cd13
commit 817644eb20
7 changed files with 210 additions and 38 deletions
+10
View File
@@ -44,6 +44,7 @@ pub struct Theme {
pub context_menu: ContextMenu,
pub contacts_popover: ContactsPopover,
pub contact_list: ContactList,
pub lsp_log_menu: LspLogMenu,
pub copilot: Copilot,
pub contact_finder: ContactFinder,
pub project_panel: ProjectPanel,
@@ -244,6 +245,15 @@ pub struct ContactFinder {
pub disabled_contact_button: IconButton,
}
#[derive(Deserialize, Default)]
pub struct LspLogMenu {
#[serde(flatten)]
pub container: ContainerStyle,
pub header: Interactive<ContainedText>,
pub server: ContainedText,
pub item: Interactive<ContainedText>,
}
#[derive(Clone, Deserialize, Default)]
pub struct TabBar {
#[serde(flatten)]