mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 06:59:22 +01:00
icons: Add SquareR icon (#66168)
## Summary Adds a `SquareR` icon to `IconName`, matching the existing `SquarePlus`, `SquareDot`, and `SquareMinus` status badges. It's meant for marking renamed files in diff and changes lists. The artwork is by Danilo. No Zed code uses it yet; this only adds the icon. ## Testing - `cargo check -p icons` - Rendered the SVG to confirm the artwork. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [ ] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [ ] Tests cover the new or changed behavior. Release Notes: - N/A
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path opacity="0.14" d="M11.5 2H4.5C3.11929 2 2 3.11929 2 4.5V11.5C2 12.8807 3.11929 14 4.5 14H11.5C12.8807 14 14 12.8807 14 11.5V4.5C14 3.11929 12.8807 2 11.5 2Z" fill="#DCE0E5"/>
|
||||
<path d="M4.5 2H11.5C12.8807 2 14 3.11929 14 4.5V11.5C14 12.8807 12.8807 14 11.5 14H4.5C3.11929 14 2 12.8807 2 11.5V4.5C2 3.11929 3.11929 2 4.5 2Z" stroke-width="0.75" stroke="#DCE0E5"/>
|
||||
<path d="M5.88477 12.3281C5.33398 12.3281 5 11.9883 5 11.4082V4.66992C5 4.08984 5.32812 3.75 5.88477 3.75H8.46289C10.4082 3.75 11.5215 4.77539 11.5215 6.44531C11.5215 7.5 11 8.40234 10.0684 8.80078L11.2871 10.9102C11.4336 11.1621 11.4746 11.3145 11.4746 11.5195C11.4746 11.9883 11.0996 12.3281 10.584 12.3281C10.1621 12.3281 9.96875 12.1758 9.68164 11.6602L8.27539 9.11133H6.76953V11.4082C6.76953 11.9883 6.44141 12.3281 5.88477 12.3281ZM6.76953 7.82812H8.29297C9.18359 7.82812 9.70508 7.31836 9.70508 6.48047C9.70508 5.66016 9.1543 5.13281 8.27539 5.13281H6.76953V7.82812Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
@@ -249,6 +249,7 @@ pub enum IconName {
|
||||
SquareDot,
|
||||
SquareMinus,
|
||||
SquarePlus,
|
||||
SquareR,
|
||||
Star,
|
||||
StarFilled,
|
||||
Stop,
|
||||
|
||||
Reference in New Issue
Block a user