fix: restore Theme 2 font families
This commit is contained in:
parent
9e4592df59
commit
341b1c1c3e
5 changed files with 75 additions and 2 deletions
|
|
@ -266,7 +266,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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue