fix themes 2 fonts
This commit is contained in:
parent
a1822a5910
commit
65c6cb1d0e
2 changed files with 2 additions and 1 deletions
1
changelog.d/themes2-font.fix
Normal file
1
changelog.d/themes2-font.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix Themes 2.0 applying incorrect fonts
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue