Skip to content

armgit / Wake

Public Imported from GitHub
0

All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.

Rust

fix(devin): use the official Devin mark as the brand icon

Corey Chiua1a3faf627a5
diff --git a/crates/wake-core/src/models.rs b/crates/wake-core/src/models.rs
index 5dec485..be3d79c 100644
--- a/crates/wake-core/src/models.rs
+++ b/crates/wake-core/src/models.rs
@@ -215,8 +215,16 @@ impl AgentId {
// 官方 app 图标(黑底白 Z),两模式通用
AgentId::Zcode => "brands/zcode.png",
AgentId::CraftAgents => "brands/craft-agents.png",
- // 官方 app 图标(蓝图网格白字),两模式通用
- AgentId::Devin => "brands/devin.png",
+ // 官网现用的单色标志(三个六边形、中间一个圆形缺口,devin.ai 的 SVG 渲染),
+ // 与 Cursor / Grok 一样按模式取白版或深墨版。lobe-icons 那版蓝青绿六段链不是
+ // 官网现用的;Devin Desktop 的 app 图标是整块圆角方块加蓝图网格,侧栏尺寸下只剩噪点
+ AgentId::Devin => {
+ if dark {
+ "brands/devin.png"
+ } else {
+ "brands/devin-light.png"
+ }
+ }
}
}
}
diff --git a/crates/wake/assets/brands/devin-light.png b/crates/wake/assets/brands/devin-light.png
new file mode 100644
index 0000000..c8a09dc
Binary files /dev/null and b/crates/wake/assets/brands/devin-light.png differ
diff --git a/crates/wake/assets/brands/devin.png b/crates/wake/assets/brands/devin.png
index 7b29bc0..e93f54d 100644
Binary files a/crates/wake/assets/brands/devin.png and b/crates/wake/assets/brands/devin.png differ
diff --git a/crates/wake/src/assets.rs b/crates/wake/src/assets.rs
index 73800f1..159fb6e 100644
--- a/crates/wake/src/assets.rs
+++ b/crates/wake/src/assets.rs
@@ -64,6 +64,7 @@ brands!(
"zcode",
"craft-agents",
"devin",
+ "devin-light",
);
fn lookup_product(path: &str) -> Option<&'static [u8]> {
diff --git a/crates/wake/src/theme.rs b/crates/wake/src/theme.rs
index 523cb15..d8e8c08 100644
--- a/crates/wake/src/theme.rs
+++ b/crates/wake/src/theme.rs
@@ -110,7 +110,8 @@ pub fn agent_series_color(agent: wake_core::models::AgentId) -> u32 {
Zcode => 0x8B95A5,
// app 图标像素 "C" 的紫(取自内嵌 PNG),比 Kiro 的电光紫灰、暗
CraftAgents => 0x9570BE,
- // 图标渐变顶端的天蓝(取自内嵌 PNG);蓝色家族挤,这一档离 Gemini / Cursor 最远
+ // 标志是单色的,给一档天蓝(Devin Desktop 的主色系),蓝色家族里离 Gemini、
+ // Cursor 都最远的一档
Devin => 0x3BB3F1,
}
}