diff --git a/wp-content/themes/twentynineteen/inc/color-patterns.php b/wp-content/themes/twentynineteen/inc/color-patterns.php index 6e6004a328..be9b5efca9 100644 --- a/wp-content/themes/twentynineteen/inc/color-patterns.php +++ b/wp-content/themes/twentynineteen/inc/color-patterns.php @@ -14,7 +14,7 @@ function twentynineteen_custom_colors_css() { $primary_color = 199; if ( 'default' !== get_theme_mod( 'primary_color', 'default' ) ) { - $primary_color = absint( get_theme_mod( 'primary_color', 199 ) ); + $primary_color = absint( get_theme_mod( 'primary_color_hue', 199 ) ); } /** diff --git a/wp-content/themes/twentynineteen/inc/template-functions.php b/wp-content/themes/twentynineteen/inc/template-functions.php index 170232c126..d7baff327c 100644 --- a/wp-content/themes/twentynineteen/inc/template-functions.php +++ b/wp-content/themes/twentynineteen/inc/template-functions.php @@ -106,7 +106,7 @@ function twentynineteen_can_show_post_thumbnail() { * Returns true if image filters are enabled on the theme options. */ function twentynineteen_image_filters_enabled() { - return 'inactive' !== get_theme_mod( 'image_filter', 1 ); + return 0 !== get_theme_mod( 'image_filter', 1 ); } /** diff --git a/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss b/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss index 58bc3867d0..7bb4963351 100644 --- a/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss +++ b/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss @@ -198,9 +198,9 @@ &.is-style-outline .wp-block-button__link, &.is-style-outline .wp-block-button__link:focus, &.is-style-outline .wp-block-button__link:active { - @include button-all-transition; + @include button-all-transition; border-width: 2px; - border-style: solid; + border-style: solid; &:not(.has-background) { background: transparent; @@ -244,6 +244,14 @@ } } + .wp-block-archives, + .wp-block-categories { + + &.aligncenter { + text-align: center; + } + } + //! Latest categories .wp-block-categories { @@ -788,7 +796,7 @@ .has-secondary-background-color, .has-dark-gray-background-color, .has-light-gray-background-color { - + // Use white text against these backgrounds by default. color: $color__background-body; diff --git a/wp-content/themes/twentynineteen/style-editor.css b/wp-content/themes/twentynineteen/style-editor.css index 5bc0ae4549..67bcc4a17c 100644 --- a/wp-content/themes/twentynineteen/style-editor.css +++ b/wp-content/themes/twentynineteen/style-editor.css @@ -614,6 +614,13 @@ figcaption, padding-left: calc(2 * 1rem); } +/* Remove duplicate rule-line when a separator + * is followed by an H1, or H2 */ +.wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h1:before, +.wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h2:before { + display: none; +} + /** === Latest Posts, Archives, Categories === */ ul.wp-block-archives, .wp-block-categories, diff --git a/wp-content/themes/twentynineteen/style-editor.scss b/wp-content/themes/twentynineteen/style-editor.scss index 713c519fae..f19be4b03e 100644 --- a/wp-content/themes/twentynineteen/style-editor.scss +++ b/wp-content/themes/twentynineteen/style-editor.scss @@ -600,6 +600,13 @@ figcaption, } } +/* Remove duplicate rule-line when a separator + * is followed by an H1, or H2 */ +.wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h1:before, +.wp-block[data-type="core/separator"] + .wp-block[data-type="core/heading"] h2:before { + display: none; +} + /** === Latest Posts, Archives, Categories === */ ul.wp-block-archives, diff --git a/wp-content/themes/twentynineteen/style-rtl.css b/wp-content/themes/twentynineteen/style-rtl.css index 5d329773f6..bb5e4592b5 100644 --- a/wp-content/themes/twentynineteen/style-rtl.css +++ b/wp-content/themes/twentynineteen/style-rtl.css @@ -3690,6 +3690,11 @@ body.page .main-navigation { text-decoration: none; } +.entry .entry-content .wp-block-archives.aligncenter, +.entry .entry-content .wp-block-categories.aligncenter { + text-align: center; +} + .entry .entry-content .wp-block-categories ul { padding-top: 0.75rem; } diff --git a/wp-content/themes/twentynineteen/style.css b/wp-content/themes/twentynineteen/style.css index 6eb328ce94..20d5d725a8 100644 --- a/wp-content/themes/twentynineteen/style.css +++ b/wp-content/themes/twentynineteen/style.css @@ -3702,6 +3702,11 @@ body.page .main-navigation { text-decoration: none; } +.entry .entry-content .wp-block-archives.aligncenter, +.entry .entry-content .wp-block-categories.aligncenter { + text-align: center; +} + .entry .entry-content .wp-block-categories ul { padding-top: 0.75rem; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 6a449edc21..2a3445989f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-alpha-44301'; +$wp_version = '5.1-alpha-44302'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.