From 6684c68cc298d6b8c75e3a1c54ab737068aeff05 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Mon, 13 Mar 2023 10:54:33 -0700 Subject: [PATCH] Merge pull request #2277 from zed-industries/switch-invite-person-icon Update Collab + icon --- assets/icons/user_plus_12.svg | 4 +++- assets/icons/user_plus_16.svg | 4 +++- crates/collab_ui/src/collab_titlebar_item.rs | 2 +- styles/src/styleTree/workspace.ts | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/assets/icons/user_plus_12.svg b/assets/icons/user_plus_12.svg index 61f61e3929..535d04af45 100644 --- a/assets/icons/user_plus_12.svg +++ b/assets/icons/user_plus_12.svg @@ -1,3 +1,5 @@ - + + + diff --git a/assets/icons/user_plus_16.svg b/assets/icons/user_plus_16.svg index 3fd6e13554..150392f6e0 100644 --- a/assets/icons/user_plus_16.svg +++ b/assets/icons/user_plus_16.svg @@ -1,3 +1,5 @@ - + + + diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rs index 040eb9aac3..1b46533fa3 100644 --- a/crates/collab_ui/src/collab_titlebar_item.rs +++ b/crates/collab_ui/src/collab_titlebar_item.rs @@ -379,7 +379,7 @@ impl CollabTitlebarItem { let style = titlebar .toggle_contacts_button .style_for(state, self.contacts_popover.is_some()); - Svg::new("icons/plus_8.svg") + Svg::new("icons/user_plus_16.svg") .with_color(style.color) .constrained() .with_width(style.icon_width) diff --git a/styles/src/styleTree/workspace.ts b/styles/src/styleTree/workspace.ts index bebe87ce55..176c2c0341 100644 --- a/styles/src/styleTree/workspace.ts +++ b/styles/src/styleTree/workspace.ts @@ -212,7 +212,7 @@ export default function workspace(colorScheme: ColorScheme) { margin: { left: itemSpacing }, cornerRadius: 6, color: foreground(layer, "variant"), - iconWidth: 8, + iconWidth: 14, buttonWidth: 20, active: { background: background(layer, "variant", "active"),