chore: updated imageMod and font settings

This commit is contained in:
Al Murad Uzzaman
2026-03-14 09:11:36 +06:00
parent c04ffb8b3b
commit 49231c7be3
4 changed files with 28 additions and 11 deletions
+3 -1
View File
@@ -23,7 +23,9 @@ function parseFontString(fontStr) {
}
}
return { name, weights };
// remove + from font name and add space
const cleanName = name.replace(/\+/g, " ");
return { name: cleanName, weights };
}
// Build fonts configuration from theme.json