Revise and clean up some icons (#35582)

This is really just a small beginning, as there are many other icons to
be revised and cleaned up. Our current set is a bit of a mess in terms
of dimension, spacing, stroke width, and terminology. I'm sure there are
more non-used icons I'm not covering here, too. We'll hopefully tackle
it all soon leading up to 1.0.

Closes https://github.com/zed-industries/zed/issues/35576

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-08-04 11:58:31 -03:00 committed by GitHub
parent 8b573d4395
commit 0609c8b953
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
58 changed files with 154 additions and 271 deletions

View file

@ -1162,7 +1162,7 @@ impl Panel for ChatPanel {
}
fn icon(&self, _window: &Window, cx: &App) -> Option<ui::IconName> {
self.enabled(cx).then(|| ui::IconName::MessageBubbles)
self.enabled(cx).then(|| ui::IconName::Chat)
}
fn icon_tooltip(&self, _: &Window, _: &App) -> Option<&'static str> {

View file

@ -1124,7 +1124,7 @@ impl CollabPanel {
.relative()
.gap_1()
.child(render_tree_branch(false, false, window, cx))
.child(IconButton::new(0, IconName::MessageBubbles))
.child(IconButton::new(0, IconName::Chat))
.children(has_messages_notification.then(|| {
div()
.w_1p5()
@ -2923,7 +2923,7 @@ impl CollabPanel {
.gap_1()
.px_1()
.child(
IconButton::new("channel_chat", IconName::MessageBubbles)
IconButton::new("channel_chat", IconName::Chat)
.style(ButtonStyle::Filled)
.shape(ui::IconButtonShape::Square)
.icon_size(IconSize::Small)
@ -2939,7 +2939,7 @@ impl CollabPanel {
.visible_on_hover(""),
)
.child(
IconButton::new("channel_notes", IconName::File)
IconButton::new("channel_notes", IconName::FileText)
.style(ButtonStyle::Filled)
.shape(ui::IconButtonShape::Square)
.icon_size(IconSize::Small)