Skip to content

Commit 7f8f5d9

Browse files
committed
fix: remove font family fallback
1 parent ff7c615 commit 7f8f5d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/components/OgImage/ShareCard.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ const repoSlug = computed(() => {
5858
return truncate(`${ref.owner}/${ref.repo}`, 26)
5959
})
6060
61-
const fontSans = "'Geist', ui-sans-serif, sans-serif"
62-
const fontMono = "'Geist Mono', ui-monospace, monospace"
61+
const fontSans = "'Geist'"
62+
const fontMono = "'Geist Mono'"
6363
</script>
6464

6565
<template>
@@ -97,10 +97,10 @@ const fontMono = "'Geist Mono', ui-monospace, monospace"
9797
</span>
9898
<span
9999
v-if="isLatest"
100-
class="flex items-center text-[20px] font-normal py-1 px-[14px] rounded-[20px] leading-[1.5] tracking-[0.04em]"
100+
class="flex items-center text-[20px] font-normal py-1 px-[14px] rounded-[6px] leading-[1.5] tracking-[0.04em]"
101101
:style="{
102-
border: `1px solid ${withAlpha(primaryColor, 0.25)}`,
103-
color: withAlpha(primaryColor, 0.9),
102+
backgroundColor: withAlpha(primaryColor, 0.1),
103+
color: primaryColor,
104104
}"
105105
>latest</span
106106
>

0 commit comments

Comments
 (0)