Skip to content

Commit

Permalink
docs: change font family
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Mar 1, 2024
1 parent 0705a3f commit ea5f729
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
22 changes: 20 additions & 2 deletions docs/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
export default defineNuxtConfig({
extends: "@nuxt-themes/docus",

modules: ["@nuxtjs/plausible", "@nuxtjs/tailwindcss"],
modules: ["@nuxtjs/tailwindcss"],
imports: {
autoImport: true
},
app: {
head: {
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
crossorigin: 'anonymous'
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600&display=swap'
}
]
}
},
});
8 changes: 6 additions & 2 deletions docs/tokens.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { defineTheme } from "pinceau";
import { defineTheme } from 'pinceau'

export default defineTheme({});
export default defineTheme({
font: {
sans: 'Nunito Sans'
}
})

0 comments on commit ea5f729

Please sign in to comment.