-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fluid typography: pass theme.json settings to override merged theme d…
…ata (#58362) * Allow passing a theme json settings object to the gutenberg_get_typography_font_size_value function. This is so that any stylesheets generated by the Theme_JSON class can use that class's theme_json instance. * Harmonizing the function signatures of gutenberg_get_typography_font_size_value (PHP) and getTypographyFontSizeValue (JS) Updated doc comment * Updated comments Light refactoring Added extra test to check for empty objects/arrays * Forgot that useSettings won't accept top level paths * Passing $settings to preset callbacks Added test for the above * Linty McLintface * updating tests, remove hanging isset test * Oh, linter, how thee hast forsaken thy duty to grate thine users less
- Loading branch information
Showing
10 changed files
with
751 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.