mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-07 02:57:34 +00:00
Add copilot icons
This commit is contained in:
parent
31565a810d
commit
6a3925c3e1
2 changed files with 7 additions and 1 deletions
|
@ -32,6 +32,9 @@ pub enum Icon {
|
||||||
Close,
|
Close,
|
||||||
Collab,
|
Collab,
|
||||||
Copilot,
|
Copilot,
|
||||||
|
CopilotInit,
|
||||||
|
CopilotError,
|
||||||
|
CopilotDisabled,
|
||||||
Dash,
|
Dash,
|
||||||
Envelope,
|
Envelope,
|
||||||
ExclamationTriangle,
|
ExclamationTriangle,
|
||||||
|
@ -93,6 +96,9 @@ impl Icon {
|
||||||
Icon::Close => "icons/x.svg",
|
Icon::Close => "icons/x.svg",
|
||||||
Icon::Collab => "icons/user_group_16.svg",
|
Icon::Collab => "icons/user_group_16.svg",
|
||||||
Icon::Copilot => "icons/copilot.svg",
|
Icon::Copilot => "icons/copilot.svg",
|
||||||
|
Icon::CopilotInit => "icons/copilot_init.svg",
|
||||||
|
Icon::CopilotError => "icons/copilot_error.svg",
|
||||||
|
Icon::CopilotDisabled => "icons/copilot_disabled.svg",
|
||||||
Icon::Dash => "icons/dash.svg",
|
Icon::Dash => "icons/dash.svg",
|
||||||
Icon::Envelope => "icons/feedback.svg",
|
Icon::Envelope => "icons/feedback.svg",
|
||||||
Icon::ExclamationTriangle => "icons/warning.svg",
|
Icon::ExclamationTriangle => "icons/warning.svg",
|
||||||
|
|
|
@ -89,7 +89,7 @@ impl Render for StatusBar {
|
||||||
div()
|
div()
|
||||||
.border()
|
.border()
|
||||||
.border_color(gpui::red())
|
.border_color(gpui::red())
|
||||||
.child(IconButton::new("status-github", Icon::Hash)),
|
.child(IconButton::new("status-copilot", Icon::Copilot)),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
// Feedback Tool
|
// Feedback Tool
|
||||||
|
|
Loading…
Reference in a new issue