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

@ -235,8 +235,8 @@ impl PickerDelegate for KernelPickerDelegate {
.gap_4()
.child(
Button::new("kernel-docs", "Kernel Docs")
.icon(IconName::ExternalLink)
.icon_size(IconSize::XSmall)
.icon(IconName::ArrowUpRight)
.icon_size(IconSize::Small)
.icon_color(Color::Muted)
.icon_position(IconPosition::End)
.on_click(move |_, _, cx| cx.open_url(KERNEL_DOCS_URL)),

View file

@ -38,7 +38,7 @@ pub enum CellControlType {
impl CellControlType {
fn icon_name(&self) -> IconName {
match self {
CellControlType::RunCell => IconName::PlayOutlined,
CellControlType::RunCell => IconName::PlayFilled,
CellControlType::RerunCell => IconName::ArrowCircle,
CellControlType::ClearCell => IconName::ListX,
CellControlType::CellOptions => IconName::Ellipsis,

View file

@ -321,7 +321,7 @@ impl NotebookEditor {
.child(
Self::render_notebook_control(
"run-all-cells",
IconName::PlayOutlined,
IconName::PlayFilled,
window,
cx,
)

View file

@ -163,7 +163,7 @@ impl Output {
el.child(
IconButton::new(
ElementId::Name("open-in-buffer".into()),
IconName::FileText,
IconName::FileTextOutlined,
)
.style(ButtonStyle::Transparent)
.tooltip(Tooltip::text("Open in Buffer"))