Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(icon): add new pen create icon for new create flow (#4705)

Aidan Holloway-Bidwell5eaa62a834d3
diff --git a/js/app/packages/app/component/app-sidebar/sidebar-create-menu.tsx b/js/app/packages/app/component/app-sidebar/sidebar-create-menu.tsx
index 89043e3eda..9a3f85f8ca 100644
--- a/js/app/packages/app/component/app-sidebar/sidebar-create-menu.tsx
+++ b/js/app/packages/app/component/app-sidebar/sidebar-create-menu.tsx
@@ -11,6 +11,7 @@ import {
import { setActiveScope } from '@core/hotkey/state';
import { TOKENS } from '@core/hotkey/tokens';
import { activateClosestDOMScope } from '@core/hotkey/utils';
+import CreateIcon from '@icon/square-pen-create.svg';
import PlusIcon from '@phosphor/plus.svg';
import { Button, cn, Dropdown, Hotkey, NavRow } from '@ui';
import { createMemo, createSignal, For, onCleanup, Show } from 'solid-js';
@@ -130,7 +131,7 @@ export const SidebarCreateMenu = (props: {
e.preventDefault();
}}
>
- <PlusIcon />
+ <CreateIcon />
</Dropdown.Trigger>
</Show>
<Dropdown.Content class="min-w-52 shadow-menu">
diff --git a/js/app/packages/icon/square-pen-create.svg b/js/app/packages/icon/square-pen-create.svg
new file mode 100644
index 0000000000..5f807740bf
--- /dev/null
+++ b/js/app/packages/icon/square-pen-create.svg
@@ -0,0 +1,6 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 18 18" fill="none" stroke="currentColor" stroke-width="1.125" stroke-linecap="round" stroke-linejoin="round" overflow="visible">
+<g transform="translate(3 3)">
+<path fill="none" fill-rule="evenodd" stroke="currentColor" d="M6.856027.562744H2.744083C1.539228.562744.5625,1.539472.5625,2.744327v6.511834c0,1.204855.976728,2.181583,2.181583,2.181583h6.511834c1.204855,0,2.181583-.976728,2.181583-2.181583v-4.215376"/>
+<path fill="currentColor" stroke="none" d="M11.437328,0c.144043,0,.288086.054688.397949.164551.219238.219727.219238.576172,0,.795898l-5.437988,5.4375c-.253567.233332-1.076189.719721-1.294939.499995-.219727-.219727.24857-1.028461.500017-1.295893L11.039379.164551c.109863-.109863.253906-.164551.397949-.164551Z"/>
+</g>
+</svg>