Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add editor styles entry point #617

Merged
merged 9 commits into from
Apr 8, 2021
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function _s_setup() {

// Gutenberg editor styles support.
add_theme_support( 'editor-styles' );
add_editor_style( 'style-editor.css' );
add_editor_style( 'build/index.css' );

// Gutenberg responsive embed support.
add_theme_support( 'responsive-embeds' );
Expand Down
49 changes: 31 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/scss/base/_globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ pre {
@apply overflow-auto;
}

//-----------------------------------------
// Admin Overrides
//-----------------------------------------
.block-editor-writing-flow {
@apply text-base leading-normal;
}

//-----------------------------------------
// Theme Elements
Expand Down