Pohon UI automatically registers the @nuxt/fonts module for you, so there's no additional setup required.
To use a font in your Pohon UI application, you can simply declare it in your CSS. It will be automatically loaded and optimized for you.
@theme {
--font-sans: 'Public Sans', sans-serif;
}
You can disable the @nuxt/fonts module with the pohon.fonts option in your nuxt.config.ts:
export default defineNuxtConfig({
pohon: {
fonts: false
}
});