From a9efd949838f2037da4beda59dd762fe804aed83 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 10 Oct 2025 11:16:40 -0500 Subject: [PATCH] Placeholder style tweaks (#9107) * Align colors in loading placeholders * Same for new skele components * Increase opacity of disabled replies button slightly --- src/components/PostControls/index.tsx | 2 +- src/components/Skeleton.tsx | 6 ++--- src/view/com/util/LoadingPlaceholder.tsx | 33 ++++++++++-------------- 3 files changed, 17 insertions(+), 24 deletions(-) diff --git a/src/components/PostControls/index.tsx b/src/components/PostControls/index.tsx index f91bcd8a5d..c516c2477d 100644 --- a/src/components/PostControls/index.tsx +++ b/src/components/PostControls/index.tsx @@ -210,7 +210,7 @@ let PostControls = ({ a.flex_1, a.align_start, {marginLeft: big ? -2 : -6}, - replyDisabled ? {opacity: 0.5} : undefined, + replyDisabled ? {opacity: 0.6} : undefined, ]}> }) { - const theme = useTheme() + const t = useTheme() return ( }) { - const t = useTheme_NEW() - const pal = usePalette('default') + const t = useTheme() return ( - + }) { - const pal = usePalette('default') + const t = useTheme() return ( - + - + @@ -184,9 +178,8 @@ export function ProfileCardLoadingPlaceholder({ }: { style?: StyleProp }) { - const pal = usePalette('default') return ( - + - + }) { - const t = useTheme_NEW() + const t = useTheme() const random = useMemo(() => Math.random(), []) return (