Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix Space dark theme borders

Anand Baburajan9d73cc322f90
diff --git a/web/apps/space/src/components/OtpInput.tsx b/web/apps/space/src/components/OtpInput.tsx
index e1e5ee4ce2..e6346fecfb 100644
--- a/web/apps/space/src/components/OtpInput.tsx
+++ b/web/apps/space/src/components/OtpInput.tsx
@@ -1,11 +1,10 @@
import { Box } from "@mui/material";
import React from "react";
-import { spaceSurface } from "styles/colors";
+import { spaceSurface, spaceSurfaceHover } from "styles/colors";
import { sanitizeSpaceOTP, spaceOTPCodeLength } from "utils/otp";
const green = "#08C225";
const activeFill = "rgba(8, 194, 37, 0.08)";
-const emptyStroke = "#EDF0FF";
interface SpaceOtpInputProps {
ariaLabel: string;
@@ -246,7 +245,7 @@ export const SpaceOtpInput = React.forwardRef<
border:
typed || active
? `2px solid ${green}`
- : `1px solid ${emptyStroke}`,
+ : `1px solid ${spaceSurfaceHover}`,
borderRadius: "20px",
color: green,
display: "flex",
diff --git a/web/apps/space/src/screens/SetupProfilePhotoScreen.tsx b/web/apps/space/src/screens/SetupProfilePhotoScreen.tsx
index 903e2152bc..c628efe42e 100644
--- a/web/apps/space/src/screens/SetupProfilePhotoScreen.tsx
+++ b/web/apps/space/src/screens/SetupProfilePhotoScreen.tsx
@@ -44,7 +44,11 @@ interface SetupProfilePhotoScreenProps {
}
const AvatarPlaceholder: React.FC = () => (
- <SpaceAvatarImage aria-hidden border="4px solid white" borderRadius="50%" />
+ <SpaceAvatarImage
+ aria-hidden
+ border={`4px solid ${spaceSurface}`}
+ borderRadius="50%"
+ />
);
export const SetupProfilePhotoScreen: React.FC<