(style) fix font names containing spaces

This commit is contained in:
Valentyne Stigloher 2025-02-17 12:51:34 +01:00
parent 90779c4de2
commit 9555dc1fef

View File

@ -20,8 +20,8 @@ useHead({
style: [{ style: [{
textContent: textContent:
`:root { `:root {
--font-headings: ${config.style.fontHeadings.join(', ')}; --font-headings: ${config.style.fontHeadings.map((font) => `'${font}'`).join(',')};
--font-text: ${config.style.fontText.join(', ')}; --font-text: ${config.style.fontText.map((font) => `'${font}'`).join(',')};
}`, }`,
}], }],
link: [ link: [