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.

fix(icon): update some animated icons (#1875)

Aidan Holloway-Bidwell6d6ec095aa92
diff --git a/js/app/packages/app/component/app-sidebar/sidebar.tsx b/js/app/packages/app/component/app-sidebar/sidebar.tsx
index 61c90cc485..c0259a7292 100644
--- a/js/app/packages/app/component/app-sidebar/sidebar.tsx
+++ b/js/app/packages/app/component/app-sidebar/sidebar.tsx
@@ -2,18 +2,18 @@ import KeyboardIcon from '@icon/regular/keyboard.svg';
import GearIcon from '@phosphor-icons/core/regular/gear.svg?component-solid';
import { type Component, createSignal, For, type JSX, Show } from 'solid-js';
import { Dynamic } from 'solid-js/web';
-import SidebarIcon from '@phosphor-icons/core/fill/sidebar-simple-fill.svg?component-solid';
-import TrayIcon from '@phosphor-icons/core/bold/tray-bold.svg?component-solid';
import { AnimatedStarIcon } from '@macro-icons/wide/animating/star';
import { AnimatedEmailIcon } from '@macro-icons/wide/animating/email';
import { AnimatedTaskIcon } from '@macro-icons/wide/animating/task';
import { AnimatedChannelIcon } from '@macro-icons/wide/animating/channel';
import { AnimatedFileMdIcon } from '@macro-icons/wide/animating/fileMd';
import { AnimatedFolderIcon } from '@macro-icons/wide/animating/folder';
+import { AnimatedInboxIcon } from '@macro-icons/wide/animating/inbox';
+import { AnimatedSearchIcon } from '@macro-icons/wide/animating/search';
+import { AnimatedSidebarIcon } from '@macro-icons/wide/animating/sidebar';
import { useLocation } from '@solidjs/router';
import LogoIcon from '@macro-icons/macro-logo.svg';
import PlusIcon from '@phosphor-icons/core/bold/plus-bold.svg?component-solid';
-import SearchIcon from '@phosphor-icons/core/bold/magnifying-glass-bold.svg?component-solid';
import CommandIcon from '@phosphor-icons/core/assets/regular/command.svg';
import { LIST_VIEW_PATHS, type ListView } from '@app/constants/list-views';
import { LabelAndHotKey, Tooltip } from '@core/component/Tooltip';
@@ -49,14 +49,14 @@ export const SIDEBAR_LINKS = [
id: 'inbox',
label: 'Inbox',
href: LIST_VIEW_PATHS.inbox,
- icon: TrayIcon,
+ icon: AnimatedInboxIcon,
hotkey: 'i',
},
{
id: 'search',
label: 'Search',
href: LIST_VIEW_PATHS.search,
- icon: SearchIcon,
+ icon: AnimatedSearchIcon,
hotkey: '/',
standaloneHotkey: true,
},
@@ -176,6 +176,7 @@ export const AppSidebar = (props: AppSidebarProps) => {
const isExpanded = () => props.sidebarState === 'expanded';
const isSlim = () => props.sidebarState === 'slim';
+ const [sidebarBtnHovering, setSidebarBtnHovering] = createSignal(false);
return (
<>
@@ -243,10 +244,14 @@ export const AppSidebar = (props: AppSidebarProps) => {
<Button
variant="secondary"
size="icon-sm"
- class="rounded-xs"
+ class="rounded-xs [&_svg]:size-4"
onClick={() => props.onOpenChange(isSlim())}
+ onMouseEnter={() => setSidebarBtnHovering(true)}
+ onMouseLeave={() => setSidebarBtnHovering(false)}
>
- <SidebarIcon />
+ <AnimatedSidebarIcon
+ triggerAnimation={sidebarBtnHovering()}
+ />
</Button>
</Tooltip>
</Show>
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
index 289de2e59f..b8cb9b4a6e 100644
--- a/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/soup-view.tsx
@@ -1,4 +1,4 @@
-import PreviewIcon from '@macro-icons/wide/preview.svg';
+import { AnimatedPreviewIcon } from '@macro-icons/wide/animating/preview';
import CheckIcon from '@icon/bold/check-bold.svg';
import Spinner from '@icon/regular/spinner.svg';
import {
@@ -170,6 +170,8 @@ export const SoupView = (props: SoupViewProps) => {
soup.filters.set(props.initialClientFilters);
});
+ const [previewBtnHovering, setPreviewBtnHovering] = createSignal(false);
+
const togglePreview = () => {
const currentPreview = soup.previewEntity();
if (currentPreview) {
@@ -224,10 +226,14 @@ export const SoupView = (props: SoupViewProps) => {
<Button
variant={soup.previewEntity() ? 'primary' : 'ghost'}
size="icon-sm"
- class="rounded-xs"
+ class="rounded-xs [&_svg]:size-4"
onClick={togglePreview}
+ onMouseEnter={() => setPreviewBtnHovering(true)}
+ onMouseLeave={() => setPreviewBtnHovering(false)}
>
- <PreviewIcon class="size=6" />
+ <AnimatedPreviewIcon
+ triggerAnimation={previewBtnHovering()}
+ />
</Button>
</Tooltip>
</SplitHeaderRight>
diff --git a/js/app/packages/macro-icons/wide/animating/email.tsx b/js/app/packages/macro-icons/wide/animating/email.tsx
index bacd5437ef..bd3eb093a6 100644
--- a/js/app/packages/macro-icons/wide/animating/email.tsx
+++ b/js/app/packages/macro-icons/wide/animating/email.tsx
@@ -1,133 +1,120 @@
-import { createUniqueId } from 'solid-js';
+import { createEffect, createUniqueId } from 'solid-js';
+
+// All coordinates are stroke-centers: path is inset 0.75px from visual edges on all sides.
+// Body is two open L-shaped strokes; each stops 1.5px short of the missing corners.
+// stroke-linejoin="round" on each path provides r=0.75 rounding at the surviving corners.
+
+// ── Email (source) ───────────────────────────────────────────────────────────
+const BODY_A_D = 'M 1.5,0.75 L 17.25,0.75 L 17.25,10.5';
+// Top edge + right edge. Upper-right join rounded by stroke-linejoin.
+const BODY_B_D = 'M 16.5,11.25 L 0.75,11.25 L 0.75,1.5';
+// Bottom edge + left edge. Lower-left join rounded by stroke-linejoin.
+const FLAP_D = 'M 1.5,1.5 L 9,7.5 L 17.25,0.75';
+// 3-point V spanning the top of the envelope.
+
+// ── Paper plane (target) ─────────────────────────────────────────────────────
+// Right-pointing plane; nose at (17.25,6), fold crease at (0.75,7.5).
+const PLANE_A_D = 'M 1.5,0.75 L 17.25,0.75 L 4.5,11.25';
+// Top wing: back-top → nose → left fold crease.
+const PLANE_B_D = 'M 17.25,0.75 L 4.5,11.25 L 0.75,1';
+// Bottom wing: nose → back-bottom → left fold crease.
+const PLANE_C_D = 'M 0.75,1 L 4.5,11.25 L 17.25,0.75';
+// Spine crease: back-top → center → back-bottom.
+
+// ── Cutout triangle (fades in over paper plane) ───────────────────────────────
+// Derived from the inner notch in paper-plane-cutout.svg, scaled 24→18 (×0.75).
+// Original vertices (24-space): (4.73,8.91), (9.78,5.65), (3.80,6.39)
+const CUTOUT_D = 'M 3.5,6.7 L 7.3,4.2 L 2.85,4.8 Z';
+
+// WAAPI keyframe values — CSS `d` property requires path() wrapper for cross-browser support
+const p = (d: string) => `path('${d}')`;
+
+const DURATION = 400;
+const EASING = 'ease-in-out';
export const AnimatedEmailIcon = (props: { triggerAnimation?: boolean }) => {
- const maskId = createUniqueId();
+ const clipId = createUniqueId();
+ let bodyAEl!: SVGPathElement;
+ let bodyBEl!: SVGPathElement;
+ let flapEl!: SVGPathElement;
+ let cutoutEl!: SVGPathElement;
+ let prevTrigger = false;
+
+ createEffect(() => {
+ const trigger = !!props.triggerAnimation;
+ if (trigger === prevTrigger) return;
+ prevTrigger = trigger;
+
+ const direction = (trigger ? 'normal' : 'reverse') as PlaybackDirection;
+ const opts = {
+ duration: DURATION,
+ easing: EASING,
+ fill: 'forwards' as FillMode,
+ direction,
+ delay: trigger ? 0 : DURATION,
+ };
+
+ // stroke-linejoin isn't interpolatable — switch it at the boundary where it looks best:
+ // going forward (→ plane): round immediately so the join softens as the shape morphs.
+ // going back (→ email): revert to miter only after the reverse animation completes.
+ if (trigger) flapEl.setAttribute('stroke-linejoin', 'round');
+
+ const cutoutAnim = cutoutEl.animate(
+ trigger
+ ? [{ opacity: 0 }, { opacity: 1 }]
+ : [{ opacity: 1 }, { opacity: 0 }],
+ {
+ duration: DURATION,
+ easing: EASING,
+ fill: 'forwards' as FillMode,
+ delay: trigger ? DURATION : 0,
+ }
+ );
+
+ const anims = [
+ bodyAEl.animate([{ d: p(BODY_A_D) }, { d: p(PLANE_A_D) }], opts),
+ bodyBEl.animate([{ d: p(BODY_B_D) }, { d: p(PLANE_B_D) }], opts),
+ flapEl.animate([{ d: p(FLAP_D) }, { d: p(PLANE_C_D) }], opts),
+ ];
+
+ Promise.all([...anims, cutoutAnim].map((a) => a.finished)).then(() => {
+ [...anims, cutoutAnim].forEach((a) => {
+ try {
+ a.commitStyles();
+ a.cancel();
+ } catch (_) {}
+ });
+ if (!trigger) flapEl.setAttribute('stroke-linejoin', 'miter');
+ });
+ });
+
return (
<svg
width="100%"
height="100%"
viewBox="0 -3 18 18"
- fill="currentColor"
- stroke="none"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="1.5"
xmlns="http://www.w3.org/2000/svg"
- overflow="visible"
- class={`animated-email-icon ${props.triggerAnimation ? 'animating' : ''}`}
>
<title>Animated email icon</title>
- <style>{`
- @keyframes disappear {
- 0% { opacity: 1; }
- 100% { opacity: 0; }
- }
- @keyframes appear {
- 0% { opacity: 0; }
- 100% { opacity: 1; }
- }
- .animated-email-icon {
- .triangle, .notch {
- opacity: 0;
- }
- .notch {
- translate: -.5px .5px;
- }
- .left-line, .right-line, .bottom-line, .left-flap, .right-flap-1 {
- transition: transform 0.4s ease;
- }
- #${maskId} .moving-square {
- transition: transform 0.4s ease;
- transform-origin: -1 -1;
- }
- .left-line {
- transform-origin: .75px .75px;
- }
- .right-line {
- transform-origin: 17.25px .75px;
- }
- .bottom-line {
- transform-origin: .75px 10.75px;
- }
- .left-flap {
- transform-origin: 1.23px 0.17px;
- }
- .right-flap-1 {
- transform-origin: 17.73px 1.33px;
- }
- }
- .animated-email-icon.animating {
- .triangle, .notch {
- animation: appear 0.2s ease forwards .4s;
- }
- #${maskId} .moving-square {
- transition: transform 0.4s ease;
- transform: scaleX(1.2);
- }
- .left-line, .right-line, .bottom-line, .left-flap, .right-flap-1, .right-flap-2 {
- animation: disappear 0.4s ease forwards .4s;
- }
- .left-line {
- transform: rotate(-20deg);
- }
- .right-line {
- transform: rotate(50.5deg);
- }
- .bottom-line {
- transform: translate(3.5px, 0) rotate(-40deg);
- }
- .left-flap {
- transform: rotate(30deg);
- }
- .right-flap-1 {
- transform: translate(-4px, 3.1px);
- }
- }
- `}</style>
- <mask id={maskId}>
- <rect x="0" y="0" width="18" height="18" fill="white" />
- <rect
- class="moving-square"
- x="-1"
- y="-1"
- width="2.5"
- height="2.5"
- fill="black"
- />
- </mask>
- <g mask={`url(#${maskId})`}>
- <path
- class="triangle"
- d="M4.60001 12C4.53001 12 4.47001 12 4.40001 11.97C4.16001 11.91 3.98001 11.73 3.89001 11.5L0.0500093 1.01C-0.0399907 0.78 9.32813e-06 0.52 0.140009 0.32C0.280009 0.12 0.510009 0 0.750009 0H17.25C17.57 0 17.85 0.2 17.96 0.5C18.07 0.8 17.98 1.13 17.73 1.33L5.08001 11.83C4.94001 11.94 4.77001 12 4.60001 12ZM1.82001 1.5L4.93001 9.99L15.17 1.5H1.82001Z"
- />
- <path
- class="notch"
- d="M7.45815 4.23999L2.85815 4.81999L3.58815 6.78999L7.45815 4.23999Z"
- />
- <path
- class="top-line"
- d="M17.25 0H1.5V1.5H17.25C17.66 1.5 18 1.16 18 0.75C18 0.34 17.66 0 17.25 0Z"
- />
- <path
- class="right-line"
- d="M17.25 0C16.84 0 16.5 0.34 16.5 0.75V10.5H18V0.75C18 0.34 17.66 0 17.25 0Z"
- />
- <path
- class="bottom-line"
- d="M0.75 12H16.5V10.5H0.75C0.34 10.5 0 10.84 0 11.25C0 11.66 0.34 12 0.75 12Z"
- />
- <path
- class="left-line"
- d="M0.75 12C1.16 12 1.5 11.66 1.5 11.25V1.5H0V11.25C0 11.66 0.34 12 0.75 12Z"
- />
- <path
- class="left-flap"
- d="M9.00002 8.57004L0.27002 1.33004L1.23002 0.170044L9.00002 6.62004"
- />
- <path
- class="right-flap-1"
- d="M9 6.62004L16.77 0.170044L17.73 1.33004L9 8.57004"
- />
+ <defs>
+ {/* Clips out the top-left 1.5×1.5 missing corner (visual coords 0,0 → 1.5,1.5) */}
+ <clipPath id={clipId}>
+ <path d="M 1.5,-3 L 18,-3 L 18,15 L 0,15 L 0,1.5 L 1.5,1.5 Z" />
+ </clipPath>
+ </defs>
+ <g clip-path={`url(#${clipId})`}>
+ <path ref={bodyAEl} d={BODY_A_D} stroke-linejoin="round" />
+ <path ref={bodyBEl} d={BODY_B_D} stroke-linejoin="round" />
+ <path ref={flapEl} d={FLAP_D} />
<path
- class="right-flap-2"
- d="M9 6.62004L16.77 0.170044L17.73 1.33004L9 8.57004"
+ ref={cutoutEl}
+ d={CUTOUT_D}
+ fill="currentColor"
+ stroke="none"
+ style={{ opacity: 0 }}
/>
</g>
</svg>
diff --git a/js/app/packages/macro-icons/wide/animating/filter.tsx b/js/app/packages/macro-icons/wide/animating/filter.tsx
deleted file mode 100644
index 79ca830235..0000000000
--- a/js/app/packages/macro-icons/wide/animating/filter.tsx
+++ /dev/null
@@ -1,65 +0,0 @@
-export const AnimatedFilterIcon = (props: { triggerAnimation?: boolean }) => {
- return (
- <svg
- width="100%"
- height="100%"
- viewBox="0 -4.5 18 18"
- fill="currentColor"
- stroke="none"
- xmlns="http://www.w3.org/2000/svg"
- overflow="visible"
- class={`animated-filter-icon ${props.triggerAnimation ? 'animating' : ''}`}
- >
- <title>Animated filter icon</title>
- <style>{`
- @keyframes line-jiggle {
- 0% {
- transform: rotate(0deg) translateY(0);
- }
- 20% {
- transform: rotate(5deg) translateY(1px);
- }
- 40% {
- transform: rotate(-4deg) translateY(0.5px);
- }
- 60% {
- transform: rotate(3deg) translateY(0);
- }
- 80% {
- transform: rotate(-2deg) translateY(0);
- }
- 100% {
- transform: rotate(0deg) translateY(0);
- }
- }
-
- .animated-filter-icon .line-top {
- transform-origin: 9px 0.75px;
- }
- .animated-filter-icon .line-middle {
- transform-origin: 9px 4.5px;
- }
- .animated-filter-icon .line-bottom {
- transform-origin: 9px 8.25px;
- }
-
- .animated-filter-icon.animating .line-top {
- animation: line-jiggle 0.3s ease-in-out;
- }
- .animated-filter-icon.animating .line-middle {
- animation: line-jiggle 0.3s ease-in-out 0.1s;
- }
- .animated-filter-icon.animating .line-bottom {
- animation: line-jiggle 0.3s ease-in-out 0.2s;
- }
- `}</style>
-
- {/* Top line - widest */}
- <rect class="line-top" width="18" height="1.5" />
- {/* Middle line */}
- <rect class="line-middle" x="3" y="3.75" width="12" height="1.5" />
- {/* Bottom line - narrowest */}
- <rect class="line-bottom" x="6" y="7.5" width="6" height="1.5" />
- </svg>
- );
-};
diff --git a/js/app/packages/macro-icons/wide/animating/search.tsx b/js/app/packages/macro-icons/wide/animating/search.tsx
index cc65c01e59..f746f416c6 100644
--- a/js/app/packages/macro-icons/wide/animating/search.tsx
+++ b/js/app/packages/macro-icons/wide/animating/search.tsx
@@ -21,58 +21,113 @@ export const AnimatedSearchIcon = (props: { triggerAnimation?: boolean }) => {
</clipPath>
</defs>
<style>{`
- .animated-search-icon .handle {
- transform-origin: 5.25px 5.25px;
- transition: transform 0.3s ease-out;
- }
+ .animated-search-icon {
+ .magnifying-glass {
+ transform-origin: 5.25px 5.25px;
+ transition: transform 0.4s ease;
+ transform: rotate(-45deg);
- .animated-search-icon .reflection {
- opacity: 0;
- }
+ .line-west {
+ transform-origin: -0.25px 5px;
+ transition: transform 0.4s ease;
+ transform: translate(0, 0) scaleX(0);
+ }
- .animated-search-icon.animating .handle {
- animation: search-handle-rotate 0.6s ease-in-out forwards;
- }
+ .line-north {
+ transform-origin: 5.25px 0px;
+ transition: transform 0.4s ease;
+ transform: translate(0, 0) scaleY(0);
+ }
- .animated-search-icon.animating .reflection {
- animation: search-reflection-sweep 0.4s ease-in-out forwards 0.1s;
- }
+ .line-east {
+ transform-origin: 10.75px 5px;
+ transition: transform 0.4s ease;
+ transform: translate(0, 0) scaleX(0);
+ }
- @keyframes search-handle-rotate {
- 0% {
- transform: rotate(0deg);
- }
- 50% {
- transform: rotate(-20deg);
- }
- 100% {
- transform: rotate(0deg);
+ .line-south {
+ transition: transform 0.4s ease;
+ transform: translate(0, 0);
+ }
}
}
+ .animated-search-icon.animating {
+ .magnifying-glass {
+ transform: translate(3.75px, 0.75px) rotate(0deg);
- @keyframes search-reflection-sweep {
- 0% {
- opacity: 1;
- transform: rotate(45deg) translate(-8px, 0);
- }
- 100% {
- opacity: 0;
- transform: rotate(45deg) translate(8px, 0);
+ .line-west {
+ transform: translate(2px, 0) scaleX(1);
+ }
+ .line-east {
+ transform: translate(-2px, 0) scaleX(1);
+ }
+ .line-north {
+ transform: translate(0, 2px) scaleY(1);
+ }
+ .line-south {
+ transform: translate(0, -2px);
+ }
}
}
`}</style>
- {/* Magnifying glass circle (lens) */}
- <path
- class="glass"
- d="M5.25,10.5c-2.9,0-5.25-2.36-5.25-5.25S2.35,0,5.25,0s5.25,2.35,5.25,5.25-2.35,5.25-5.25,5.25ZM5.25,1.5c-2.07,0-3.75,1.68-3.75,3.75s1.68,3.75,3.75,3.75,3.75-1.68,3.75-3.75-1.68-3.75-3.75-3.75Z"
- />
+ <g class="magnifying-glass">
+ {/* Magnifying glass circle (lens) */}
+ <path
+ class="glass"
+ d="M5.25,10.5c-2.9,0-5.25-2.36-5.25-5.25S2.35,0,5.25,0s5.25,2.35,5.25,5.25-2.35,5.25-5.25,5.25ZM5.25,1.5c-2.07,0-3.75,1.68-3.75,3.75s1.68,3.75,3.75,3.75,3.75-1.68,3.75-3.75-1.68-3.75-3.75-3.75Z"
+ />
+
+ <line
+ class="line-south"
+ x1="5.25"
+ y1="10.5"
+ x2="5.25"
+ y2="13.5"
+ stroke="currentColor"
+ stroke-width="1.5"
+ stroke-linecap="round"
+ />
+
+ <line
+ class="line-west"
+ x1="-3.25"
+ y1="5"
+ x2="-.25"
+ y2="5"
+ stroke="currentColor"
+ stroke-width="1.5"
+ stroke-linecap="round"
+ />
+
+ <line
+ class="line-north"
+ x1="5.25"
+ y1="-3"
+ x2="5.25"
+ y2="0"
+ stroke="currentColor"
+ stroke-width="1.5"
+ stroke-linecap="round"
+ />
+
+ <line
+ class="line-east"
+ x1="10.75"
+ y1="5"
+ x2="13.75"
+ y2="5"
+ stroke="currentColor"
+ stroke-width="1.5"
+ stroke-linecap="round"
+ />
+ </g>
{/* Handle */}
- <path
+ {/* <path
class="handle"
d="M11.25,12c-.19,0-.38-.07-.53-.22l-2.5-2.5c-.29-.29-.29-.77,0-1.06s.77-.29,1.06,0l2.5,2.5c.29.29.29.77,0,1.06-.15.15-.34.22-.53.22Z"
- />
+ /> */}
{/* Reflection shine effect - clipped to the glass circle */}
<g clip-path={`url(#${clipId})`}>
diff --git a/js/app/packages/macro-icons/wide/animating/sidebar.tsx b/js/app/packages/macro-icons/wide/animating/sidebar.tsx
index c413d56410..19cb5e668c 100644
--- a/js/app/packages/macro-icons/wide/animating/sidebar.tsx
+++ b/js/app/packages/macro-icons/wide/animating/sidebar.tsx
@@ -75,8 +75,8 @@ export const AnimatedSidebarIcon = (props: { triggerAnimation?: boolean }) => {
{/* Vertical divider */}
<rect x="6" y="0.75" width="1.5" height="10.5" />
{/* Content lines */}
- <rect x="2.5" y="3" width="2.5" height="1" />
- <rect x="2.5" y="5.5" width="2.5" height="1" />
+ <rect x="2.5" y="2.5" width="2.5" height="1" />
+ <rect x="2.5" y="4.5" width="2.5" height="1" />
</g>
</g>
</svg>
diff --git a/js/app/packages/macro-icons/wide/animating/sort.tsx b/js/app/packages/macro-icons/wide/animating/sort.tsx
new file mode 100644
index 0000000000..edf60a2e9f
--- /dev/null
+++ b/js/app/packages/macro-icons/wide/animating/sort.tsx
@@ -0,0 +1,41 @@
+export const AnimatedSortIcon = (props: { triggerAnimation?: boolean }) => {
+ return (
+ <svg
+ width="100%"
+ height="100%"
+ viewBox="0 -4.5 18 18"
+ fill="currentColor"
+ stroke="none"
+ xmlns="http://www.w3.org/2000/svg"
+ overflow="visible"
+ class={`animated-sort-icon ${props.triggerAnimation ? 'animating' : ''}`}
+ >
+ <title>Animated sort icon</title>
+ <style>{`
+ .animated-sort-icon {
+ .line-top {
+ transition: transform 0.3s ease-in-out;
+ }
+ .line-bottom {
+ transition: transform 0.3s ease-in-out 0.07s;
+ }
+ }
+ .animated-sort-icon.animating {
+ .line-top {
+ transform: translateY(7.5px);
+ }
+ .line-bottom {
+ transform: translateY(-7.5px);
+ }
+ }
+ `}</style>
+
+ {/* Top line - widest */}
+ <rect class="line-top" width="18" height="1.5" />
+ {/* Middle line */}
+ <rect class="line-middle" x="3" y="3.75" width="12" height="1.5" />
+ {/* Bottom line - narrowest */}
+ <rect class="line-bottom" x="6" y="7.5" width="6" height="1.5" />
+ </svg>
+ );
+};
diff --git a/js/app/packages/macro-icons/wide/filter.svg b/js/app/packages/macro-icons/wide/filter.svg
deleted file mode 100644
index b320ed0e14..0000000000
--- a/js/app/packages/macro-icons/wide/filter.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-<svg width="100%" height="100%" viewBox="0 -4.5 18 18" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
-<path d="M18 0H0V1.5H18V0Z"/>
-<path d="M15 3.75H3V5.25H15V3.75Z"/>
-<path d="M12 7.5H6V9H12V7.5Z"/>
-</svg>
diff --git a/js/app/packages/macro-icons/wide/sort.svg b/js/app/packages/macro-icons/wide/sort.svg
index 1cfccfbb04..b320ed0e14 100644
--- a/js/app/packages/macro-icons/wide/sort.svg
+++ b/js/app/packages/macro-icons/wide/sort.svg
@@ -1,5 +1,5 @@
-<svg width="100%" height="100%" viewBox="0 0 24 24" fill="currentColor" stroke="none" xmlns="http://www.w3.org/2000/svg">
-<rect x="3" y="6" width="18" height="2"/>
-<rect x="6" y="11" width="12" height="2"/>
-<rect x="9" y="16" width="6" height="2"/>
+<svg width="100%" height="100%" viewBox="0 -4.5 18 18" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
+<path d="M18 0H0V1.5H18V0Z"/>
+<path d="M15 3.75H3V5.25H15V3.75Z"/>
+<path d="M12 7.5H6V9H12V7.5Z"/>
</svg>