Fonts

Alixan UI uses Inter for documentation, but components do not require a specific font. You can install any font and map it to Tailwind tokens.

For more detailed information, visit the Nuxt Fonts documentation.

Installation

npm install @nuxtjs/google-fonts

Configuration

nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    // You can change Inter to your preferred font
    ['@nuxtjs/google-fonts', {
      families: { Inter: { wght: '200..900' } },
      display: 'swap',
      preload: false,
    }],
  ],
})

Tailwind

app/assets/css/tailwind.css
@theme {
  /* You can change Inter to your preferred font */
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
}