style(font): add Roboto Slab via Google Fonts and global CSS to match existing site

This commit is contained in:
2025-08-16 09:15:15 -06:00
parent 57634adf42
commit f0d3a8ed30
2 changed files with 22 additions and 2 deletions

11
app/assets/css/main.css Normal file
View File

@@ -0,0 +1,11 @@
/* Match brosner.com font */
html, body {
font-family: "Roboto Slab", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Ensure navbar icons remain white like the original */
.icon > svg > path {
fill: #fff;
}

View File

@@ -3,5 +3,14 @@ export default defineNuxtConfig({
compatibilityDate: '2025-07-15', compatibilityDate: '2025-07-15',
devtools: { enabled: true }, devtools: { enabled: true },
modules: [], modules: [],
css: ['bulma/css/bulma.min.css'] css: ['bulma/css/bulma.min.css', '@/assets/css/main.css'],
}) app: {
head: {
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Roboto+Slab:opsz,wght@8..144,100..900&display=swap' }
]
}
}
})