fix themes 2 fonts

This commit is contained in:
Henry Jameson 2026-08-11 13:49:06 +03:00
commit 65c6cb1d0e
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Fix Themes 2.0 applying incorrect fonts

View file

@ -262,7 +262,7 @@ export const convertTheme2To3 = (data) => {
Object.keys(data.fonts || {}).forEach((key) => {
if (!fontsKeys.has(key)) return
if (!data.fonts[key]) return
const originalFont = data.fonts[key]
const originalFont = data.fonts[key].family
const rule = { source: '2to3' }
switch (key) {