Skip to content

armgit / ente

Public Imported from GitHub
0

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

Conv

Manav Rathi351883c00221
diff --git a/web/packages/new/photos/components/Tiles.tsx b/web/packages/new/photos/components/Tiles.tsx
index df35c014dd..0e1a3496a8 100644
--- a/web/packages/new/photos/components/Tiles.tsx
+++ b/web/packages/new/photos/components/Tiles.tsx
@@ -217,13 +217,15 @@ export const LargeTileTextOverlay = styled(ItemTileOverlay)`
/**
* A container for "+", suitable for use with a {@link LargeTileTextOverlay}.
*/
-export const LargeTilePlusOverlay = styled(ItemTileOverlay)`
+export const LargeTilePlusOverlay = styled(ItemTileOverlay)(
+ ({ theme }) => `
display: flex;
justify-content: center;
align-items: center;
font-size: 42px;
- color: ${({ theme }) => theme.colors.stroke.muted};
-`;
+ color: ${theme.vars.palette.stroke.muted};
+`,
+);
/**
* An {@link ItemTileOverlay} suitable for holding the collection name shown
diff --git a/web/packages/new/photos/components/gallery/PeopleHeader.tsx b/web/packages/new/photos/components/gallery/PeopleHeader.tsx
index 668477302c..4931eb25dc 100644
--- a/web/packages/new/photos/components/gallery/PeopleHeader.tsx
+++ b/web/packages/new/photos/components/gallery/PeopleHeader.tsx
@@ -633,12 +633,12 @@ const SuggestionsDialog: React.FC<SuggestionsDialogProps> = ({
PaperProps={{ sx: { minHeight: "80svh" } }}
>
<SpaceBetweenFlex
- sx={{
- padding: "20px 16px 16px 16px",
- backgroundColor: state.showChoices
- ? (theme) => theme.colors.fill.faint
- : "transparent",
- }}
+ sx={[
+ { padding: "20px 16px 16px 16px" },
+ state.showChoices
+ ? { backgroundColor: "fill.faint" }
+ : { backgroundColor: "transparent" },
+ ]}
>
<Stack sx={{ gap: "8px" }}>
<DialogTitle sx={{ "&&&": { p: 0 } }}>
@@ -659,11 +659,11 @@ const SuggestionsDialog: React.FC<SuggestionsDialogProps> = ({
? t("saved_choices")
: t("review_suggestions")
}
- sx={{
- backgroundColor: state.showChoices
- ? (theme) => theme.colors.fill.muted
- : "transparent",
- }}
+ sx={[
+ state.showChoices
+ ? { backgroundColor: "fill.muted" }
+ : { backgroundColor: "transparent" },
+ ]}
>
<RestoreIcon />
</IconButton>
diff --git a/web/packages/new/photos/components/sidebar/TwoFactorSettings.tsx b/web/packages/new/photos/components/sidebar/TwoFactorSettings.tsx
index fa11496767..dcfcb78699 100644
--- a/web/packages/new/photos/components/sidebar/TwoFactorSettings.tsx
+++ b/web/packages/new/photos/components/sidebar/TwoFactorSettings.tsx
@@ -84,12 +84,7 @@ const SetupDrawerContents: React.FC<ContentsProps> = ({ onRootClose }) => {
return (
<Stack sx={{ px: "16px", py: "20px", alignItems: "center" }}>
- <LockIcon
- sx={(theme) => ({
- fontSize: "40px",
- color: theme.colors.text.muted,
- })}
- />
+ <LockIcon sx={{ fontSize: "40px", color: "text.muted" }} />
<Typography
sx={{
color: "text.muted",