style(font): add Roboto Slab via Google Fonts and global CSS to match existing site
This commit is contained in:
11
app/assets/css/main.css
Normal file
11
app/assets/css/main.css
Normal 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;
|
||||
}
|
||||
|
||||
|
@@ -3,5 +3,14 @@ export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
devtools: { enabled: true },
|
||||
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' }
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user