Skip to content

armgit / ente

Public Imported from GitHub
0

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

Inline

Manav Rathi39a93ea8efd8
diff --git a/web/apps/auth/src/pages/share.tsx b/web/apps/auth/src/pages/share.tsx
index bec56ff261..8a6899476b 100644
--- a/web/apps/auth/src/pages/share.tsx
+++ b/web/apps/auth/src/pages/share.tsx
@@ -142,7 +142,7 @@ const Page: React.FC = () => {
{timeStatus === 0 && (
<Box
sx={{
- backgroundColor: "fixed.gray.A",
+ backgroundColor: "#1c1c1e",
borderRadius: "10px",
paddingBottom: "20px",
position: "relative",
@@ -152,7 +152,7 @@ const Page: React.FC = () => {
sx={{
width: "100%",
height: "4px",
- backgroundColor: "fixed.gray.B",
+ backgroundColor: "#333",
borderRadius: "2px",
}}
>
diff --git a/web/apps/photos/src/components/pages/gallery/PreviewCard.tsx b/web/apps/photos/src/components/pages/gallery/PreviewCard.tsx
index 4ca9f665cc..a1b2c0a758 100644
--- a/web/apps/photos/src/components/pages/gallery/PreviewCard.tsx
+++ b/web/apps/photos/src/components/pages/gallery/PreviewCard.tsx
@@ -55,7 +55,7 @@ const Check = styled("input")<{ $active: boolean }>(
content: "";
width: 19px;
height: 19px;
- background-color: ${theme.vars.palette.fixed.gray.E};
+ background-color: #ddd;
display: inline-block;
border-radius: 50%;
vertical-align: bottom;
@@ -69,8 +69,8 @@ const Check = styled("input")<{ $active: boolean }>(
position: absolute;
width: 5px;
height: 11px;
- border-right: 2px solid ${theme.vars.palette.fixed.gray.B};
- border-bottom: 2px solid ${theme.vars.palette.fixed.gray.B};
+ border-right: 2px solid #333;
+ border-bottom: 2px solid #333;
transition: transform 0.3s ease;
pointer-events: inherit;
transform: translate(-18px, 9px) rotate(45deg);
@@ -86,8 +86,8 @@ const Check = styled("input")<{ $active: boolean }>(
/* checkmark foreground (tick) */
&:checked::after {
content: "";
- border-right: 2px solid ${theme.vars.palette.fixed.gray.E};
- border-bottom: 2px solid ${theme.vars.palette.fixed.gray.E};
+ border-right: 2px solid #ddd;
+ border-bottom: 2px solid #ddd;
}
visibility: hidden;
${$active && "visibility: visible; opacity: 0.5;"};
diff --git a/web/packages/accounts/components/RecoveryKey.tsx b/web/packages/accounts/components/RecoveryKey.tsx
index a497467c97..82d441d3cc 100644
--- a/web/packages/accounts/components/RecoveryKey.tsx
+++ b/web/packages/accounts/components/RecoveryKey.tsx
@@ -86,8 +86,6 @@ export const RecoveryKey: React.FC<RecoveryKeyProps> = ({
sx={{
border: "1px dashed",
borderColor: "stroke.muted",
- // TODO(LM): Brighter?
- // borderColor: "gray.A400",
borderRadius: 1,
}}
>
diff --git a/web/packages/base/components/utils/mui-theme.d.ts b/web/packages/base/components/utils/mui-theme.d.ts
index 849c8e2569..65a04ca358 100644
--- a/web/packages/base/components/utils/mui-theme.d.ts
+++ b/web/packages/base/components/utils/mui-theme.d.ts
@@ -120,25 +120,6 @@ declare module "@mui/material/styles" {
* These do not change with the color scheme.
*/
fixed: {
- /**
- * Various fixed shades of gray.
- * TODO(LM) - audit and rename.
- */
- gray: {
- A: string;
- /**
- * - Color of check on hovering on image thumbnail during
- * selection.
- */
- B: string;
- /**
- * - Background of check on hovering on image thumbnail during
- * selection.
- *
- * - Color of check on image thumbnail when it is selected.
- */
- E: string;
- };
/**
* The color of a switch when it is enabled.
*/
diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts
index c51303f2cf..941c1fe843 100644
--- a/web/packages/base/components/utils/theme.ts
+++ b/web/packages/base/components/utils/theme.ts
@@ -153,11 +153,6 @@ const _colors = {
main: "#ea3f3f",
light: "#ff6565",
},
- gray: {
- A: "#1c1c1e",
- B: "#333",
- E: "#ddd",
- },
switchOn: "#2eca45",
},
light: {