From e2d007fd9c6e2bb07a7483a4935d7ef141eb9c0c Mon Sep 17 00:00:00 2001 From: DIYgod Date: Mon, 1 Sep 2025 17:52:40 +0800 Subject: [PATCH] fix: align ItemStateLess styles with Item components across all view types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed ArticleItemStateLess to match ListItem template styling - Fixed AudioItemStateLess to use ArticleItemStateLess (same ListItem pattern) - Fixed NotificationItemStateLess for simple ListItem pattern (no description) - Fixed SocialMediaItemStateLess to match custom layout with 32px avatar - Fixed VideoItemStateLess to match GridItem template with accent dot - Fixed PictureItemStateLess minor cleanup for masonry layout - Updated all components to use consistent UIKit colors (text-text, text-text-secondary) - Fixed ViewSelectorRadioGroup preview layout for grid-based views - Fixed FeedForm button variant from "text" to "ghost" 馃 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../src/modules/discover/FeedForm.tsx | 4 +- .../entry-column/Items/article-item.tsx | 62 +++++++-------- .../modules/entry-column/Items/audio-item.tsx | 48 +----------- .../entry-column/Items/notification-item.tsx | 21 +++-- .../Items/picture-item-stateless.tsx | 48 ++++-------- .../entry-column/Items/social-media-item.tsx | 72 +++++++++-------- .../entry-column/Items/video-item.ai.tsx | 78 ++++++++++--------- .../entry-column/Items/video-item.legacy.tsx | 78 ++++++++++--------- .../modules/entry-column/item-stateless.tsx | 3 +- .../modules/shared/ViewSelectorRadioGroup.tsx | 10 ++- 10 files changed, 188 insertions(+), 236 deletions(-) diff --git a/apps/desktop/layer/renderer/src/modules/discover/FeedForm.tsx b/apps/desktop/layer/renderer/src/modules/discover/FeedForm.tsx index 5e9c82ae0..7804c00df 100644 --- a/apps/desktop/layer/renderer/src/modules/discover/FeedForm.tsx +++ b/apps/desktop/layer/renderer/src/modules/discover/FeedForm.tsx @@ -315,7 +315,7 @@ const FeedInnerForm = ({
- +