π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Refine Space home tile colors
Anand Baburajanb92ed7782d0f
diff --git a/web/apps/space/src/components/HomeHeader.tsx b/web/apps/space/src/components/HomeHeader.tsxindex 16cd31c0bd..c6104a805a 100644--- a/web/apps/space/src/components/HomeHeader.tsx+++ b/web/apps/space/src/components/HomeHeader.tsx@@ -13,7 +13,7 @@ const headerActionSize = spaceTouchTargetSize;const headerAvatarSize = 36;const headerAvatarImageSize = 26;const headerChatCircleSize = 36;-const headerChromeColor = "#F0F0F0";+export const spaceHomeHeaderChromeColor = "#F0F0F0";const headerIconSize = 24;const headerSideWidth = 36;const mediaPlaceholderColor = "#E5E7EA";@@ -59,7 +59,7 @@ export const SpaceHomeHeader: React.FC<SpaceHomeHeaderProps> = ({width: "100%",zIndex: 4,"&::after": {- bgcolor: headerChromeColor,+ bgcolor: spaceHomeHeaderChromeColor,borderRadius: "999px",content: '""',height: 44,@@ -246,7 +246,7 @@ export const SpaceHomeHeader: React.FC<SpaceHomeHeaderProps> = ({<Boxsx={{bgcolor: dangerColor,- border: `2px solid ${headerChromeColor}`,+ border: `2px solid ${spaceHomeHeaderChromeColor}`,borderRadius: "50%",boxSizing: "border-box",height: 12,diff --git a/web/apps/space/src/components/PostUnreadBadge.tsx b/web/apps/space/src/components/PostUnreadBadge.tsxindex 070b2d0c91..9f56914381 100644--- a/web/apps/space/src/components/PostUnreadBadge.tsx+++ b/web/apps/space/src/components/PostUnreadBadge.tsx@@ -25,7 +25,7 @@ export const SpacePostBadge: React.FC<SpacePostBadgeProps> = ({fontFamily: '"Inter Variable", Inter, sans-serif',fontSize: placement == "center" ? 11 : 10,fontVariantNumeric: "tabular-nums",- fontWeight: placement == "center" ? 500 : 700,+ fontWeight: placement == "center" ? 600 : 700,height: placement == "center" ? 24 : 20,justifyContent: "center",lineHeight: 1,diff --git a/web/apps/space/src/screens/HomeScreen.tsx b/web/apps/space/src/screens/HomeScreen.tsxindex 04697259bb..e7a8843cde 100644--- a/web/apps/space/src/screens/HomeScreen.tsx+++ b/web/apps/space/src/screens/HomeScreen.tsx@@ -13,7 +13,11 @@ import {type SpaceViewerPhoto,type SpaceViewerPostActionMode,} from "components/FileViewer";-import { SpaceHomeHeader, spaceHomeHeaderHeight } from "components/HomeHeader";+import {+ SpaceHomeHeader,+ spaceHomeHeaderChromeColor,+ spaceHomeHeaderHeight,+} from "components/HomeHeader";import { SpacePostFloatingActionButton } from "components/PostFloatingActionButton";import {SpacePostBadge,@@ -58,7 +62,7 @@ const textBase = spaceText;const textSecondary = spaceTextMuted;const avatarFallbackColor = "#888888";const avatarFallbackTextColor = "#FFFFFF";-const mediaPlaceholderColor = "#E9EAEC";+const mediaPlaceholderColor = spaceHomeHeaderChromeColor;const homeHorizontalPadding = "16px";const postTileMediaLoadRootMargin = "640px 0px";const waveAnimationDurationMs = 1100;@@ -725,7 +729,7 @@ export const FriendPostTile: React.FC<FriendPostTileProps> = ({friendRequestDirection != "received" && (<SpacePostBadgebackgroundColor="rgba(255, 255, 255, 0.82)"- color={textSecondary}+ color="#5A5A5A"placement="center">{friendRequestDirection == "sent"@@ -961,11 +965,11 @@ export const FriendPostTile: React.FC<FriendPostTileProps> = ({}sx={{alignItems: "center",- bgcolor: "#DFE1E4",+ bgcolor: "#E8E8E8",border: 0,borderRadius: `${requestActionSize / 2}px`,boxSizing: "border-box",- color: "#5F6368",+ color: "#5A5A5A",cursor: isFriendRequestActionBusy? "default": "pointer",@@ -985,7 +989,7 @@ export const FriendPostTile: React.FC<FriendPostTileProps> = ({},"&:hover": isFriendRequestActionBusy? undefined- : { bgcolor: "#D7D9DC" },+ : { bgcolor: "#DEDEDE" },}}>{friendRequestAction == "discard" ? (