diff --git a/.stylelintrc.json b/.stylelintrc.json index f6543555..b2cf7903 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,5 +1,5 @@ { - "extends": "stylelint-config-wordpress", + "extends": "@wordpress/stylelint-config", "rules": { "no-descending-specificity": null, "no-duplicate-selectors": null, diff --git a/CHANGELOG.md b/CHANGELOG.md index f39ef612..f54001f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Genesis Sample Theme Changelog +## [3.4.1] - 2021-03-25 + +### Added +* Implement preconnect for Google Fonts. + +### Changed +* Use null in place of theme version for Google Fonts URL. +* Optimize images included with the Black & White one-click theme setup option. +* Update developer dependencies. ([GitHub version](https://github.com/studiopress/genesis-sample/) only.) + +### Fixed +* Improve Content Layout Shift (CLS) occurring when using a custom logo. +* Improve Content Layout Shift (CLS) caused by the mobile menu. + ## [3.4.0] - 2020-10-20 Genesis Sample 3.4.0 requires the Genesis Blocks plugin. diff --git a/composer.json b/composer.json index 8b4a3dd8..f77ba2a6 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ }, "require-dev": { "php": "^5.6 || ^7", - "dealerdirect/phpcodesniffer-composer-installer": "^0.4.4", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1", "phpcompatibility/phpcompatibility-wp": "^2", "squizlabs/php_codesniffer": "^3.3.2", "wp-coding-standards/wpcs": "^1.1" diff --git a/languages/genesis-sample.pot b/languages/genesis-sample.pot index a1cc43e9..633f867e 100644 --- a/languages/genesis-sample.pot +++ b/languages/genesis-sample.pot @@ -1,14 +1,14 @@ -# msgid "" msgstr "" -"Project-Id-Version: Genesis Sample 3.3.1\n" +"Project-Id-Version: Genesis Sample 3.4.1\n" "Report-Msgid-Bugs-To: StudioPress \n" -"POT-Creation-Date: 2020-08-14 15:48:27+00:00\n" +"POT-Creation-Date: 2021-03-23 15:47:25+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: en\n" diff --git a/package-lock.json b/package-lock.json index 6247e305..55db0c12 100644 --- a/package-lock.json +++ b/package-lock.json @@ -363,6 +363,17 @@ "integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==", "dev": true }, + "@wordpress/stylelint-config": { + "version": "19.0.1", + "resolved": "https://registry.npmjs.org/@wordpress/stylelint-config/-/stylelint-config-19.0.1.tgz", + "integrity": "sha512-CrYX64Oj2vwrVcTOEu8KYdgD5VPspG+EmJYO8zLQoyTHSFp1XAEdAMKBotKcEAzoTPlT44lD3ch55rT1pUkG+A==", + "dev": true, + "requires": { + "stylelint-config-recommended": "^3.0.0", + "stylelint-config-recommended-scss": "^4.2.0", + "stylelint-scss": "^3.17.2" + } + }, "acorn": { "version": "6.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", @@ -3828,17 +3839,6 @@ "stylelint-config-recommended": "^3.0.0" } }, - "stylelint-config-wordpress": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-wordpress/-/stylelint-config-wordpress-17.0.0.tgz", - "integrity": "sha512-qUU2kVMd2ezIV9AzRdgietIfnavRRENt4180A1OMoVXIowRjjhohZgBiyVPV5EtNKo3GTO63l8g/QGNG27/h9g==", - "dev": true, - "requires": { - "stylelint-config-recommended": "^3.0.0", - "stylelint-config-recommended-scss": "^4.2.0", - "stylelint-scss": "^3.17.2" - } - }, "stylelint-scss": { "version": "3.18.0", "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-3.18.0.tgz", diff --git a/package.json b/package.json index a0171c4d..4c105d5c 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ }, "license": "GPL-2.0-or-later", "devDependencies": { + "@wordpress/stylelint-config": "^19.0.1", "archiver": "^3.1.1", "autoprefixer": "^9.8.6", "chalk": "^2.4.2", @@ -18,8 +19,7 @@ "postcss-cli": "^8.2.0", "pretty-bytes": "^5.4.1", "recursive-readdir": "^2.2.2", - "stylelint": "^13.7.2", - "stylelint-config-wordpress": "^17.0.0" + "stylelint": "^13.7.2" }, "scripts": { "autoprefixer": "postcss style.css lib/**/*.css --use autoprefixer --replace --no-map --verbose", @@ -48,7 +48,7 @@ "description": "The sample child theme for the Genesis Framework.", "author": "StudioPress", "authoruri": "https://www.studiopress.com/", - "version": "3.4.0", + "version": "3.4.1", "tags": "one-column, two-columns, left-sidebar, right-sidebar, accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready", "license": "GPL-2.0-or-later", "licenseuri": "https://www.gnu.org/licenses/gpl-2.0.html", diff --git a/style.css b/style.css index 9d3a7953..e55ee01d 100755 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ Description: This is the sample theme created for the Genesis Framework. Author: StudioPress Author URI: https://www.studiopress.com/ -Version: 3.4.0 +Version: 3.4.1 Tags: accessibility-ready, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, left-sidebar, one-column, right-sidebar, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, two-columns, wide-blocks @@ -401,11 +401,6 @@ input[type="radio"] { width: auto; } -::-ms-input-placeholder { - color: #333; - opacity: 1; -} - :-ms-input-placeholder { color: #333; opacity: 1;