Logo is now a tuning fork whose stem ends in the ş cedilla (y…ş), amber wave on the app/tray icon
Browse files at this commite8f9a63fe9f6e9107945e51a555331c474a60f1fParent: 000dc2a- feat
- logo is now a tuning fork whose stem ends in the ş cedilla (y…ş), amber wave on the app/tray icon
1 changed file +7 -4
crates/client/src/logo.rsmodified+7 -4
| @@ -5,22 +5,25 @@ use gpui_kit::{AssetSource, SharedString, assets::AllAssets}; | ||
| 5 | 5 | pub const PATH: &str = "yumush/logo.svg"; |
| 6 | 6 | |
| 7 | 7 | const MARK: &str = |
| 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"/>"#; | |
| 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"/>"#; | |
| 9 | 9 | |
| 10 | -fn svg(background: &str, ink: &str) -> String { | |
| 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"/>"##; | |
| 11 | + | |
| 12 | +fn svg(background: &str, ink: &str, extra: &str) -> String { | |
| 11 | 13 | format!( |
| 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>"# | |
| 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>"# | |
| 13 | 15 | ) |
| 14 | 16 | } |
| 15 | 17 | |
| 16 | 18 | pub fn mark() -> String { |
| 17 | - svg("", "#000") | |
| 19 | + svg("", "#000", "") | |
| 18 | 20 | } |
| 19 | 21 | |
| 20 | 22 | pub fn icon() -> String { |
| 21 | 23 | svg( |
| 22 | 24 | r##"<rect width="32" height="32" rx="8" fill="#121527"/>"##, |
| 23 | 25 | "#ece5d8", |
| 26 | + WAVE, | |
| 24 | 27 | ) |
| 25 | 28 | } |
| 26 | 29 |