diff --git a/packages/web/components/elements/EditLabelChip.tsx b/packages/web/components/elements/EditLabelChip.tsx index bf6fefcfc..1ec3a1062 100644 --- a/packages/web/components/elements/EditLabelChip.tsx +++ b/packages/web/components/elements/EditLabelChip.tsx @@ -14,8 +14,10 @@ type EditLabelChipProps = { export function EditLabelLabelChip(props: EditLabelChipProps): JSX.Element { const isDark = isDarkTheme() - const selectedBorder = '#FFEA9F' - const unSelectedBorder = 'transparent' + const selectedBorder = isDark ? '#FFEA9F' : '#D9D9D9' + const unSelectedBorder = isDark ? 'transparent' : '#DEDEDE' + const xUnselectedColor = isDark ? '#6A6968' : '#DEDEDE' + return ( @@ -49,11 +51,7 @@ export function EditLabelLabelChip(props: EditLabelChipProps): JSX.Element { > diff --git a/packages/web/components/elements/LabelsPicker.tsx b/packages/web/components/elements/LabelsPicker.tsx index 3b4b59c75..ac5081184 100644 --- a/packages/web/components/elements/LabelsPicker.tsx +++ b/packages/web/components/elements/LabelsPicker.tsx @@ -104,7 +104,7 @@ export const LabelsPicker = (props: LabelsPickerProps): JSX.Element => { { lineHeight: '2', width: '100%', cursor: 'text', - color: '#EBEBEB', + color: '$thTextContrast2', fontSize: '12px', fontFamily: '$inter', input: { diff --git a/packages/web/components/templates/article/NotebookModal.tsx b/packages/web/components/templates/article/NotebookModal.tsx index 9b56c7801..25281f854 100644 --- a/packages/web/components/templates/article/NotebookModal.tsx +++ b/packages/web/components/templates/article/NotebookModal.tsx @@ -80,8 +80,9 @@ export function NotebookModal(props: NotebookModalProps): JSX.Element { return ( - + { event.preventDefault() }} diff --git a/packages/web/components/templates/homeFeed/HomeFeedContainer.tsx b/packages/web/components/templates/homeFeed/HomeFeedContainer.tsx index 8495df5ff..99861da11 100644 --- a/packages/web/components/templates/homeFeed/HomeFeedContainer.tsx +++ b/packages/web/components/templates/homeFeed/HomeFeedContainer.tsx @@ -1092,13 +1092,17 @@ function LibraryItems(props: LibraryItemsProps): JSX.Element { display: 'grid', width: '100%', gridAutoRows: 'auto', - borderRadius: '5px', + borderRadius: '6px', gridGap: props.layout == 'LIST_LAYOUT' ? '0' : '20px', marginTop: '10px', marginBottom: '0px', paddingTop: '0', paddingBottom: '0px', overflow: 'hidden', + boxShadow: + props.layout == 'LIST_LAYOUT' + ? '0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);' + : 'unset', '@xlgDown': { border: 'unset', borderRadius: props.layout == 'LIST_LAYOUT' ? 0 : undefined, diff --git a/packages/web/components/templates/homeFeed/LibraryHeader.tsx b/packages/web/components/templates/homeFeed/LibraryHeader.tsx index 83c3f561b..e30bd73d6 100644 --- a/packages/web/components/templates/homeFeed/LibraryHeader.tsx +++ b/packages/web/components/templates/homeFeed/LibraryHeader.tsx @@ -83,7 +83,7 @@ export function LibraryHeader(props: LibraryHeaderProps): JSX.Element { zIndex: 5, position: 'fixed', height: HEADER_HEIGHT, - bg: showBackground ? '$thBackground' : 'transparent', + bg: '$thLibraryBackground', '@mdDown': { left: '0px', right: '0', @@ -242,14 +242,6 @@ export function SearchBox(props: SearchBoxProps): JSX.Element { setSearchTerm(props.searchTerm ?? '') }, [props.searchTerm]) - const border = props.compact - ? focused - ? '1px solid $omnivoreCtaYellow' - : '1px solid black' - : focused - ? '1px solid $omnivoreCtaYellow' - : '1px solid $thBorderColor' - useKeyboardShortcuts( searchBarCommands((action) => { if (action === 'focusSearchBar' && inputRef.current) { @@ -270,7 +262,12 @@ export function SearchBox(props: SearchBoxProps): JSX.Element { maxWidth: '521px', bg: '$thLibrarySearchbox', borderRadius: '6px', - border: border, + border: focused + ? '2px solid $omnivoreCtaYellow' + : '2px solid transparent', + boxShadow: focused + ? 'none' + : '0 1px 3px 0 rgba(0, 0, 0, 0.1),0 1px 2px 0 rgba(0, 0, 0, 0.06);', }} >