fix and simplify font settings

This commit is contained in:
Henry Jameson 2026-04-29 12:30:00 +03:00
commit 34a7bf83b2
6 changed files with 15 additions and 15 deletions

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].family
const originalFont = data.fonts[key]
const rule = { source: '2to3' }
switch (key) {