feat: font size preference
This commit is contained in:
parent
99abb78ef1
commit
41ef187379
9 changed files with 65 additions and 1 deletions
|
@ -66,3 +66,10 @@ export async function setupI18n() {
|
|||
})
|
||||
})
|
||||
}
|
||||
|
||||
export async function setupFontSize() {
|
||||
if (!process.server) {
|
||||
setFontSizeCSSVar()
|
||||
watch(fontSize, setFontSizeCSSVar)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue