Skip to content

Commit 9fcab62

Browse files
committed
fix(ui): increase visual prominence of download numbers in compare OG image
Bump download metrics from text-xl/gray to text-2xl/font-medium/lighter color so absolute numbers are easier to scan at a glance.
1 parent 8dad8ae commit 9fcab62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/components/OgImage/Compare.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ function barPct(downloads: number): string {
141141
<span class="text-2xl font-semibold tracking-tight" :style="{ color: pkg.color }">
142142
{{ pkg.name }}
143143
</span>
144-
<span class="text-xl text-[#737373]"> {{ formatDownloads(pkg.downloads) }}/wk </span>
144+
<span class="text-2xl font-medium text-[#d4d4d4]">
145+
{{ formatDownloads(pkg.downloads) }}/wk
146+
</span>
145147
<span
146148
v-if="pkg.version"
147149
class="text-lg px-2 py-0.5 rounded-md border"

0 commit comments

Comments
 (0)