Skip to content

Commit

Permalink
theme.json: enqueue classes for font-family
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Jul 2, 2021
1 parent 46f0c05 commit a72d930
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/class-wp-theme-json-gutenberg.php
Expand Up @@ -191,7 +191,12 @@ class WP_Theme_JSON_Gutenberg {
'path' => array( 'typography', 'fontFamilies' ),
'value_key' => 'fontFamily',
'css_var_infix' => 'font-family',
'classes' => array(),
'classes' => array(
array(
'class_suffix' => 'font-family',
'property_name' => 'font-family',
),
),
),
);

Expand Down

0 comments on commit a72d930

Please sign in to comment.