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(soup): list item hover bg hard to see (#5564)

dev-rbf45972201ceb
diff --git a/apps/web/src/features/entity/composed/ListEntity.tsx b/apps/web/src/features/entity/composed/ListEntity.tsx
index 71da23504d..f2a2e08860 100644
--- a/apps/web/src/features/entity/composed/ListEntity.tsx
+++ b/apps/web/src/features/entity/composed/ListEntity.tsx
@@ -214,9 +214,8 @@ export function ListEntity(props: ListEntityProps) {
'min-h-9 mx-1': !isMobile() && usesCondensedNarrowLayout(),
'bg-accent/8': props.checked,
'bg-accent/16': props.checked && props.highlighted,
- 'bg-hover/30':
- props.highlighted && !props.checked && !isTouchDevice(),
- 'hover:bg-hover/30':
+ 'bg-hover': props.highlighted && !props.checked && !isTouchDevice(),
+ 'hover:bg-hover/65':
!props.highlighted && !props.checked && !isTouchDevice(),
}
)}
diff --git a/apps/web/src/features/next-soup/soup-view/views/companies/CompanyListEntity.tsx b/apps/web/src/features/next-soup/soup-view/views/companies/CompanyListEntity.tsx
index da4011c203..57e1454a38 100644
--- a/apps/web/src/features/next-soup/soup-view/views/companies/CompanyListEntity.tsx
+++ b/apps/web/src/features/next-soup/soup-view/views/companies/CompanyListEntity.tsx
@@ -88,9 +88,8 @@ export function CompanyListEntity(props: BaseListEntityProps) {
'bg-accent/8': props.checked,
'bg-accent/16':
props.checked && props.highlighted && !isTouchDevice(),
- 'bg-active/60':
- props.highlighted && !props.checked && !isTouchDevice(),
- 'hover:bg-active/30':
+ 'bg-hover': props.highlighted && !props.checked && !isTouchDevice(),
+ 'hover:bg-hover/65':
!props.highlighted && !props.checked && !isTouchDevice(),
}
)}
diff --git a/apps/web/src/features/next-soup/soup-view/views/inbox/InboxCard.tsx b/apps/web/src/features/next-soup/soup-view/views/inbox/InboxCard.tsx
index 18e6338b2a..01a75e3c83 100644
--- a/apps/web/src/features/next-soup/soup-view/views/inbox/InboxCard.tsx
+++ b/apps/web/src/features/next-soup/soup-view/views/inbox/InboxCard.tsx
@@ -45,9 +45,8 @@ function Root(props: RootProps): JSX.Element {
{
'bg-accent/8': props.selected,
'bg-accent/16': props.selected && props.highlighted,
- 'bg-hover/50':
- props.highlighted && !props.selected && !isTouchDevice(),
- 'hover:bg-hover/50':
+ 'bg-hover': props.highlighted && !props.selected && !isTouchDevice(),
+ 'hover:bg-hover/65':
!props.highlighted && !props.selected && !isTouchDevice(),
},
props.class
diff --git a/apps/web/src/features/next-soup/soup-view/views/tasks/TaskListEntity.tsx b/apps/web/src/features/next-soup/soup-view/views/tasks/TaskListEntity.tsx
index 8e12f2468a..01cc2d6844 100644
--- a/apps/web/src/features/next-soup/soup-view/views/tasks/TaskListEntity.tsx
+++ b/apps/web/src/features/next-soup/soup-view/views/tasks/TaskListEntity.tsx
@@ -151,9 +151,8 @@ export function TaskListEntity(props: TaskListEntityProps) {
'bg-accent/8': props.checked,
'bg-accent/16':
props.checked && props.highlighted && !isTouchDevice(),
- 'bg-active/60':
- props.highlighted && !props.checked && !isTouchDevice(),
- 'hover:bg-active/30':
+ 'bg-hover': props.highlighted && !props.checked && !isTouchDevice(),
+ 'hover:bg-hover/65':
!props.highlighted && !props.checked && !isTouchDevice(),
}
)}