Nuxt Color Mode
How to use the Nuxt OG Image module with Nuxt Color Mode.
Nuxt OG Image integrates with Nuxt Color Mode out of the box.
It will render the default
By default, it will use
Usage
To use Nuxt OG Image with Nuxt Color Mode, you need to provide a
export default defineNuxtConfig({
colorMode: {
preference: 'system',
fallback: 'light', // will render in light mode
},
})
Did this page help you?