Skip to content

Commit eb5710c

Browse files
NiallJoeMaherclaude
andcommitted
fix(relaunch): mint top loader, kill stray pink, drop empty image box
- top loading bar: orange→pink HolyLoader gradient → mint (accent→accent-soft) - prism code highlighting: .token.function/.class-name text-pink-500 → text-accent-soft (the last visible pink in the app) - feed card: render the thumbnail only when a real image loads — no grey dotted placeholder box when an image is missing or fails to load Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 99148d3 commit eb5710c

3 files changed

Lines changed: 7 additions & 12 deletions

File tree

components/ProgressBar/ProgressBar.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@ const ProgressBar = () => {
55
return (
66
<HolyLoader
77
easing="linear"
8-
color="linear-gradient(
9-
to right,
10-
rgb(251, 146, 60),
11-
rgb(219, 39, 119)
12-
)"
8+
// Relaunch mint (accent → accent-soft), not the old orange/pink.
9+
color="linear-gradient(to right, rgb(45, 212, 191), rgb(110, 231, 214))"
1310
zIndex={50}
14-
height="0.25rem"
11+
height="0.2rem"
1512
/>
1613
);
1714
};

components/UnifiedContentCard/UnifiedContentCard.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@ const UnifiedContentCard = ({
271271
</p>
272272
)}
273273
</div>
274-
{showThumbnail ? (
274+
{/* Only render a thumbnail when there's a real image that loaded — no
275+
grey placeholder box when an image is missing or fails. */}
276+
{showThumbnail && (
275277
<Link
276278
href={cardUrl}
277279
onClick={type === "LINK" ? handleExternalClick : undefined}
@@ -284,10 +286,6 @@ const UnifiedContentCard = ({
284286
onError={() => setImageError(true)}
285287
/>
286288
</Link>
287-
) : (
288-
type === "LINK" && (
289-
<div className="relative h-[68px] w-[104px] flex-shrink-0 self-start overflow-hidden rounded-sm border border-hairline bg-elevated bg-grid-dots bg-[length:9px_9px]" />
290-
)
291289
)}
292290
</div>
293291

styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ body {
404404

405405
.token.function,
406406
.token.class-name {
407-
@apply text-pink-500;
407+
@apply text-accent-soft;
408408
}
409409

410410
.token.regex,

0 commit comments

Comments
 (0)