Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbenedetto committed Mar 21, 2024
1 parent fb62517 commit 12787e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ function FontLibraryProvider( { children } ) {
/*
* Base Theme Fonts are the fonts defined in the theme.json *file*.
*
* Use the fonts from global styles + the ones from the theme.json file that hasn't repeated slugs.
* Uses the fonts from global styles + the ones from the theme.json file that hasn't repeated slugs.
* Avoids incosistencies with the fonts listed in the font library modal as base (unactivated).
* These inconsistencies can happen when the active theme fonts in global styles aren't defined in theme.json file as when a theme variant is applied.
* These inconsistencies can happen when the active theme fonts in global styles aren't defined in theme.json file as when a theme style variantion is applied.
*/
const baseThemeFonts = baseFontFamilies?.theme
? themeFonts.concat(
Expand Down

0 comments on commit 12787e2

Please sign in to comment.