Skip to content

feat(badge): draw the prompt caret and add a flat style - #458

Merged
harlan-zw merged 1 commit into
mainfrom
feat/badge-flat-style
Oct 6, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
feat/badge-flat-style

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

README badges still drew the retired rose chevron, which DESIGN.md bans since the mark moved to the prompt caret and rose dot. A badge is also 22px with fixed colours, so it cannot sit inline in a row of shields.io badges, and maintainers cannot match it to their own README.

  • Every badge now draws the caret and dot from shared/brand-mark.ts, with the dot in the rose shade DESIGN.md pairs with the fill.
  • ?style=flat renders shields.io's default flat geometry: 20px, 11px Verdana with a drop shadow, and the light gloss.
  • labelColor, color and logoColor take shields-style hex values, with or without #. Text turns white or stone to stay readable on the chosen fill. Values that are not hex are ignored.

Nuxt SEO's module READMEs will use ?style=flat&labelColor=16152b&color=00a63e&logoColor=ffffff to match their shields row.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

README badges still drew the retired rose chevron that DESIGN.md bans. They now draw the caret and dot from shared/brand-mark.ts. A 22px badge with fixed colours also could not sit in a row of shields.io badges, so style=flat matches their geometry and labelColor, color and logoColor take shields-style hex values.
@harlan-github-agent

harlan-github-agent Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-10-06 13:12 UTC.

GitHub merged this pull request.

No material findings were recorded.

The pull request closed.

@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-running An Agent holds a Task on this issue or pull request right now. label Oct 6, 2026
@harlan-zw
harlan-zw merged commit 15fa137 into main Oct 6, 2026
7 checks passed
@harlan-zw
harlan-zw deleted the feat/badge-flat-style branch October 6, 2026 07:14
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. label Oct 6, 2026
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