Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove unnecessary primary

Manav Rathic506346c2ac6
diff --git a/web/apps/accounts/src/pages/passkeys/verify.tsx b/web/apps/accounts/src/pages/passkeys/verify.tsx
index f9a9a86553..d14106f667 100644
--- a/web/apps/accounts/src/pages/passkeys/verify.tsx
+++ b/web/apps/accounts/src/pages/passkeys/verify.tsx
@@ -389,7 +389,6 @@ const RetriableFailed: React.FC<RetriableFailedProps> = ({
<FocusVisibleButton
onClick={onRecover}
fullWidth
- color="primary"
variant="text"
>
{t("recover_two_factor")}
diff --git a/web/apps/photos/src/components/ExportFinished.tsx b/web/apps/photos/src/components/ExportFinished.tsx
index 154e0621ac..84ee44680b 100644
--- a/web/apps/photos/src/components/ExportFinished.tsx
+++ b/web/apps/photos/src/components/ExportFinished.tsx
@@ -67,11 +67,7 @@ export default function ExportFinished(props: Props) {
>
{t("close")}
</FocusVisibleButton>
- <FocusVisibleButton
- fullWidth
- color="primary"
- onClick={props.onResync}
- >
+ <FocusVisibleButton fullWidth onClick={props.onResync}>
{t("export_again")}
</FocusVisibleButton>
</DialogActions>
diff --git a/web/apps/photos/src/components/FixCreationTime.tsx b/web/apps/photos/src/components/FixCreationTime.tsx
index 80876bd1b7..dde6106276 100644
--- a/web/apps/photos/src/components/FixCreationTime.tsx
+++ b/web/apps/photos/src/components/FixCreationTime.tsx
@@ -248,7 +248,7 @@ const Footer: React.FC<FooterProps> = ({ step, onSubmit, onClose }) =>
</FocusVisibleButton>
)}
{step == "completed" && (
- <FocusVisibleButton color="primary" fullWidth onClick={onClose}>
+ <FocusVisibleButton fullWidth onClick={onClose}>
{t("close")}
</FocusVisibleButton>
)}
diff --git a/web/packages/new/photos/components/WhatsNew.tsx b/web/packages/new/photos/components/WhatsNew.tsx
index 3b09c81715..80b47cc9d9 100644
--- a/web/packages/new/photos/components/WhatsNew.tsx
+++ b/web/packages/new/photos/components/WhatsNew.tsx
@@ -75,10 +75,8 @@ const ChangelogContent: React.FC = () => {
return (
<StyledUL>
<li>
- <Typography color="primary">
- {ut("Improved date search")}
- </Typography>
- <Typography>
+ <Typography>{ut("Improved date search")}</Typography>
+ <Typography sx={{ color: "text.muted" }}>
Search for photos by day of week (<i>Wednesday</i>) or hour
of day (<i>8 pm</i>) in addition to the existing search by
partial dates (<i>20 July</i>, or even <i>2021</i>) and
@@ -86,10 +84,8 @@ const ChangelogContent: React.FC = () => {
</Typography>
</li>
<li>
- <Typography color="primary">
- {ut("Faster magic search")}
- </Typography>
- <Typography>
+ <Typography>{ut("Faster magic search")}</Typography>
+ <Typography sx={{ color: "text.muted" }}>
{ut(
"The magic search beta, where you can search for photos just by typing whatever is in them, just got faster.",
)}
diff --git a/web/packages/new/photos/components/share/PublicLinkCreated.tsx b/web/packages/new/photos/components/share/PublicLinkCreated.tsx
index e63b33862c..0647b3b587 100644
--- a/web/packages/new/photos/components/share/PublicLinkCreated.tsx
+++ b/web/packages/new/photos/components/share/PublicLinkCreated.tsx
@@ -40,7 +40,6 @@ export const PublicLinkCreated: React.FC<PublicLinkCreatedProps> = ({
onCopyLink();
onClose();
}}
- color="primary"
fullWidth
>
{t("copy_link")}