Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
/**
* Enqueue WordPress theme styles within Gutenberg.
*/
function tabor_gutenberg_styles() {
// Load the theme styles within Gutenberg.
wp_enqueue_style( 'tabor-gutenberg', get_theme_file_uri( '/assets/css/gutenberg.min.css' ), false, '@@pkg.version', 'all' );
}
add_action( 'enqueue_block_editor_assets', 'tabor_gutenberg_styles' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment