Make WordPress Core

Changeset 43926

Timestamp:
11/21/2018 07:56:23 PM (6 years ago)
Author:
allancole
Message:

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

Location:
branches/5.0/src/wp-content/themes/twentynineteen
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/functions.php

    r43909 r43926  
    108108        add_editor_style( 'style-editor.css' );
    109109
    110         // Add custom editor font sizes
     110        // Add custom editor font sizes
    111111        add_theme_support(
    112112            'editor-font-sizes',
    113113            array(
    114114                array(
    115                     'name' => __( 'Small', 'twentynineteen' ),
     115                    'name' => __( 'Small', 'twentynineteen' ),
    116116                    'shortName' => __( 'S', 'twentynineteen' ),
    117                     'size' => 19.5,
    118                     'slug' => 'small',
    119                 ),
    120                 array(
    121                     'name' => __( 'Normal', 'twentynineteen' ),
     117                    'size' => 19.5,
     118                    'slug' => 'small',
     119                ),
     120                array(
     121                    'name' => __( 'Normal', 'twentynineteen' ),
    122122                    'shortName' => __( 'M', 'twentynineteen' ),
    123                     'size' => 22,
    124                     'slug' => 'normal',
    125                 ),
    126                 array(
    127                     'name' => __( 'Large', 'twentynineteen' ),
     123                    'size' => 22,
     124                    'slug' => 'normal',
     125                ),
     126                array(
     127                    'name' => __( 'Large', 'twentynineteen' ),
    128128                    'shortName' => __( 'L', 'twentynineteen' ),
    129                     'size' => 36.5,
    130                     'slug' => 'large',
    131                 ),
    132                 array(
    133                     'name' => __( 'Huge', 'twentynineteen' ),
     129                    'size' => 36.5,
     130                    'slug' => 'large',
     131                ),
     132                array(
     133                    'name' => __( 'Huge', 'twentynineteen' ),
    134134                    'shortName' => __( 'XL', 'twentynineteen' ),
    135                     'size' => 49.5,
    136                     'slug' => 'huge',
     135                    'size' => 49.5,
     136                    'slug' => 'huge',
    137137                ),
    138138            )
    ��  
    245245
    246246    if ( 'custom' === get_theme_mod( 'primary_color' ) ) {
    247         // Include color patterns
     247        // Include color patterns
    248248        require_once get_parent_theme_file_path( '/inc/color-patterns.php' );
    249249        wp_add_inline_style( 'twentynineteen-editor-customizer-styles', twentynineteen_custom_colors_css() );
  • branches/5.0/src/wp-content/themes/twentynineteen/style-rtl.css

    r43909 r43926  
    36353635
    36363636.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
    3637   color: #111;
     3637  color: white;
     3638  border-color: #111;
    36383639}
    36393640
  • branches/5.0/src/wp-content/themes/twentynineteen/style.css

    r43909 r43926  
    36473647
    36483648.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
     3649
    36493650  border-color: #111;
    36503651}
Note: See TracChangeset for help on using the changeset viewer.