From f2dd2cf7fa6240795bbba0e7aba83aa1503fd969 Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Sun, 12 Oct 2025 20:25:57 -0500 Subject: [PATCH] Improve showcase dark theme colors to match app theme - Replace hardcoded gray colors with theme variables - Use text-foreground instead of text-gray-900 for headings - Use text-muted-foreground instead of text-gray-600 for descriptions and metadata - Update background colors from gray-50/gray-100 to muted/muted-50 - Update avatar placeholders to use muted background and muted-foreground text - Ensure consistent theming with rest of application in both light and dark modes --- src/components/AppShowcase.tsx | 16 ++++++++-------- src/components/AppShowcaseCard.tsx | 18 +++++++++--------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/AppShowcase.tsx b/src/components/AppShowcase.tsx index ca037709..289c6f7f 100644 --- a/src/components/AppShowcase.tsx +++ b/src/components/AppShowcase.tsx @@ -129,8 +129,8 @@ export function AppShowcase() { ⭐
-

Featured Apps

-

Handpicked applications showcasing the best of our community

+

Featured Apps

+

Handpicked applications showcasing the best of our community

@@ -154,8 +154,8 @@ export function AppShowcase() { 🎃
-

Halloween Hackathon 2025

-

Featured spooky creations from our Halloween hackathon

+

Halloween Hackathon 2025

+

Featured spooky creations from our Halloween hackathon

@@ -179,8 +179,8 @@ export function AppShowcase() { 📋
-

Templates

-

Ready-to-use templates to kickstart your project

+

Templates

+

Ready-to-use templates to kickstart your project

@@ -207,10 +207,10 @@ export function AppShowcase() { 📱
-

+

More Apps ({approvedApps.length})

-

+

{showAllApps ? 'Click to collapse' : 'Click to view more community apps'}

diff --git a/src/components/AppShowcaseCard.tsx b/src/components/AppShowcaseCard.tsx index 9085ab11..f0522928 100644 --- a/src/components/AppShowcaseCard.tsx +++ b/src/components/AppShowcaseCard.tsx @@ -377,7 +377,7 @@ export function AppShowcaseCard({ app, onEdit, showModerationControls, hideAppro href={app.websiteUrl} target="_blank" rel="noopener noreferrer" - className="block aspect-video bg-gradient-to-br from-gray-50 to-gray-100 rounded-t-lg overflow-hidden cursor-pointer" + className="block aspect-video bg-gradient-to-br from-muted/50 to-muted rounded-t-lg overflow-hidden cursor-pointer" > {!imageError ? ( setImageError(true)} /> ) : ( -
+
-
+

Screenshot unavailable

@@ -502,7 +502,7 @@ export function AppShowcaseCard({ app, onEdit, showModerationControls, hideAppro
{/* App Icon */} -
+
{`${app.appName}
-

+

{app.appName.length > 50 ? `${app.appName.slice(0, 50)}...` : app.appName}

-

{app.description}

+

{app.description}

{/* Author Information */}
-
+
{authorData?.metadata?.picture ? ( ) : (
- +
)}
- + by{' '}