Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Conv

Manav Rathi9602d70a14ba
diff --git a/web/packages/new/photos/components/PeopleList.tsx b/web/packages/new/photos/components/PeopleList.tsx
index 7351d312e8..2a1b10dcb9 100644
--- a/web/packages/new/photos/components/PeopleList.tsx
+++ b/web/packages/new/photos/components/PeopleList.tsx
@@ -63,7 +63,7 @@ const SearchPersonButton = styled(UnstyledButton)(
height: 100%;
}
:hover {
- outline: 1px solid ${theme.colors.stroke.faint};
+ outline: 1px solid ${theme.vars.palette.stroke.faint};
outline-offset: 2px;
}
`,
@@ -127,7 +127,7 @@ const AnnotatedFaceButton = styled(UnstyledButton)(
height: 100%;
}
:hover {
- outline: 1px solid ${theme.colors.stroke.faint};
+ outline: 1px solid ${theme.vars.palette.stroke.faint};
outline-offset: 2px;
}
`,
diff --git a/web/packages/new/photos/components/PlaceholderThumbnails.tsx b/web/packages/new/photos/components/PlaceholderThumbnails.tsx
index fbd5b4fd30..ab874848e6 100644
--- a/web/packages/new/photos/components/PlaceholderThumbnails.tsx
+++ b/web/packages/new/photos/components/PlaceholderThumbnails.tsx
@@ -39,13 +39,6 @@ export const StaticThumbnail: React.FC<Iprops> = (props) => {
);
};
-export const LoadingThumbnail = () => {
- return (
- <Overlay
- sx={(theme) => ({
- backgroundColor: theme.colors.fill.faint,
- borderRadius: "4px",
- })}
- />
- );
-};
+export const LoadingThumbnail = () => (
+ <Overlay sx={{ backgroundColor: "fill.faint", borderRadius: "4px" }} />
+);