π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Polish space profile visuals
Anand Baburajan373997c3483b
diff --git a/web/apps/space/src/components/SpaceAvatarCropPage.tsx b/web/apps/space/src/components/SpaceAvatarCropPage.tsxindex ada7db4a32..d9311b0858 100644--- a/web/apps/space/src/components/SpaceAvatarCropPage.tsx+++ b/web/apps/space/src/components/SpaceAvatarCropPage.tsx@@ -291,7 +291,7 @@ export const SpaceAvatarCropPage: React.FC<SpaceAvatarCropPageProps> = ({<Boxsx={{alignSelf: "center",- bgcolor: "#111",+ bgcolor: isSquareCrop ? "#111" : "#FFFFFF",borderRadius: isSquareCrop ? "50%" : "8px",height: isSquareCrop? "var(--avatar-crop-size)"@@ -304,6 +304,13 @@ export const SpaceAvatarCropPage: React.FC<SpaceAvatarCropPageProps> = ({width: isSquareCrop? "var(--avatar-crop-size)": "var(--profile-crop-width)",+ ...(!isSquareCrop && {+ "& .reactEasyCrop_CropArea": {+ borderColor: "#FFFFFF",+ boxShadow: "0 0 0 9999em #FFFFFF",+ color: "#FFFFFF",+ },+ }),}}><Cropperdiff --git a/web/apps/space/src/screens/ProfileScreen.tsx b/web/apps/space/src/screens/ProfileScreen.tsxindex 9fdf1ed261..f04cdb622b 100644--- a/web/apps/space/src/screens/ProfileScreen.tsx+++ b/web/apps/space/src/screens/ProfileScreen.tsx@@ -35,6 +35,10 @@ const textStrong = "#303030";const textSoft = "#777777";const warning = "#F63A3A";const coverForeground = "#FFFFFF";+const coverForegroundShadow = "0 1px 5px rgba(0, 0, 0, 0.34)";+const coverForegroundIconShadow =+ "drop-shadow(0 1px 5px rgba(0, 0, 0, 0.34))";+const coverButtonShadow = "0 1px 5px rgba(0, 0, 0, 0.12)";const profileCoverBackground = "#1F1F1F";const profileHeaderHeight = 56;const profileAvatarTopOffset = 54;@@ -467,6 +471,7 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({},"& svg": {display: "block",+ filter: coverForegroundIconShadow,overflow: "visible",},}}@@ -500,6 +505,9 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({outline: `2px solid ${green}`,outlineOffset: 2,},+ "& svg": {+ filter: coverForegroundIconShadow,+ },}}><HugeiconsIcon@@ -519,6 +527,7 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({backgroundColor: "#FFFFFF",border: 0,borderRadius: "999px",+ boxShadow: coverButtonShadow,color: green,cursor: onAddFriend ? "pointer" : "default",display: "inline-flex",@@ -557,7 +566,9 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({m: 0,maxWidth: "100%",overflow: "hidden",+ px: "4px",textOverflow: "ellipsis",+ textShadow: coverForegroundShadow,whiteSpace: "nowrap",}}>@@ -586,6 +597,9 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({outline: `2px solid ${green}`,outlineOffset: 2,},+ "& svg": {+ filter: coverForegroundIconShadow,+ },}}><HugeiconsIcon@@ -753,7 +767,7 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({},}}>- <ShareIcon />+ <ShareIcon strokeWidth={2.2} /></Box>)}</Box>diff --git a/web/apps/space/src/screens/ShareProfileLinkScreen.tsx b/web/apps/space/src/screens/ShareProfileLinkScreen.tsxindex 957d869eb9..a583082236 100644--- a/web/apps/space/src/screens/ShareProfileLinkScreen.tsx+++ b/web/apps/space/src/screens/ShareProfileLinkScreen.tsx@@ -50,8 +50,10 @@ const BackIcon: React.FC = () => (</Box>);-export const ShareIcon: React.FC = () => (- <HugeiconsIcon icon={Share08Icon} size={18} strokeWidth={1.8} />+export const ShareIcon: React.FC<{ strokeWidth?: number }> = ({+ strokeWidth = 1.8,+}) => (+ <HugeiconsIcon icon={Share08Icon} size={18} strokeWidth={strokeWidth} />);export const LinkIcon: React.FC = () => (