Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions canard/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ function canard_scripts() {
* Gutenberg Editor Styles
*/
function canard_editor_styles() {
wp_enqueue_style( 'canard-block-style', get_template_directory_uri() . '/blocks.css' );
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its probably better to enqueue this before the editor styles so that if they ever target the same selectors the editor styles win.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for 👀 - changed!

wp_enqueue_style( 'canard-editor-block-style', get_template_directory_uri() . '/editor-blocks.css' );
wp_enqueue_style( 'canard-pt-serif-playfair-display', canard_pt_serif_playfair_display_font_url() );
wp_enqueue_style( 'canard-lato-inconsolata', canard_lato_inconsolata_fonts_url() );
Expand Down