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(colors): fix strange color in share menu (#5691)

Seamus86a1095bf72d
diff --git a/apps/web/src/lib/core/component/ForwardToChannel.tsx b/apps/web/src/lib/core/component/ForwardToChannel.tsx
index f98992780d..aec47aa40e 100644
--- a/apps/web/src/lib/core/component/ForwardToChannel.tsx
+++ b/apps/web/src/lib/core/component/ForwardToChannel.tsx
@@ -449,7 +449,7 @@ export function ForwardToChannel(props: ForwardToChannelProps) {
>
<Show when={isAuthenticated()}>
{/* Row 1: Recipient input + ShareOptions */}
- <div class="flex items-center pr-2">
+ <div class="flex items-center bg-surface pr-2">
<div class="min-w-0 flex-1 min-h-11">
<RecipientSelector<'user' | 'contact' | 'channel'>
placeholder="To: Email or group"
diff --git a/apps/web/src/lib/core/component/TopBar/ShareButton.tsx b/apps/web/src/lib/core/component/TopBar/ShareButton.tsx
index 0a7f283724..7256fcd8f7 100644
--- a/apps/web/src/lib/core/component/TopBar/ShareButton.tsx
+++ b/apps/web/src/lib/core/component/TopBar/ShareButton.tsx
@@ -979,7 +979,7 @@ export function ShareModal(props: ShareModalProps) {
style={{ width: '800px' }}
>
{/* Card 1: Share form — gradient border */}
- <Panel depth={2} class="rounded-xl">
+ <Panel depth={2} class="rounded-xl bg-dialog">
<Panel.Header class="px-4">
<Dialog.Title class="flex items-center gap-1.5 min-w-0 overflow-hidden whitespace-nowrap w-full text-sm font-medium">
<span class="shrink-0">Share:</span>
@@ -1015,7 +1015,7 @@ export function ShareModal(props: ShareModalProps) {
{/* Card 2: Recipients — plain border */}
<Show when={(recipients()?.length ?? 0) > 0 || !!props.owner}>
- <Panel depth={2} class="rounded-xl">
+ <Panel depth={2} class="rounded-xl bg-dialog">
<Panel.Header class="px-4">
<span class="text-sm font-medium">
People with access to this{' '}
@@ -1149,7 +1149,7 @@ export function ShareModal(props: ShareModalProps) {
!isLinkSharingDisabledForItem(props.itemType)
}
>
- <Panel depth={2} class="rounded-xl">
+ <Panel depth={2} class="rounded-xl bg-dialog">
<Panel.Body>
<LinkSharingControls
linkShare={linkShare()}