Skip to content

armgit / ente

Public Imported from GitHub
0

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

Darken Space profile cover

Anand Baburajan4ac2f9367142
diff --git a/web/apps/space/src/screens/ProfileScreen.tsx b/web/apps/space/src/screens/ProfileScreen.tsx
index 02f4bbeebe..82a61d5239 100644
--- a/web/apps/space/src/screens/ProfileScreen.tsx
+++ b/web/apps/space/src/screens/ProfileScreen.tsx
@@ -37,6 +37,7 @@ const textStrong = "#303030";
const textSoft = "#777777";
const warning = "#F63A3A";
const coverForeground = "#FFFFFF";
+const profileCoverBackground = "#1F1F1F";
const profileHeaderHeight = 56;
const profileAvatarTopOffset = 54;
const profileAvatarSize = 120;
@@ -388,8 +389,11 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
/>
)}
<Box
- className="green-bg"
+ className={isFriendProfile ? "green-bg" : undefined}
sx={{
+ bgcolor: isFriendProfile
+ ? undefined
+ : profileCoverBackground,
height: profileCoverHeight,
insetInline: 0,
position: "absolute",