diff --git a/src/OnboardingSPA/components/Sidebar/components/Customize/DesignFontsPanel/index.js b/src/OnboardingSPA/components/Sidebar/components/Customize/DesignFontsPanel/index.js index e63a129f1..36918a739 100644 --- a/src/OnboardingSPA/components/Sidebar/components/Customize/DesignFontsPanel/index.js +++ b/src/OnboardingSPA/components/Sidebar/components/Customize/DesignFontsPanel/index.js @@ -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 ); };