Skip to content

Commit

Permalink
Fix issue with fonts in SiteGen customize sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-vara committed Feb 12, 2024
1 parent 4bf091f commit deb6ec9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ const DesignFontsPanel = forwardRef(
customFont;
}
} else {
headings = `var(--wp--preset--font-family--${ fontGroups[ selectedGroup ].headings })`;
body = `var(--wp--preset--font-family--${ fontGroups[ selectedGroup ].body })`;
headings = `var(--wp--preset--font-family--${ fontGroups[ selectedGroup ].headingsSlug })`;
body = `var(--wp--preset--font-family--${ fontGroups[ selectedGroup ].bodySlug })`;
}
setStylesOfCurrentData( headings, body );
};
Expand Down

0 comments on commit deb6ec9

Please sign in to comment.