zed/assets
Nate Butler ce848375fe
add ui::Vector and separate images from icons (#17815)
This PR pulls non-icon assets out of `ui::components::icon` in
preparation for icon standardization.

In the future icons will have standard names and sizes, and these image
assets won't conform to those constraints.

We can also add a `ui::components::image::Image` wrapper around the
`gpui::img` element in the future for any Zed-specific image styling we
want to enforce.

Of note:

```rust
#[derive(Debug, PartialEq, Eq, Copy, Clone, EnumIter, EnumString, IntoStaticStr, Serialize, Deserialize, DerivePathStr)]
#[strum(serialize_all = "snake_case")]
#[path_str(prefix = "images", suffix = ".svg")]
pub enum VectorName {
    ZedLogo,
    ZedXCopilot,
}
```

You can see in the above code we no longer need to manually specify
paths for image/icon enums like we currently do in
`ui::components::icon`.

The icon component will get this same treatment in the future, once we:

- do the design work needed to standardize the icons
- remove unused icons
- update icon names

Release Notes:

- N/A
2024-09-13 17:44:16 -04:00
..
fonts Fix font selection on macOS (#13615) 2024-06-27 17:02:45 -06:00
icons chore: Remove unused pin_alt.svg icon (#17450) 2024-09-05 21:42:42 +02:00
images add ui::Vector and separate images from icons (#17815) 2024-09-13 17:44:16 -04:00
keymaps Add keybinding to swap pane items (#15583) 2024-09-13 15:17:01 -04:00
prompts Have models indicate code locations in workflows using textual search, not symbol names (#17282) 2024-09-02 18:20:05 -07:00
settings Add ability to use o1-preview and o1-mini as custom models (#17804) 2024-09-13 15:42:15 -04:00
sounds
themes Revert accidental one theme changes (#17273) 2024-09-02 14:48:23 -04:00