Redesign and clean up all icons across Zed (#35856)

- [x] Clean up unused and old icons
- [x] Swap SVG for all in-use icons with the redesigned version
- [x] Document guidelines

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-08-08 15:34:36 -03:00 committed by GitHub
parent 530f5075d0
commit 2cde6da5ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
284 changed files with 535 additions and 791 deletions

View file

@ -725,7 +725,7 @@ impl MessageEditor {
.when(focus_handle.is_focused(window), |this| {
this.child(
IconButton::new("toggle-height", expand_icon)
.icon_size(IconSize::XSmall)
.icon_size(IconSize::Small)
.icon_color(Color::Muted)
.tooltip({
let focus_handle = focus_handle.clone();
@ -831,7 +831,7 @@ impl MessageEditor {
parent.child(
IconButton::new(
"stop-generation",
IconName::StopFilled,
IconName::Stop,
)
.icon_color(Color::Error)
.style(ButtonStyle::Tinted(
@ -1305,7 +1305,7 @@ impl MessageEditor {
cx: &mut Context<Self>,
) -> Option<Div> {
let icon = if token_usage_ratio == TokenUsageRatio::Exceeded {
Icon::new(IconName::X)
Icon::new(IconName::Close)
.color(Color::Error)
.size(IconSize::XSmall)
} else {