Skip to content

Fix DeadlineCountdown style mismatch in stat boxes#811

Merged
realproject7 merged 1 commit intomainfrom
task/809-deadline-style-fix
Apr 3, 2026
Merged

Fix DeadlineCountdown style mismatch in stat boxes#811
realproject7 merged 1 commit intomainfrom
task/809-deadline-style-fix

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Adds valueClassName prop to DeadlineCountdown that overrides the default text-accent font-medium styling
  • Storyline stat box passes text-foreground text-sm font-bold to match Market Cap and Supply Minted boxes
  • Expired state preserves text-error color
  • No change to DeadlineCountdown in other contexts (storyline cards, etc.)

Before/After

  • Before: Deadline value rendered as text-xs text-accent font-medium (mismatched)
  • After: Deadline value rendered as text-sm font-bold text-foreground (matches other stat boxes)

Test Plan

  • Deadline stat box text matches Market Cap and Supply Minted styling
  • Expired state shows in error color
  • DeadlineCountdown in other contexts (cards, etc.) unchanged

Fixes #809

🤖 Generated with Claude Code

Add valueClassName prop to DeadlineCountdown. When provided, overrides
the default text-accent font-medium styling. Stat box passes
text-foreground text-sm font-bold to match Market Cap and Supply boxes.
Expired state preserves text-error. No change to other DeadlineCountdown
usages (storyline cards, etc).

Fixes #809

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plotlink Ignored Ignored Apr 3, 2026 1:45pm

Request Review

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The PR fixes the stat-box styling mismatch by letting the storyline header override DeadlineCountdown's value styling without changing its other call sites. I did not find a code-level blocker in the updated render path.

Findings

  • No blocking findings.

Decision

Approving. The deadline stat box can now match the Market Cap and Supply Minted boxes while keeping the expired state in error styling.

@realproject7 realproject7 merged commit 2627917 into main Apr 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Storyline stats: DeadlineCountdown style mismatch in stat boxes

2 participants