Bundled Themes: Import Twenty Twenty-Two, the new default theme for WordPress 5.9.
Twenty Twenty-Two arrives during an exciting time for WordPress themes. With the advent of Full Site Editing and Global Styles, themes are changing structurally and functionally to enable far more avenues for customization than users have come to expect in the past.
To take advantage of these new abilities, Twenty Twenty-Two has been designed to be the most flexible default theme ever created for WordPress.
Props sourav926, aristath, audrasjb, bgardner, briceduclos, poena, colorful-tones, dgwyer, dimadin, gregrickaby, ellenbauer, jffng, kafleg, karmatosed, kraftbj, kjellr, littlebigthing, onemaggie, matveb, mburridge, mtoensing, nickcernis, nielslange, williampatton, pgking, ribaricplusplus, scruffian, soean, utz119, youknowriad, desrosj, richtabor.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52081
git-svn-id: http://core.svn.wordpress.org/trunk@51673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-09 22:02:02 +01:00
|
|
|
/*
|
|
|
|
Theme Name: Twenty Twenty-Two
|
|
|
|
Theme URI: https://github.com/wordpress/twentytwentytwo/
|
|
|
|
Author: the WordPress team
|
|
|
|
Author URI: https://wordpress.org/
|
|
|
|
Description: The WordPress default theme for 2022.
|
|
|
|
Requires at least: 5.8
|
|
|
|
Tested up to: 5.8
|
|
|
|
Requires PHP: 5.6
|
|
|
|
Version: 1.0
|
|
|
|
License: GNU General Public License v2 or later
|
|
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
Text Domain: twentytwentytwo
|
|
|
|
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments
|
|
|
|
|
|
|
|
Twenty Twenty-Two WordPress Theme, (C) 2021 WordPress.org
|
|
|
|
Twenty Twenty-Two is distributed under the terms of the GNU GPL.
|
|
|
|
*/
|
2021-11-15 20:15:04 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Font smoothing.
|
|
|
|
* This is a niche setting that will not be available via Global Styles.
|
|
|
|
* https://github.com/WordPress/gutenberg/issues/35934
|
|
|
|
*/
|
|
|
|
|
|
|
|
body {
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Text link styles.
|
|
|
|
* Necessary until the following issue is resolved in Gutenberg:
|
|
|
|
* https://github.com/WordPress/gutenberg/issues/27075
|
|
|
|
*/
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration-thickness: 1px;
|
|
|
|
text-underline-offset: 0.25ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a:focus {
|
|
|
|
text-decoration-style: dashed;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:active {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Search and File Block button styles.
|
|
|
|
* Necessary until the following issues are resolved in Gutenberg:
|
|
|
|
* https://github.com/WordPress/gutenberg/issues/36444
|
|
|
|
* https://github.com/WordPress/gutenberg/issues/27760
|
|
|
|
*/
|
|
|
|
|
|
|
|
.wp-block-search__button,
|
|
|
|
.wp-block-file .wp-block-file__button {
|
|
|
|
background-color: var(--wp--preset--color--primary);
|
|
|
|
border-radius: 0;
|
|
|
|
border: none;
|
|
|
|
color: var(--wp--preset--color--background);
|
|
|
|
font-size: var(--wp--preset--typography--font-size--normal);
|
|
|
|
padding: calc(.667em + 2px) calc(1.333em + 2px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-block-file a.wp-block-file__button:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|