Skip to content

fix: use --primary color for share button#972

Merged
onchainlu merged 2 commits into
mainfrom
fix/share-button-color
Jun 10, 2026
Merged

fix: use --primary color for share button#972
onchainlu merged 2 commits into
mainfrom
fix/share-button-color

Conversation

@onchainlu

@onchainlu onchainlu commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replaces hardcoded bg-[#0052ff] / hover:bg-[#0045dd] with bg-primary / hover:bg-primary/90 on the Share button in origin pages
  • Truncates origin titles at delimiters (, -, |, etc.) in the breadcrumb nav, matching the existing pattern in the header and featured columns

Test plan

  • Visit an origin page with a long title containing delimiters (e.g. "BlockRun – YOPO...") and verify the breadcrumb shows only the first segment
  • Verify the Share button matches the --primary theme color
  • Check both light and dark modes

Replaces hardcoded #0052ff background with bg-primary to match the design system.
@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
x402scan Ready Ready Preview, Comment Jun 10, 2026 2:08pm

Request Review

Applies truncateAtDelimiter to the origin title in the breadcrumb nav,
matching the pattern used in the header and featured columns.
@onchainlu onchainlu merged commit a119f1d into main Jun 10, 2026
3 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.

1 participant