Skip to content
Permalink
Browse files

Updating Twenty Nineteen, our new default theme for 2019, set for 5.0.

This update changes the following: 

- Add PHPCS code quality fixes for functions.php
- Update stylesheets with a fresh Sass re-compile

Props xkon, kjellr



git-svn-id: https://develop.svn.wordpress.org/branches/5.0@43926 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
allancole
allancole committed Nov 21, 2018
1 parent 9e8f5dd commit ec99e72451d82198f74c49dfe13a67783fd381cf
@@ -107,33 +107,33 @@ function twentynineteen_setup() {
// Enqueue editor styles.
add_editor_style( 'style-editor.css' );
// Add custom editor font sizes
// Add custom editor font sizes.
add_theme_support(
'editor-font-sizes',
array(
array(
'name' => __( 'Small', 'twentynineteen' ),
'name' => __( 'Small', 'twentynineteen' ),
'shortName' => __( 'S', 'twentynineteen' ),
'size' => 19.5,
'slug' => 'small',
'size' => 19.5,
'slug' => 'small',
),
array(
'name' => __( 'Normal', 'twentynineteen' ),
'name' => __( 'Normal', 'twentynineteen' ),
'shortName' => __( 'M', 'twentynineteen' ),
'size' => 22,
'slug' => 'normal',
'size' => 22,
'slug' => 'normal',
),
array(
'name' => __( 'Large', 'twentynineteen' ),
'name' => __( 'Large', 'twentynineteen' ),
'shortName' => __( 'L', 'twentynineteen' ),
'size' => 36.5,
'slug' => 'large',
'size' => 36.5,
'slug' => 'large',
),
array(
'name' => __( 'Huge', 'twentynineteen' ),
'name' => __( 'Huge', 'twentynineteen' ),
'shortName' => __( 'XL', 'twentynineteen' ),
'size' => 49.5,
'slug' => 'huge',
'size' => 49.5,
'slug' => 'huge',
),
)
);
@@ -244,7 +244,7 @@ function twentynineteen_editor_customizer_styles() {
wp_enqueue_style( 'twentynineteen-editor-customizer-styles', get_theme_file_uri( '/style-editor-customizer.css' ), false, '1.0', 'all' );
if ( 'custom' === get_theme_mod( 'primary_color' ) ) {
// Include color patterns
// Include color patterns.
require_once get_parent_theme_file_path( '/inc/color-patterns.php' );
wp_add_inline_style( 'twentynineteen-editor-customizer-styles', twentynineteen_custom_colors_css() );
}
@@ -3634,7 +3634,8 @@ body.page .main-navigation {
}

.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
color: #111;
color: white;
border-color: #111;
}

.entry .entry-content .wp-block-archives,
@@ -3646,6 +3646,7 @@ body.page .main-navigation {
}

.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
color: white;
border-color: #111;
}

0 comments on commit ec99e72

Please sign in to comment.
You can’t perform that action at this time.