Update theme.ts

This commit is contained in:
enneaa 2025-03-13 21:15:58 +08:00 committed by GitHub
parent bb175fff5b
commit 97d34335ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,8 @@ export function googleFontHref(theme: Theme) {
const bodyFont = formatFontSpecification("body", body)
const codeFont = formatFontSpecification("code", code)
return `https://fonts.googleapis.com/css2?family=${bodyFont}&family=${headerFont}&family=${codeFont}&display=swap`
// return `https://fonts.googleapis.com/css2?family=${bodyFont}&family=${headerFont}&family=${codeFont}&display=swap`
return `https://fonts.loli.net/css2?family=${bodyFont}&family=${headerFont}&family=${codeFont}&display=swap`
}
export function joinStyles(theme: Theme, ...stylesheet: string[]) {