mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 20:15:08 +00:00
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 Built from https://develop.svn.wordpress.org/branches/5.0@43926 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7f07660ca8
commit
37875754c1
@ -107,33 +107,33 @@ if ( ! function_exists( '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;
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-beta5-43925';
|
||||
$wp_version = '5.0-beta5-43926';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user