diff --git a/apps/web/src/app.tsx b/apps/web/src/app.tsx index 2bf2763dd..0920780fe 100644 --- a/apps/web/src/app.tsx +++ b/apps/web/src/app.tsx @@ -178,7 +178,7 @@ function DesktopAppContents({ flexDirection: "column", flex: 1, bg: "background", - borderRight: "1px solid var(--border)" + borderRight: "1px solid var(--separator)" }} > {isAppLoaded && } diff --git a/apps/web/src/components/list-container/index.tsx b/apps/web/src/components/list-container/index.tsx index db801ee2d..129260bf6 100644 --- a/apps/web/src/components/list-container/index.tsx +++ b/apps/web/src/components/list-container/index.tsx @@ -159,10 +159,9 @@ function ListContainer(props: ListContainerProps) { onKeyDown={(e) => onKeyDown(e.nativeEvent)} components={{ Scroller: CustomScrollbarsVirtualList, - Item: (props) => ( + Item: ({ item: _item, ...props }) => (
onFocus(props["data-item-index"])} onMouseDown={(e) => onMouseDown(e.nativeEvent, props["data-item-index"]) diff --git a/apps/web/src/components/list-item/index.tsx b/apps/web/src/components/list-item/index.tsx index 8eeb506c8..a4c908b5c 100644 --- a/apps/web/src/components/list-item/index.tsx +++ b/apps/web/src/components/list-item/index.tsx @@ -76,6 +76,7 @@ function ListItem(props: ListItemProps) { ? store.selectedItems.length > 1 && isInSelection : isInSelection; }); + const selected = isSelected || isMenuTarget || isFocused; return ( { @@ -172,7 +169,8 @@ function ListItem(props: ListItemProps) { overflow: "hidden", textOverflow: "ellipsis", fontWeight: isCompact || isSimple ? "body" : "bold", - color: heading, + color: + selected && heading === "heading" ? `${heading}-selected` : heading, display: "block" }} > @@ -185,6 +183,7 @@ function ListItem(props: ListItemProps) { variant="body" data-test-id={`description`} sx={{ + color: selected ? "paragraph-selected" : "paragraph", lineHeight: `1.2rem`, overflow: "hidden", textOverflow: "ellipsis", diff --git a/apps/web/src/components/navigation-menu/index.tsx b/apps/web/src/components/navigation-menu/index.tsx index 376648506..0059b3c8a 100644 --- a/apps/web/src/components/navigation-menu/index.tsx +++ b/apps/web/src/components/navigation-menu/index.tsx @@ -141,7 +141,19 @@ function NavigationMenu(props: NavigationMenuProps) { }, [location, previousLocation, state]); return ( - + diff --git a/apps/web/src/components/note/index.tsx b/apps/web/src/components/note/index.tsx index 3c9253b3d..434963495 100644 --- a/apps/web/src/components/note/index.tsx +++ b/apps/web/src/components/note/index.tsx @@ -179,7 +179,7 @@ function Note(props: NoteProps) {