Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
chore(style): remove opacity modfied from hover/N bgs (#3073)
Seamusfa46de945b1d
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-entity-context-menu.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-entity-context-menu.tsxindex 2d77c7d5a6..794e23f562 100644--- a/js/app/packages/app/component/next-soup/soup-view/soup-entity-context-menu.tsx+++ b/js/app/packages/app/component/next-soup/soup-view/soup-entity-context-menu.tsx@@ -36,7 +36,7 @@ export const SoupEntityContextMenu: FlowComponent<</Match><Match when={true}><ContextMenu onOpenChange={props.onOpenChange}>- <ContextMenu.Trigger class="size-full">+ <ContextMenu.Trigger class="size-full group/cm-trigger">{props.children}</ContextMenu.Trigger><ContextMenu.Portal>diff --git a/js/app/packages/block-automation/component/Automation.tsx b/js/app/packages/block-automation/component/Automation.tsxindex d1b1d0f987..fef1962ccf 100644--- a/js/app/packages/block-automation/component/Automation.tsx+++ b/js/app/packages/block-automation/component/Automation.tsx@@ -60,7 +60,7 @@ function HistoryRow(props: { record: HistoryRecord }) {<divclass={cn('flex items-center gap-2 border-b border-edge-muted px-3 py-2 text-sm',- clickable() ? 'cursor-default hover:bg-hover/30' : 'cursor-default'+ clickable() ? 'cursor-default hover:bg-hover' : 'cursor-default')}onClick={() => {const id = chatId();@@ -332,7 +332,7 @@ export function Automation() {'cursor-default border rounded-sm px-2 py-1 text-xs transition-colors',d().frequency === option.value? 'border-accent/30 bg-accent/10 text-accent'- : 'border-edge-muted text-ink-muted hover:bg-hover/30'+ : 'border-edge-muted text-ink-muted hover:bg-hover')}onClick={() =>setState((current) => ({@@ -364,7 +364,7 @@ export function Automation() {'cursor-default border rounded-sm px-2 py-1 text-xs transition-colors',active()? 'border-accent/30 bg-accent/10 text-accent'- : 'border-edge-muted text-ink-muted hover:bg-hover/30'+ : 'border-edge-muted text-ink-muted hover:bg-hover')}onClick={() =>setState((current) => {diff --git a/js/app/packages/block-automation/component/AutomationComposer.tsx b/js/app/packages/block-automation/component/AutomationComposer.tsxindex d96b2a4854..e8467f63f2 100644--- a/js/app/packages/block-automation/component/AutomationComposer.tsx+++ b/js/app/packages/block-automation/component/AutomationComposer.tsx@@ -135,7 +135,7 @@ export function AutomationComposer() {'cursor-default border rounded-sm px-2 py-1 text-xs transition-colors',active? 'border-accent/30 bg-accent/10 text-accent'- : 'border-edge-muted text-ink-muted hover:bg-hover/30'+ : 'border-edge-muted text-ink-muted hover:bg-hover');return (diff --git a/js/app/packages/block-call/component/CallRecording/CallRecordingParticipants.tsx b/js/app/packages/block-call/component/CallRecording/CallRecordingParticipants.tsxindex fffad382d8..aed7120d76 100644--- a/js/app/packages/block-call/component/CallRecording/CallRecordingParticipants.tsx+++ b/js/app/packages/block-call/component/CallRecording/CallRecordingParticipants.tsx@@ -63,7 +63,7 @@ export function CallRecordingParticipantsSection(props: {{(participant) => (<buttontype="button"- class="flex items-center gap-2 min-h-10 px-2 py-2 text-sm w-full border-b border-edge-muted/50 last:border-b-0 hover:bg-hover/30 text-left "+ class="flex items-center gap-2 min-h-10 px-2 py-2 text-sm w-full border-b border-edge-muted/50 last:border-b-0 hover:bg-hover text-left "onClick={() => openDirectMessage(participant.userId)}><div class="shrink-0">diff --git a/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx b/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsxindex 58c487d75b..71639bfb2d 100644--- a/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx+++ b/js/app/packages/block-call/component/CallRecording/CallRecordingSectionShell.tsx@@ -71,7 +71,7 @@ export function CallRecordingSectionShell(props: {<Show when={props.onToggle}><buttontype="button"- class="ml-auto shrink-0 rounded-xs border border-edge-muted/50 px-2 py-1 text-xs font-medium text-ink-muted hover:bg-hover/30 hover:text-ink flex items-center gap-1.5 transition-colors"+ class="ml-auto shrink-0 rounded-xs border border-edge-muted/50 px-2 py-1 text-xs font-medium text-ink-muted hover:bg-hover hover:text-ink flex items-center gap-1.5 transition-colors"aria-expanded={props.open}aria-label={toggleLabel()}title={toggleLabel()}@@ -96,7 +96,7 @@ export function CallRecordingSectionShell(props: {><buttontype="button"- class="isolate sticky top-0 z-10 flex w-full min-w-0 shrink-0 items-center gap-2 border-b border-edge-muted/50 bg-panel px-4 py-2 text-left @[860px]:py-4 hover:bg-hover/20 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40 focus-visible:ring-offset-0"+ class="isolate sticky top-0 z-10 flex w-full min-w-0 shrink-0 items-center gap-2 border-b border-edge-muted/50 bg-panel px-4 py-2 text-left @[860px]:py-4 hover:bg-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent/40 focus-visible:ring-offset-0"aria-expanded={props.open}aria-label={toggleLabel()}title={toggleLabel()}diff --git a/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts b/js/app/packages/block-call/component/CallRecording/call-recording-utils.tsindex aa4d79f4e9..e6ab70ecdd 100644--- a/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts+++ b/js/app/packages/block-call/component/CallRecording/call-recording-utils.ts@@ -56,4 +56,4 @@ export const CALL_META_STRIP_TOGGLE_ACTIVE ='inline-flex items-center justify-center font-medium focus-visible:outline-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 bg-ink text-page not-disabled:hover:bg-ink/90 not-disabled:active:bg-ink/80 py-1 text-xs gap-1 rounded-xs [&_svg]:size-4 px-1 border border-transparent';export const CALL_META_STRIP_TOGGLE_IDLE =- 'flex shrink-0 items-center gap-1.5 rounded-xs border border-edge-muted/50 px-2 py-1.5 text-xs font-medium text-ink-muted transition-colors hover:bg-hover/30 hover:text-ink focus-visible:outline-none';+ 'flex shrink-0 items-center gap-1.5 rounded-xs border border-edge-muted px-2 py-1.5 text-xs font-medium text-ink-muted transition-colors hover:bg-hover hover:text-ink focus-visible:outline-none';diff --git a/js/app/packages/channel/Attachments/AttachmentEntityRow.tsx b/js/app/packages/channel/Attachments/AttachmentEntityRow.tsxindex 6821f38b51..1c2254d892 100644--- a/js/app/packages/channel/Attachments/AttachmentEntityRow.tsx+++ b/js/app/packages/channel/Attachments/AttachmentEntityRow.tsx@@ -13,7 +13,7 @@ export function AttachmentEntityRow(props: {<Entity.Rootentity={props.entity}onClick={() => props.onClick?.()}- class="flex items-center gap-2 min-h-10 px-2 text-sm hover:bg-hover/30 w-full"+ class="flex items-center gap-2 min-h-10 px-2 text-sm hover:bg-hover w-full"><div class="size-4 shrink-0"><Entity.Icon entity={props.entity} />diff --git a/js/app/packages/channel/Participants/ParticipantsListItem.tsx b/js/app/packages/channel/Participants/ParticipantsListItem.tsxindex 402350cf80..6e7ed46896 100644--- a/js/app/packages/channel/Participants/ParticipantsListItem.tsx+++ b/js/app/packages/channel/Participants/ParticipantsListItem.tsx@@ -24,7 +24,7 @@ export function ParticipantsListItem(props: {);return (- <div class="flex items-center gap-2 min-h-10 px-2 py-2 text-sm w-full border-b border-edge-muted last:border-b-0 hover:bg-hover/30">+ <div class="flex items-center gap-2 min-h-10 px-2 py-2 text-sm w-full border-b border-edge-muted last:border-b-0 hover:bg-hover"><button{...navigationHandlers}type="button"diff --git a/js/app/packages/core/component/DocumentPreview.tsx b/js/app/packages/core/component/DocumentPreview.tsxindex 66d2659e11..727cdc490e 100644--- a/js/app/packages/core/component/DocumentPreview.tsx+++ b/js/app/packages/core/component/DocumentPreview.tsx@@ -774,7 +774,7 @@ export function PopupPreview(props: {{/* Task properties: status, priority, assignees */}<Show when={props.documentInfo.type === 'task'}><Suspense- fallback={<div class="w-full bg-hover/50 h-4 m-2" />}+ fallback={<div class="w-full bg-active h-4 m-2" />}><TaskPropertiesPreview taskId={props.documentInfo.id} /></Suspense>diff --git a/js/app/packages/core/component/LexicalMarkdown/component/decorator/DocumentCard.tsx b/js/app/packages/core/component/LexicalMarkdown/component/decorator/DocumentCard.tsxindex f3f9d49d9c..7b7de8b555 100644--- a/js/app/packages/core/component/LexicalMarkdown/component/decorator/DocumentCard.tsx+++ b/js/app/packages/core/component/LexicalMarkdown/component/decorator/DocumentCard.tsx@@ -452,9 +452,7 @@ function DocumentCardInner(props: DocumentCardDecoratorProps) {{/*<div class="h-2"/>*/}<DocumentInfo item={item()} blockName={props.blockName} /><Show when={props.blockName === 'task'}>- <Suspense- fallback={<div class="w-full bg-hover/50 h-4 m-2" />}- >+ <Suspense fallback={<div class="w-full bg-active h-4 m-2" />}><TaskPropertiesPreview taskId={item().id} /></Suspense></Show>diff --git a/js/app/packages/core/component/Properties/component/modal/shared/Dropdown.tsx b/js/app/packages/core/component/Properties/component/modal/shared/Dropdown.tsxindex 44e70b6f32..2c8a9d8a2f 100644--- a/js/app/packages/core/component/Properties/component/modal/shared/Dropdown.tsx+++ b/js/app/packages/core/component/Properties/component/modal/shared/Dropdown.tsx@@ -153,7 +153,7 @@ export const Dropdown = <T extends string | number>(? 'opacity-50 cursor-not-allowed': isSelected()? 'bg-active text-ink'- : 'hover:bg-hover/50 text-ink'+ : 'hover:bg-hover text-ink')}>{props.renderOption?.(option, isSelected()) ??diff --git a/js/app/packages/core/component/Properties/component/propertyValue/CondensedPropertyValue.tsx b/js/app/packages/core/component/Properties/component/propertyValue/CondensedPropertyValue.tsxindex 3f4a9a96e1..de1796bc78 100644--- a/js/app/packages/core/component/Properties/component/propertyValue/CondensedPropertyValue.tsx+++ b/js/app/packages/core/component/Properties/component/propertyValue/CondensedPropertyValue.tsx@@ -56,7 +56,7 @@ export const CondensedPropertyValue: Component<CondensedPropertyValueProps> = (class={cn('inline-flex items-center text-xs leading-none text-ink-muted shrink-0 py-1.5 h-6.5 transition-colors px-1.5',{- 'hover:border-edge-muted hover:bg-hover/50': props.canEdit,+ 'hover:border-edge-muted hover:bg-hover': props.canEdit,'opacity-50': !validValue(),})}diff --git a/js/app/packages/core/component/Properties/component/propertyValue/DateValue.tsx b/js/app/packages/core/component/Properties/component/propertyValue/DateValue.tsxindex ddb7845b4b..a5f6dae0f8 100644--- a/js/app/packages/core/component/Properties/component/propertyValue/DateValue.tsx+++ b/js/app/packages/core/component/Properties/component/propertyValue/DateValue.tsx@@ -60,7 +60,7 @@ export const DateValue: Component<PropertyValueProps> = (props) => {class={cn('inline-flex items-center leading-none shrink-0 py-1.5 h-6.5 transition-colors border border-edge-muted px-1.5',{- 'hover:border-edge-muted hover:bg-hover/50': props.canEdit,+ 'hover:border-edge-muted hover:bg-hover': props.canEdit,})}>diff --git a/js/app/packages/core/component/UserTooltip.tsx b/js/app/packages/core/component/UserTooltip.tsxindex a0d6647b6a..ab42f164ab 100644--- a/js/app/packages/core/component/UserTooltip.tsx+++ b/js/app/packages/core/component/UserTooltip.tsx@@ -77,7 +77,7 @@ export function UserTooltip(props: UserTooltipProps) {};const buttonStyle =- 'px-3 text-xs w-full justify-start hover:bg-hover/20 rounded-xs';+ 'px-3 text-xs w-full justify-start hover:bg-hover rounded-xs';return (<Panel depth={2} active>diff --git a/js/app/packages/entity/src/composed/ListEntity.tsx b/js/app/packages/entity/src/composed/ListEntity.tsxindex 4cebde5cc9..a66176036f 100644--- a/js/app/packages/entity/src/composed/ListEntity.tsx+++ b/js/app/packages/entity/src/composed/ListEntity.tsx@@ -215,9 +215,9 @@ export function ListEntity(props: ListEntityProps) {{'min-h-10': !isMobile(),'bg-accent/5': props.checked,- 'hover:bg-hover/30':+ 'hover:bg-hover group-data-expanded/cm-trigger:bg-hover':!props.checked && !props.highlighted && !props.hovered,- 'bg-hover/20': props.hovered && !props.highlighted && !props.checked,+ 'bg-hover': props.hovered && !props.highlighted && !props.checked,'bg-accent/5 outline-1 outline-accent/20 -outline-offset-1':props.highlighted && !isMobile(),}