Revert "✨ feat: logo is now a tuning fork whose stem ends in the ş cedilla (y…ş), amber wave on the app/tray icon"
Browse files at this commitcacf58e770c2c1edcc80cbf3e1f46379b12929ffParent: e8f9a631 changed file +4 -7
crates/client/src/logo.rsmodified+4 -7
| @@ -5,25 +5,22 @@ use gpui_kit::{AssetSource, SharedString, assets::AllAssets}; | |||
| 5 | pub const PATH: &str = "yumush/logo.svg"; | 5 | pub const PATH: &str = "yumush/logo.svg"; |
| 6 | 6 | ||
| 7 | const MARK: &str = | 7 | const MARK: &str = |
| 8 | - r#"<path d="M11 4 V13 Q11 17.5 16 17.5 Q21 17.5 21 13 V4"/><path d="M16 17.5 V24 Q16 28 12 28"/>"#; | 8 | + r#"<path d="M9 6 V12 Q9 18 15 18 Q21 18 21 12 V6"/><path d="M21 12 V21 Q21 27 15 27 H5"/>"#; |
| 9 | 9 | ||
| 10 | -const WAVE: &str = r##"<path d="M25.5 7 Q27.5 9.5 25.5 12" fill="none" stroke="#ffb36b" stroke-width="1.3" stroke-linecap="round"/>"##; | 10 | +fn svg(background: &str, ink: &str) -> String { |
| 11 | - | ||
| 12 | -fn svg(background: &str, ink: &str, extra: &str) -> String { | ||
| 13 | format!( | 11 | format!( |
| 14 | - r#"<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">{background}<g fill="none" stroke="{ink}" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round">{MARK}</g>{extra}</svg>"# | 12 | + r#"<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">{background}<g fill="none" stroke="{ink}" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round">{MARK}</g></svg>"# |
| 15 | ) | 13 | ) |
| 16 | } | 14 | } |
| 17 | 15 | ||
| 18 | pub fn mark() -> String { | 16 | pub fn mark() -> String { |
| 19 | - svg("", "#000", "") | 17 | + svg("", "#000") |
| 20 | } | 18 | } |
| 21 | 19 | ||
| 22 | pub fn icon() -> String { | 20 | pub fn icon() -> String { |
| 23 | svg( | 21 | svg( |
| 24 | r##"<rect width="32" height="32" rx="8" fill="#121527"/>"##, | 22 | r##"<rect width="32" height="32" rx="8" fill="#121527"/>"##, |
| 25 | "#ece5d8", | 23 | "#ece5d8", |
| 26 | - WAVE, | ||
| 27 | ) | 24 | ) |
| 28 | } | 25 | } |
| 29 | 26 | ||