docs: add border to download stats#3882
Conversation
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
There was a problem hiding this comment.
TL;DR — Adds a 2px left border to the .downloads line under the install command and bumps its padding-left from 2px to 10px so the text sits cleanly inside the new accent.
Key changes
- Accent the download stats line — adds
border-left: 2px solid var(--vp-c-divider)and widenspadding-leftto10pxin the.downloadsselector ofInstallCommand.astro.
Summary | 1 file | 1 commit | base: main ← docs/pass-7
Before: download count rendered as a flat 13px gray line with a 2px left pad.
After: rendered with a vertical divider rule on its left edge, matching the--vp-c-divideraccent used elsewhere on the codegen page.
--vp-c-divider is defined in both color modes in web/src/styles/custom.css and is the same token already used for the install button border on line 70 of this file, so the two elements visually relate. New padding (10px) matches the visual spacing convention used by other bordered blocks on the codegen page.
No new issues found.
Claude Opus | 𝕏

No description provided.