nuxt-modules / og-image

Generate OG Images with Vue templates in Nuxt.
https://nuxtseo.com/og-image
417 stars 28 forks source link

Setting Colorscheme to `dark` for `NuxtSeo` template doesn't make the text a light color. #251

Closed maclong9 closed 2 months ago

maclong9 commented 3 months ago

🐛 The bug

defineOgImageComponent('NuxtSeo', {
  title: page.value.title,
  description: page.value.description,
  siteLogo: '/mark.svg',
  theme: '#fcfcfc',
  colorMode: 'dark'
})

[!NOTE] I can confirm the text renders correctly in light mode, just not in dark mode.

Screenshot 2024-08-01 at 09 17 40

🛠ī¸ To reproduce

https://stackblitz.com/edit/nuxt-starter-pxs3wk?file=pages%2Findex.vue

🌈 Expected behavior

Text color to be light enough to read when in dark mode.

ℹī¸ Additional context

No response