fix and simplify font settings
This commit is contained in:
parent
9f3c0ec60b
commit
34a7bf83b2
6 changed files with 15 additions and 15 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue