mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-19 22:53:36 +09:00
chore: updated imageMod and font settings
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user