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 custom video call icons (#2826)

Aidan Holloway-Bidwellb6b877805284
diff --git a/js/app/packages/channel/Call/CallOverlay.tsx b/js/app/packages/channel/Call/CallOverlay.tsx
index 0b34007de6..6ecbe1736c 100644
--- a/js/app/packages/channel/Call/CallOverlay.tsx
+++ b/js/app/packages/channel/Call/CallOverlay.tsx
@@ -3,12 +3,12 @@ import { For, Show, createSignal, type Component, type JSX } from 'solid-js';
import { cn } from '@ui/utils/classname';
import { TrackView } from './TrackView';
import PhoneDisconnect from '@macro-icons/wide/call-disconnect.svg';
-import Microphone from '@icon/regular/microphone.svg';
-import MicrophoneSlash from '@icon/regular/microphone-slash.svg';
-import VideoCamera from '@icon/regular/video-camera.svg';
-import VideoCameraSlash from '@icon/regular/video-camera-slash.svg';
-import Screencast from '@icon/regular/screencast.svg';
-import Users from '@icon/regular/users.svg';
+import Microphone from '@macro-icons/wide/microphone.svg';
+import MicrophoneSlash from '@macro-icons/wide/microphone-slash.svg';
+import VideoCamera from '@macro-icons/wide/video.svg';
+import VideoCameraSlash from '@macro-icons/wide/video-slash.svg';
+import Screencast from '@macro-icons/wide/screencast.svg';
+import Users from '@macro-icons/wide/users.svg';
import CaretDown from '@icon/regular/caret-down.svg';
import { useToggleShareWithTeamMutation } from '@queries/call/call';
import { DropdownMenu } from '@kobalte/core/dropdown-menu';
diff --git a/js/app/packages/macro-icons/wide/microphone-slash.svg b/js/app/packages/macro-icons/wide/microphone-slash.svg
new file mode 100644
index 0000000000..3189249fa8
--- /dev/null
+++ b/js/app/packages/macro-icons/wide/microphone-slash.svg
@@ -0,0 +1,8 @@
+<svg width="100%" height="100%" viewBox="-2.265 -0.75 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10" xmlns="http://www.w3.org/2000/svg">
+<path stroke-linecap="round" d="M10.59,12.09c-1.03.9-2.37,1.44-3.84,1.44-2.62,0-4.83-1.72-5.57-4.1"/>
+<path stroke-linecap="round" d="M12.34,9.36c-.07.24-.15.47-.25.69"/>
+<path stroke-linecap="round" d="M9.75,7.71v-3.96c0-1.66-1.34-3-3-3-1.07,0-2.02.56-2.55,1.41"/>
+<path d="M3.75,5.25v2.5c0,1.66,1.34,3,3,3,.7,0,1.35-.24,1.86-.64"/>
+<line stroke-linecap="round" x1="6.75" y1="13.53" x2="6.75" y2="15.75"/>
+<polyline stroke-linecap="round" points=".75 2.25 4.05 5.55 12.72 14.22"/>
+</svg>
diff --git a/js/app/packages/macro-icons/wide/microphone.svg b/js/app/packages/macro-icons/wide/microphone.svg
new file mode 100644
index 0000000000..755060c077
--- /dev/null
+++ b/js/app/packages/macro-icons/wide/microphone.svg
@@ -0,0 +1,5 @@
+<svg width="100%" height="100%" viewBox="-2.67 -0.75 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10" xmlns="http://www.w3.org/2000/svg">
+<path stroke-linecap="round" d="M11.91,9.36c-.72,2.41-2.95,4.17-5.59,4.17S1.49,11.8.75,9.43"/>
+<path d="M9.32,3.75c0-1.66-1.34-3-3-3s-3,1.34-3,3v4c0,1.66,1.34,3,3,3s3-1.34,3-3V3.75Z"/>
+<line stroke-linecap="round" x1="6.32" y1="13.53" x2="6.32" y2="15.75"/>
+</svg>
diff --git a/js/app/packages/macro-icons/wide/screencast.svg b/js/app/packages/macro-icons/wide/screencast.svg
new file mode 100644
index 0000000000..e2e6ab43dc
--- /dev/null
+++ b/js/app/packages/macro-icons/wide/screencast.svg
@@ -0,0 +1,7 @@
+<svg width="100%" height="100%" viewBox="0 -3 18 18" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg">
+<polyline points="0 .75 17.25 .75 17.25 10.5"/>
+<line x1="16.5" y1="11.25" x2="10.5" y2="11.25"/>
+<path d="M0,9.75c1.24,0,2.25,1.01,2.25,2.25"/>
+<path d="M0,6.75c2.9,0,5.25,2.35,5.25,5.25"/>
+<path d="M0,3.75c4.56,0,8.25,3.69,8.25,8.25"/>
+</svg>
diff --git a/js/app/packages/macro-icons/wide/video-slash.svg b/js/app/packages/macro-icons/wide/video-slash.svg
new file mode 100644
index 0000000000..080ae2d588
--- /dev/null
+++ b/js/app/packages/macro-icons/wide/video-slash.svg
@@ -0,0 +1,6 @@
+<svg width="100%" height="100%" viewBox="0 -2.265 18 18" fill="none" stroke="currentColor" stroke-width="1.5" xmlns="http://www.w3.org/2000/svg">
+<polyline stroke-linejoin="round" points=".75 2.25 .75 12 12.25 12"/>
+<polyline stroke-linecap="round" stroke-miterlimit="10" points="13.12 9.7 13.12 1.5 4.92 1.5"/>
+<polygon stroke-linejoin="round" points="13.12 5.25 17.25 2.25 17.25 11.25 13.12 8.25 13.12 5.25"/>
+<polyline stroke-linecap="round" stroke-miterlimit="10" points="1 .75 4.3 4.05 12.97 12.72"/>
+</svg>