From 5eb996681d2f1ff608aae2f0bd948b2b24109e5d Mon Sep 17 00:00:00 2001 From: calesthio Date: Sat, 27 Jun 2026 17:16:25 -0700 Subject: [PATCH] docs(readme): replace stretched shields.io badge with bordered SVG card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous attempt at matching the deer-flow Repository-of-the-Day design used `style=for-the-badge` shields.io rendered as two wide black/orange rectangles spanning the README width — nothing like the small bordered pill deer-flow actually ships (a Trendshift-served badge with a laurel-wreath "1" emblem and two lines of restrained text). OpenMontage isn't on Trendshift, so a real Trendshift badge isn't available. Built a custom inline SVG matching the design intent: - Small (340x68) bordered card with rounded corners - Laurel-wreath emblem with serif "1" inside on the left - Two-line text on the right: "GITHUB TRENDING" (small, dimmed gray) and "#1 Repository Of The Day" (bold, accent) - Light + dark variants served via prefers-color-scheme picture/source - Light: white bg, #7C3AED purple stroke/text - Dark: #0D1117 bg, #A78BFA lavender stroke, #C4B5FD headline Files added: - .github/assets/repo-of-the-day-light.svg - .github/assets/repo-of-the-day-dark.svg --- .github/assets/repo-of-the-day-dark.svg | 28 +++++++++++++++++++++ .github/assets/repo-of-the-day-light.svg | 32 ++++++++++++++++++++++++ README.md | 4 +-- 3 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 .github/assets/repo-of-the-day-dark.svg create mode 100644 .github/assets/repo-of-the-day-light.svg diff --git a/.github/assets/repo-of-the-day-dark.svg b/.github/assets/repo-of-the-day-dark.svg new file mode 100644 index 0000000..87d1c47 --- /dev/null +++ b/.github/assets/repo-of-the-day-dark.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + 1 + + + + GITHUB TRENDING + #1 Repository Of The Day + + diff --git a/.github/assets/repo-of-the-day-light.svg b/.github/assets/repo-of-the-day-light.svg new file mode 100644 index 0000000..1ecccb3 --- /dev/null +++ b/.github/assets/repo-of-the-day-light.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + GITHUB TRENDING + #1 Repository Of The Day + + diff --git a/README.md b/README.md index d186312..0801102 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@

- - 🏆 Repository of the Day — #1 on GitHub Trending + + 🏆 #1 Repository of the Day on GitHub Trending