Skip to content

armgit / ente

Public Imported from GitHub
0

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

Swap Space empty-state text colors

Anand Baburajanadbc845c015a
diff --git a/web/apps/space/src/components/OwnPostTile.tsx b/web/apps/space/src/components/OwnPostTile.tsx
index c1451111b7..600a6acdd3 100644
--- a/web/apps/space/src/components/OwnPostTile.tsx
+++ b/web/apps/space/src/components/OwnPostTile.tsx
@@ -297,7 +297,7 @@ export const SpaceOwnPostTile: React.FC<SpaceOwnPostTileProps> = ({
<Box
component="span"
sx={{
- color: spaceTextMuted,
+ color: isEmpty ? spaceText : spaceTextMuted,
display: "block",
fontSize: 12,
fontWeight: 400,
@@ -314,7 +314,7 @@ export const SpaceOwnPostTile: React.FC<SpaceOwnPostTileProps> = ({
component="span"
title={post ? caption : undefined}
sx={{
- color: isEmpty ? spaceText : spaceTextMuted,
+ color: spaceTextMuted,
display: "block",
fontSize: 12,
fontWeight: 400,