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:
parent
530f5075d0
commit
2cde6da5ff
284 changed files with 535 additions and 791 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue