get( 'Version' ) ); // Enqueue theme stylesheet. wp_enqueue_style( 'feelingood-style' ); } endif; add_action( 'wp_enqueue_scripts', 'feelingood_styles' ); /** * Temporaly fix for disabling the default font sizes. * https://github.com/WordPress/gutenberg/issues/52200 * * @since Feelin'Good 1.0 * * @return void */ add_filter( 'wp_theme_json_data_default', function( $theme_json ) { $data = [ 'version' => 2, 'settings' => [ 'typography' => [ 'fontSizes' => [] ] ] ]; return $theme_json->update_with( $data ); } );