Changeset 52392
- Timestamp:
- 12/20/2021 04:48:54 PM (3 years ago)
- Location:
- trunk/src/wp-content/themes/twentytwentytwo
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentytwo/functions.php
r52335 r52392 44 44 */ 45 45 function twentytwentytwo_styles() { 46 // Register theme stylesheet. 47 $theme_version = wp_get_theme()->get( 'Version' ); 46 48 47 // Register theme stylesheet.49 $version_string = is_string( $theme_version ) ? $theme_version : false; 48 50 wp_register_style( 49 51 'twentytwentytwo-style', 50 52 get_template_directory_uri() . '/style.css', 51 53 array(), 52 wp_get_theme()->get( 'Version' )54 $version_string 53 55 ); 54 56 -
trunk/src/wp-content/themes/twentytwentytwo/inc/block-patterns.php
r52375 r52392 10 10 * 11 11 * @since Twenty Twenty-Two 1.0 12 * 13 * @return void 12 14 */ 13 15 function twentytwentytwo_register_block_patterns() { 14 16 $block_pattern_categories = array( 15 17 'featured' => array( 'label' => __( 'Featured', 'twentytwentytwo' ) ), 16 'footer' => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ),17 'header' => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ),18 'query' => array( 'label' => __( 'Query', 'twentytwentytwo' ) ),19 'pages' => array( 'label' => __( 'Pages', 'twentytwentytwo' ) ),18 'footer' => array( 'label' => __( 'Footers', 'twentytwentytwo' ) ), 19 'header' => array( 'label' => __( 'Headers', 'twentytwentytwo' ) ), 20 'query' => array( 'label' => __( 'Query', 'twentytwentytwo' ) ), 21 'pages' => array( 'label' => __( 'Pages', 'twentytwentytwo' ) ), 20 22 ); 21 23 … … 118 120 * @since Twenty Twenty-Two 1.0 119 121 * 120 * @param $block_patterns arrayList of block patterns by name.122 * @param array $block_patterns List of block patterns by name. 121 123 */ 122 124 $block_patterns = apply_filters( 'twentytwentytwo_block_patterns', $block_patterns ); -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-images-title-citation.php
r52375 r52392 12 12 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 13 13 14 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->14 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 15 15 16 16 <!-- wp:post-excerpt /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-query-title-citation.php
r52375 r52392 10 10 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} --> 11 11 <div class="wp-block-query alignwide"><!-- wp:post-template --> 12 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->12 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 13 13 14 14 <!-- wp:post-excerpt /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-featured-posts.php
r52375 r52392 15 15 <!-- wp:post-featured-image {"isLink":true,"width":"","height":"310px"} /--> 16 16 17 <!-- wp:post-title {"isLink":true,"fontSize":" medium"} /-->17 <!-- wp:post-title {"isLink":true,"fontSize":"large"} /--> 18 18 19 19 <!-- wp:post-excerpt /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-large-list-names.php
r52375 r52392 18 18 <!-- /wp:spacer --> 19 19 20 <!-- wp:paragraph {"style":{"typography":{"fontWeight":"300"}},"fontSize":" large"} -->21 <p class="has- large-font-size" style="font-weight:300">' . esc_html__( 'Jesús Rodriguez, Doug Stilton, Emery Driscoll, Megan Perry, Rowan Price, Angelo Tso, Edward Stilton, Amy Jensen, Boston Bell, Shay Ford, Lee Cunningham, Evelynn Ray, Landen Reese, Ewan Hart, Jenna Chan, Phoenix Murray, Mel Saunders, Aldo Davidson, Zain Hall.', 'twentytwentytwo' ) . '</p>20 <!-- wp:paragraph {"style":{"typography":{"fontWeight":"300"}},"fontSize":"x-large"} --> 21 <p class="has-x-large-font-size" style="font-weight:300">' . esc_html__( 'Jesús Rodriguez, Doug Stilton, Emery Driscoll, Megan Perry, Rowan Price, Angelo Tso, Edward Stilton, Amy Jensen, Boston Bell, Shay Ford, Lee Cunningham, Evelynn Ray, Landen Reese, Ewan Hart, Jenna Chan, Phoenix Murray, Mel Saunders, Aldo Davidson, Zain Hall.', 'twentytwentytwo' ) . '</p> 22 22 <!-- /wp:paragraph --> 23 23 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-list-events.php
r52375 r52392 8 8 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"8rem","bottom":"8rem","left":"0px","right":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"primary","textColor":"background"} --> 9 9 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:8rem;padding-right:0px;padding-bottom:8rem;padding-left:0px"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"left":"max(1.25rem, 5vw)","right":"max(1.25rem, 5vw)"}}},"layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull" style="padding-right:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp( 4rem, 8vw, 6.25rem)","lineHeight":"1.15"},"spacing":{"margin":{"bottom":"2rem"}}}} -->11 <h2 class="alignwide" style="font-size:clamp( 4rem, 8vw, 6.25rem);line-height:1.15;margin-bottom:2rem"><em>' . esc_html__( 'Speaker Series', 'twentytwentytwo' ) . '</em></h2>10 <div class="wp-block-group alignfull" style="padding-right:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp(3.25rem, 8vw, 6.25rem)","lineHeight":"1.15"},"spacing":{"margin":{"bottom":"2rem"}}}} --> 11 <h2 class="alignwide" style="font-size:clamp(3.25rem, 8vw, 6.25rem);line-height:1.15;margin-bottom:2rem"><em>' . esc_html__( 'Speaker Series', 'twentytwentytwo' ) . '</em></h2> 12 12 <!-- /wp:heading --> 13 13 … … 28 28 29 29 <!-- wp:column {"verticalAlignment":"center"} --> 30 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":" large"} -->31 <h2 class="has- large-font-size" id="jesus-rodriguez">' . esc_html__( 'Jesús Rodriguez', 'twentytwentytwo' ) . '</h2>30 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":"x-large"} --> 31 <h2 class="has-x-large-font-size" id="jesus-rodriguez">' . esc_html__( 'Jesús Rodriguez', 'twentytwentytwo' ) . '</h2> 32 32 <!-- /wp:heading --></div> 33 33 <!-- /wp:column --> … … 52 52 53 53 <!-- wp:column {"verticalAlignment":"center"} --> 54 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":" large"} -->55 <h2 class="has- large-font-size" id="jesus-rodriguez">' . esc_html__( 'Doug Stilton', 'twentytwentytwo' ) . '</h2>54 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":"x-large"} --> 55 <h2 class="has-x-large-font-size" id="jesus-rodriguez">' . esc_html__( 'Doug Stilton', 'twentytwentytwo' ) . '</h2> 56 56 <!-- /wp:heading --></div> 57 57 <!-- /wp:column --> … … 76 76 77 77 <!-- wp:column {"verticalAlignment":"center"} --> 78 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":" large"} -->79 <h2 class="has- large-font-size" id="jesus-rodriguez">' . esc_html__( 'Amy Jensen', 'twentytwentytwo' ) . '</h2>78 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":"x-large"} --> 79 <h2 class="has-x-large-font-size" id="jesus-rodriguez">' . esc_html__( 'Amy Jensen', 'twentytwentytwo' ) . '</h2> 80 80 <!-- /wp:heading --></div> 81 81 <!-- /wp:column --> … … 100 100 101 101 <!-- wp:column {"verticalAlignment":"center"} --> 102 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":" large"} -->103 <h2 class="has- large-font-size" id="jesus-rodriguez">' . esc_html__( 'Emery Driscoll', 'twentytwentytwo' ) . '</h2>102 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":"x-large"} --> 103 <h2 class="has-x-large-font-size" id="jesus-rodriguez">' . esc_html__( 'Emery Driscoll', 'twentytwentytwo' ) . '</h2> 104 104 <!-- /wp:heading --></div> 105 105 <!-- /wp:column --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-pricing-table.php
r52375 r52392 12 12 <!-- /wp:separator --> 13 13 14 <!-- wp:heading {"style":{"typography":{"fontSize":" clamp(3rem, 6vw, 4rem)","lineHeight":"0.5"}}} -->15 <h2 id="1" style="font-size: clamp(3rem, 6vw, 4rem);line-height:0.5">' . esc_html( _x( '1', 'First item in a numbered list.', 'twentytwentytwo' ) ) . '</h2>14 <!-- wp:heading {"style":{"typography":{"fontSize":"var(--wp--custom--typography--font-size--gigantic, clamp(2.75rem, 6vw, 3.25rem))","lineHeight":"0.5"}}} --> 15 <h2 id="1" style="font-size:var(--wp--custom--typography--font-size--gigantic, clamp(2.75rem, 6vw, 3.25rem));line-height:0.5">' . esc_html( _x( '1', 'First item in a numbered list.', 'twentytwentytwo' ) ) . '</h2> 16 16 <!-- /wp:heading --> 17 17 18 <!-- wp:heading {"level":3,"fontSize":" large"} -->19 <h3 class="has- large-font-size" id="pigeon"><em>' . esc_html__( 'Pigeon', 'twentytwentytwo' ) . '</em></h3>18 <!-- wp:heading {"level":3,"fontSize":"x-large"} --> 19 <h3 class="has-x-large-font-size" id="pigeon"><em>' . esc_html__( 'Pigeon', 'twentytwentytwo' ) . '</em></h3> 20 20 <!-- /wp:heading --> 21 21 … … 40 40 <!-- /wp:separator --> 41 41 42 <!-- wp:heading {"style":{"typography":{"fontSize":"clamp( 3rem, 6vw, 4rem)","lineHeight":"0.5"}}} -->43 <h2 id="2" style="font-size:clamp( 3rem, 6vw, 4rem);line-height:0.5">' . esc_html( _x( '2', 'Second item in a numbered list.', 'twentytwentytwo' ) ) . '</h2>42 <!-- wp:heading {"style":{"typography":{"fontSize":"clamp(2.75rem, 6vw, 3.25rem)","lineHeight":"0.5"}}} --> 43 <h2 id="2" style="font-size:clamp(2.75rem, 6vw, 3.25rem);line-height:0.5">' . esc_html( _x( '2', 'Second item in a numbered list.', 'twentytwentytwo' ) ) . '</h2> 44 44 <!-- /wp:heading --> 45 45 46 <!-- wp:heading {"fontSize":" large"} -->47 <h2 class="has- large-font-size" id="sparrow"><meta charset="utf-8"><em>' . esc_html__( 'Sparrow', 'twentytwentytwo' ) . '</em></h2>46 <!-- wp:heading {"fontSize":"x-large"} --> 47 <h2 class="has-x-large-font-size" id="sparrow"><meta charset="utf-8"><em>' . esc_html__( 'Sparrow', 'twentytwentytwo' ) . '</em></h2> 48 48 <!-- /wp:heading --> 49 49 … … 68 68 <!-- /wp:separator --> 69 69 70 <!-- wp:heading {"style":{"typography":{"fontSize":"clamp( 3rem, 6vw, 4rem)","lineHeight":"0.5"}}} -->71 <h2 id="3" style="font-size:clamp( 3rem, 6vw, 4rem);line-height:0.5">' . esc_html( _x( '3', 'Third item in a numbered list.', 'twentytwentytwo' ) ) . '</h2>70 <!-- wp:heading {"style":{"typography":{"fontSize":"clamp(2.75rem, 6vw, 3.25rem)","lineHeight":"0.5"}}} --> 71 <h2 id="3" style="font-size:clamp(2.75rem, 6vw, 3.25rem);line-height:0.5">' . esc_html( _x( '3', 'Third item in a numbered list.', 'twentytwentytwo' ) ) . '</h2> 72 72 <!-- /wp:heading --> 73 73 74 <!-- wp:heading {"fontSize":" large"} -->75 <h2 class="has- large-font-size" id="falcon"><meta charset="utf-8"><em>' . esc_html__( 'Falcon', 'twentytwentytwo' ) . '</em></h2>74 <!-- wp:heading {"fontSize":"x-large"} --> 75 <h2 class="has-x-large-font-size" id="falcon"><meta charset="utf-8"><em>' . esc_html__( 'Falcon', 'twentytwentytwo' ) . '</em></h2> 76 76 <!-- /wp:heading --> 77 77 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-subscribe.php
r52375 r52392 13 13 14 14 <!-- wp:buttons --> 15 <div class="wp-block-buttons"><!-- wp:button {"fontSize":" normal"} -->16 <div class="wp-block-button has-custom-font-size has- normal-font-size"><a class="wp-block-button__link">' . esc_html__( 'Join our mailing list', 'twentytwentytwo' ) . '</a></div>15 <div class="wp-block-buttons"><!-- wp:button {"fontSize":"medium"} --> 16 <div class="wp-block-button has-custom-font-size has-medium-font-size"><a class="wp-block-button__link">' . esc_html__( 'Join our mailing list', 'twentytwentytwo' ) . '</a></div> 17 17 <!-- /wp:button --></div> 18 18 <!-- /wp:buttons --></div> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-two-images-text.php
r52375 r52392 22 22 <!-- /wp:spacer --> 23 23 24 <!-- wp:heading {"fontSize":" large"} -->25 <h2 class="has- large-font-size" id="screening">' . esc_html__( 'SCREENING', 'twentytwentytwo' ) . '</h2>24 <!-- wp:heading {"fontSize":"x-large"} --> 25 <h2 class="has-x-large-font-size" id="screening">' . esc_html__( 'SCREENING', 'twentytwentytwo' ) . '</h2> 26 26 <!-- /wp:heading --> 27 27 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-video-trailer.php
r52375 r52392 9 9 <div class="wp-block-group alignfull has-foreground-color has-secondary-background-color has-text-color has-background has-link-color" style="padding-top:6rem;padding-right:max(1.25rem, 5vw);padding-bottom:4rem;padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide"} --> 10 10 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33.33%"} --> 11 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":" large"} -->12 <h2 class="has- large-font-size" id="extended-trailer">' . esc_html__( 'Extended Trailer', 'twentytwentytwo' ) . '</h2>11 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":"x-large"} --> 12 <h2 class="has-x-large-font-size" id="extended-trailer">' . esc_html__( 'Extended Trailer', 'twentytwentytwo' ) . '</h2> 13 13 <!-- /wp:heading --> 14 14 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/general-wide-image-intro-buttons.php
r52375 r52392 13 13 <!-- wp:columns {"verticalAlignment":null} --> 14 14 <div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"bottom"} --> 15 <div class="wp-block-column is-vertically-aligned-bottom"><!-- wp:heading {"style":{"typography":{"fontSize":"clamp( 4rem, 8vw, 6.25rem)","lineHeight":"1.15"}}} -->16 <h2 style="font-size:clamp( 4rem, 8vw, 6.25rem);line-height:1.15"><em>' . wp_kses_post( __( 'Welcome to<br>the Aviary', 'twentytwentytwo' ) ) . '</em></h2>15 <div class="wp-block-column is-vertically-aligned-bottom"><!-- wp:heading {"style":{"typography":{"fontSize":"clamp(3.25rem, 8vw, 6.25rem)","lineHeight":"1.15"}}} --> 16 <h2 style="font-size:clamp(3.25rem, 8vw, 6.25rem);line-height:1.15"><em>' . wp_kses_post( __( 'Welcome to<br>the Aviary', 'twentytwentytwo' ) ) . '</em></h2> 17 17 <!-- /wp:heading --></div> 18 18 <!-- /wp:column --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/header-large-dark.php
r52375 r52392 21 21 <!-- /wp:group --> 22 22 23 <!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp( 4rem, 8vw, 6.25rem)","lineHeight":"1.15"}}} -->24 <h2 class="alignwide" style="font-size:clamp( 4rem, 8vw, 6.25rem);line-height:1.15">' . wp_kses_post( __( '<em>The Hatchery</em>: a blog about my adventures in bird watching', 'twentytwentytwo' ) ) . '</h2>23 <!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"clamp(3.25rem, 8vw, 6.25rem)","lineHeight":"1.15"}}} --> 24 <h2 class="alignwide" style="font-size:clamp(3.25rem, 8vw, 6.25rem);line-height:1.15">' . wp_kses_post( __( '<em>The Hatchery</em>: a blog about my adventures in bird watching', 'twentytwentytwo' ) ) . '</h2> 25 25 <!-- /wp:heading --></div> 26 26 <!-- /wp:group --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/hidden-heading-and-bird.php
r52375 r52392 11 11 'inserter' => false, 12 12 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"max(1.25rem, 5vw)","left":"max(1.25rem, 5vw)","top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} --> 13 <div class="wp-block-group alignfull" style="padding-top:0px;padding-right:max(1.25rem, 5vw);padding-bottom:0px;padding-left:max(1.25rem, 5vw)"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":" clamp(4rem, 8vw, 6.25rem)","lineHeight":"1.15"}}} -->14 <h2 class="alignwide" style="font-size: clamp(4rem, 8vw, 6.25rem);line-height:1.15">' . wp_kses_post( __( '<em>The Hatchery</em>: a blog about my adventures in bird watching', 'twentytwentytwo' ) ) . '</h2>13 <div class="wp-block-group alignfull" style="padding-top:0px;padding-right:max(1.25rem, 5vw);padding-bottom:0px;padding-left:max(1.25rem, 5vw)"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"var(--wp--custom--typography--font-size--colossal, clamp(3.25rem, 8vw, 6.25rem))","lineHeight":"1.15"}}} --> 14 <h2 class="alignwide" style="font-size:var(--wp--custom--typography--font-size--colossal, clamp(3.25rem, 8vw, 6.25rem));line-height:1.15">' . wp_kses_post( __( '<em>The Hatchery</em>: a blog about my adventures in bird watching', 'twentytwentytwo' ) ) . '</h2> 15 15 <!-- /wp:heading --></div> 16 16 <!-- /wp:group --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links-dark.php
r52375 r52392 14 14 <!-- /wp:image --> 15 15 16 <!-- wp:heading {"textAlign":"left"," fontSize":"huge"} -->17 <h2 class="has-text-align-left has-huge-font-size">' . esc_html__( 'A trouble of hummingbirds', 'twentytwentytwo' ) . '</h2>16 <!-- wp:heading {"textAlign":"left","style":{"typography":{"fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"}}} --> 17 <h2 class="has-text-align-left" style="font-size:var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))">' . esc_html__( 'A trouble of hummingbirds', 'twentytwentytwo' ) . '</h2> 18 18 <!-- /wp:heading --> 19 19 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-links.php
r52375 r52392 12 12 13 13 <!-- wp:group --> 14 <div class="wp-block-group"><!-- wp:heading {"textAlign":"center","fontSize":"huge"} --> 15 <h2 class="has-text-align-center has-huge-font-size" id="swoop-1">' . esc_html__( 'Swoop', 'twentytwentytwo' ) . '</h2> 14 <div class="wp-block-group"> 15 16 <!-- wp:heading {"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"}}} --> 17 <h2 class="has-text-align-center" style="font-size:var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))">' . esc_html__( 'Swoop', 'twentytwentytwo' ) . '</h2> 16 18 <!-- /wp:heading --> 17 19 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-about-solid-color.php
r52375 r52392 11 11 <div class="wp-block-group"><!-- wp:spacer {"height":64} --> 12 12 <div style="height:64px" aria-hidden="true" class="wp-block-spacer"></div> 13 <!-- /wp:spacer --><!-- wp:heading {"style":{"typography":{"lineHeight":"1","textTransform":"uppercase","fontSize":"clamp( 3rem, 6vw, 4rem)"}}} -->14 <h2 id="edvard-smith" style="font-size:clamp( 3rem, 6vw, 4rem);line-height:1;text-transform:uppercase">' . wp_kses_post( __( 'Edvard<br>Smith', 'twentytwentytwo' ) ) . '</h2>13 <!-- /wp:spacer --><!-- wp:heading {"style":{"typography":{"lineHeight":"1","textTransform":"uppercase","fontSize":"clamp(2.75rem, 6vw, 3.25rem)"}}} --> 14 <h2 id="edvard-smith" style="font-size:clamp(2.75rem, 6vw, 3.25rem);line-height:1;text-transform:uppercase">' . wp_kses_post( __( 'Edvard<br>Smith', 'twentytwentytwo' ) ) . '</h2> 15 15 <!-- /wp:heading --> 16 16 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-layout-image-text-and-video.php
r52375 r52392 18 18 <!-- wp:columns {"align":"wide"} --> 19 19 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33.33%"} --> 20 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":" large"} -->21 <h2 class="has- large-font-size">' . esc_html__( 'Screening', 'twentytwentytwo' ) . '</h2>20 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":"x-large"} --> 21 <h2 class="has-x-large-font-size">' . esc_html__( 'Screening', 'twentytwentytwo' ) . '</h2> 22 22 <!-- /wp:heading --> 23 23 … … 46 46 <div class="wp-block-group alignfull" style="padding-left:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide"} --> 47 47 <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33.33%"} --> 48 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":" large"} -->49 <h2 class="has- large-font-size">' . esc_html__( 'Extended Trailer', 'twentytwentytwo' ) . '</h2>48 <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":"x-large"} --> 49 <h2 class="has-x-large-font-size">' . esc_html__( 'Extended Trailer', 'twentytwentytwo' ) . '</h2> 50 50 <!-- /wp:heading --> 51 51 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts-right.php
r52375 r52392 25 25 <div class="wp-block-column" style="padding-bottom:6rem;flex-basis:66.66%"><!-- wp:query {"queryId":9,"query":{"perPage":"5","pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"list"},"layout":{"inherit":true}} --> 26 26 <div class="wp-block-query"><!-- wp:post-template --> 27 <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0","bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":" huge"} /-->27 <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0","bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}},"textColor":"foreground","fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"} /--> 28 28 29 29 <!-- wp:post-featured-image {"isLink":true} /--> … … 63 63 <!-- /wp:spacer --> 64 64 65 <!-- wp:site-title {"isLink":false,"style":{"typography":{"fontStyle":"normal","fontWeight":"300","lineHeight":"1.2"}},"fontSize":" medium","fontFamily":"source-serif-pro"} /-->65 <!-- wp:site-title {"isLink":false,"style":{"typography":{"fontStyle":"normal","fontWeight":"300","lineHeight":"1.2"}},"fontSize":"large","fontFamily":"source-serif-pro"} /--> 66 66 67 67 <!-- wp:site-tagline /--> … … 71 71 <!-- /wp:spacer --> 72 72 73 <!-- wp:heading {"level":4,"fontSize":" medium"} -->74 <h4 class="has- medium-font-size"><em>' . esc_html__( 'Categories', 'twentytwentytwo' ) . '</em></h4>73 <!-- wp:heading {"level":4,"fontSize":"large"} --> 74 <h4 class="has-large-font-size"><em>' . esc_html__( 'Categories', 'twentytwentytwo' ) . '</em></h4> 75 75 <!-- /wp:heading --> 76 76 77 77 <!-- wp:tag-cloud {"taxonomy":"category","showTagCounts":true} /--> 78 78 79 <!-- wp:heading {"level":4,"fontSize":" medium"} -->80 <h4 class="has- medium-font-size"><em>' . esc_html__( 'Tags', 'twentytwentytwo' ) . '</em></h4>79 <!-- wp:heading {"level":4,"fontSize":"large"} --> 80 <h4 class="has-large-font-size"><em>' . esc_html__( 'Tags', 'twentytwentytwo' ) . '</em></h4> 81 81 <!-- /wp:heading --> 82 82 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-blog-posts.php
r52375 r52392 47 47 <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:query {"query":{"perPage":"5","pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"layout":{"inherit":true}} --> 48 48 <div class="wp-block-query"><!-- wp:post-template --> 49 <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0","bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":" huge"} /-->49 <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0","bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"} /--> 50 50 51 51 <!-- wp:post-featured-image {"isLink":true} /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-grid-posts.php
r52375 r52392 9 9 <div class="wp-block-group alignfull" style="padding-top:max(1.25rem, 5vw);padding-right:max(1.25rem, 5vw);padding-bottom:max(1.25rem, 5vw);padding-left:max(1.25rem, 5vw)"><!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} --> 10 10 <div class="wp-block-columns alignwide" style="margin-top:0px;margin-bottom:0px"><!-- wp:column {"width":"30%"} --> 11 <div class="wp-block-column" style="flex-basis:30%"><!-- wp:site-title {"isLink":false,"style":{"spacing":{"margin":{"top":"0px","bottom":"1rem"}},"typography":{"fontStyle":"italic","fontWeight":"300","lineHeight":"1.1"}},"fontSize":" huge","fontFamily":"source-serif-pro"} /-->11 <div class="wp-block-column" style="flex-basis:30%"><!-- wp:site-title {"isLink":false,"style":{"spacing":{"margin":{"top":"0px","bottom":"1rem"}},"typography":{"fontStyle":"italic","fontWeight":"300","lineHeight":"1.1"}},"fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))","fontFamily":"source-serif-pro"} /--> 12 12 13 13 <!-- wp:site-tagline {"fontSize":"small"} /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/page-sidebar-poster.php
r52375 r52392 37 37 <!-- /wp:spacer --> 38 38 39 <!-- wp:heading {"level":3,"fontSize":" medium"} -->40 <h3 class="has- medium-font-size"><em>' . esc_html__( 'Date', 'twentytwentytwo' ) . '</em></h3>39 <!-- wp:heading {"level":3,"fontSize":"large"} --> 40 <h3 class="has-large-font-size"><em>' . esc_html__( 'Date', 'twentytwentytwo' ) . '</em></h3> 41 41 <!-- /wp:heading --> 42 42 … … 49 49 <!-- /wp:spacer --> 50 50 51 <!-- wp:heading {"level":3,"fontSize":" medium"} -->52 <h3 class="has- medium-font-size"><em>' . esc_html__( 'Location', 'twentytwentytwo' ) . '</em></h3>51 <!-- wp:heading {"level":3,"fontSize":"large"} --> 52 <h3 class="has-large-font-size"><em>' . esc_html__( 'Location', 'twentytwentytwo' ) . '</em></h3> 53 53 <!-- /wp:heading --> 54 54 -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/query-default.php
r52375 r52392 10 10 <div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide"} --> 11 11 <!-- wp:group {"layout":{"inherit":true}} --> 12 <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"align":"wide","fontSize":" huge"} /-->12 <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"align":"wide","fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"} /--> 13 13 14 14 <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"top":"calc(1.75 * var(--wp--style--block-gap))"}}}} /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/query-grid.php
r52375 r52392 11 11 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 12 12 13 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->13 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 14 14 15 15 <!-- wp:post-excerpt /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/query-irregular-grid.php
r52375 r52392 14 14 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 15 15 16 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->16 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 17 17 18 18 <!-- wp:post-excerpt /--> … … 32 32 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 33 33 34 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->34 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 35 35 36 36 <!-- wp:post-excerpt /--> … … 50 50 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 51 51 52 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->52 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 53 53 54 54 <!-- wp:post-excerpt /--> … … 66 66 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 67 67 68 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->68 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 69 69 70 70 <!-- wp:post-excerpt /--> … … 84 84 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 85 85 86 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->86 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 87 87 88 88 <!-- wp:post-excerpt /--> … … 102 102 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 103 103 104 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->104 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 105 105 106 106 <!-- wp:post-excerpt /--> … … 122 122 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 123 123 124 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->124 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 125 125 126 126 <!-- wp:post-excerpt /--> … … 140 140 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 141 141 142 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->142 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 143 143 144 144 <!-- wp:post-excerpt /--> … … 158 158 <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> 159 159 160 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->160 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 161 161 162 162 <!-- wp:post-excerpt /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/query-large-titles.php
r52375 r52392 15 15 16 16 <!-- wp:column {"verticalAlignment":"center","width":""} --> 17 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontSize":"clamp( 3rem, 6vw, 4rem)"}}} /--></div>17 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontSize":"clamp(2.75rem, 6vw, 3.25rem)"}}} /--></div> 18 18 <!-- /wp:column --></div> 19 19 <!-- /wp:columns --> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/query-simple-blog.php
r52375 r52392 9 9 'content' => '<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"perPage":10},"layout":{"inherit":true}} --> 10 10 <div class="wp-block-query"><!-- wp:post-template --> 11 <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"1rem","bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":" huge"} /-->11 <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"1rem","bottom":"1rem"}},"typography":{"fontStyle":"normal","fontWeight":"300"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"} /--> 12 12 13 13 <!-- wp:post-featured-image {"isLink":true} /--> -
trunk/src/wp-content/themes/twentytwentytwo/inc/patterns/query-text-grid.php
r52375 r52392 10 10 <div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide"} --> 11 11 12 <!-- wp:post-title {"isLink":true,"fontSize":" large"} /-->12 <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /--> 13 13 14 14 <!-- wp:post-excerpt /--> -
trunk/src/wp-content/themes/twentytwentytwo/style.css
r52375 r52392 68 68 border: none; 69 69 color: var(--wp--preset--color--background); 70 font-size: var(--wp--preset-- typography--font-size--normal);70 font-size: var(--wp--preset--font-size--medium); 71 71 padding: calc(.667em + 2px) calc(1.333em + 2px); 72 72 } … … 97 97 98 98 .wp-site-blocks, 99 .is-root-container,99 body > .is-root-container, 100 100 .edit-post-visual-editor__post-title-wrapper, 101 101 .wp-block-group.alignfull, -
trunk/src/wp-content/themes/twentytwentytwo/templates/archive.html
r52375 r52392 2 2 3 3 <!-- wp:group {"layout":{"inherit":true}} --> 4 <div class="wp-block-group"><!-- wp:query-title {"type":"archive","align":"wide","style":{"typography":{"fontSize":"clamp( 3rem, 6vw, 4rem)"},"spacing":{"margin":{"bottom":"6rem"}}}} /-->4 <div class="wp-block-group"><!-- wp:query-title {"type":"archive","align":"wide","style":{"typography":{"fontSize":"clamp(2.75rem, 6vw, 3.25rem)"},"spacing":{"margin":{"bottom":"6rem"}}}} /--> 5 5 6 6 <!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"tagName":"main","align":"wide","layout":{"inherit":false}} --> 7 7 <main class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide"} --> 8 <!-- wp:post-title {"isLink":true,"align":"wide","style":{"typography":{"fontStyle":"normal","fontWeight":"300"}},"fontSize":" huge"} /-->8 <!-- wp:post-title {"isLink":true,"align":"wide","style":{"typography":{"fontStyle":"normal","fontWeight":"300"}},"fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"} /--> 9 9 10 10 <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"top":"calc(1.75 * var(--wp--style--block-gap))"}}}} /--> -
trunk/src/wp-content/themes/twentytwentytwo/templates/home.html
r52375 r52392 4 4 <main class="wp-block-query"><!-- wp:post-template {"align":"wide"} --> 5 5 <!-- wp:group {"layout":{"inherit":true}} --> 6 <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"align":"wide","fontSize":" huge"} /-->6 <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"align":"wide","fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"} /--> 7 7 8 8 <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"top":"calc(1.75 * var(--wp--style--block-gap))"}}}} /--> -
trunk/src/wp-content/themes/twentytwentytwo/templates/index.html
r52375 r52392 4 4 <main class="wp-block-query"><!-- wp:post-template {"align":"wide"} --> 5 5 <!-- wp:group {"layout":{"inherit":true}} --> 6 <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"align":"wide","fontSize":" huge"} /-->6 <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"align":"wide","fontSize":"var(--wp--custom--typography--font-size--huge, clamp(2.25rem, 4vw, 2.75rem))"} /--> 7 7 8 8 <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"top":"calc(1.75 * var(--wp--style--block-gap))"}}}} /--> -
trunk/src/wp-content/themes/twentytwentytwo/theme.json
r52375 r52392 146 146 "typography": { 147 147 "font-size": { 148 "gigantic": "clamp(3rem, 6vw, 4rem)", 149 "colossal": "clamp(4rem, 8vw, 6.25rem)" 148 "huge": "clamp(2.25rem, 4vw, 2.75rem)", 149 "gigantic": "clamp(2.75rem, 6vw, 3.25rem)", 150 "colossal": "clamp(3.25rem, 8vw, 6.25rem)" 150 151 }, 151 152 "line-height": { … … 183 184 "fontSizes": [ 184 185 { 185 "name": "Small",186 186 "size": "1rem", 187 187 "slug": "small" 188 188 }, 189 189 { 190 "name": "Normal",191 190 "size": "1.125rem", 192 "slug": "normal" 193 }, 194 { 195 "name": "Medium", 191 "slug": "medium" 192 }, 193 { 196 194 "size": "1.75rem", 197 "slug": "medium" 198 }, 199 { 200 "name": "Large", 195 "slug": "large" 196 }, 197 { 201 198 "size": "clamp(1.75rem, 3vw, 2.25rem)", 202 "slug": "large" 203 }, 204 { 205 "name": "Huge", 206 "size": "clamp(2.5rem, 4vw, 3rem)", 207 "slug": "huge" 199 "slug": "x-large" 208 200 } 209 201 ] … … 225 217 }, 226 218 "typography": { 227 "fontSize": "var(--wp--preset-- typography--font-size--normal)"219 "fontSize": "var(--wp--preset--font-size--medium)" 228 220 } 229 221 }, … … 265 257 "fontFamily": "var(--wp--preset--font-family--system-font)", 266 258 "lineHeight": "var(--wp--custom--typography--line-height--normal)", 267 "fontSize": "var(--wp--preset--font-size-- normal)",259 "fontSize": "var(--wp--preset--font-size--medium)", 268 260 "fontWeight": "normal" 269 261 } … … 296 288 "fontWeight": "300", 297 289 "lineHeight": "var(--wp--custom--typography--line-height--tiny)", 298 "fontSize": "var(--wp-- preset--font-size--huge)"290 "fontSize": "var(--wp--custom--typography--font-size--huge)" 299 291 } 300 292 }, … … 304 296 "fontWeight": "300", 305 297 "lineHeight": "var(--wp--custom--typography--line-height--tiny)", 306 "fontSize": "var(--wp--preset--font-size-- large)"298 "fontSize": "var(--wp--preset--font-size--x-large)" 307 299 } 308 300 }, … … 313 305 "textTransform": "uppercase", 314 306 "lineHeight": "var(--wp--custom--typography--line-height--normal)", 315 "fontSize": "var(--wp--preset--font-size-- normal)"307 "fontSize": "var(--wp--preset--font-size--medium)" 316 308 } 317 309 }, … … 322 314 "textTransform": "uppercase", 323 315 "lineHeight": "var(--wp--custom--typography--line-height--normal)", 324 "fontSize": "var(--wp--preset--font-size-- normal)"316 "fontSize": "var(--wp--preset--font-size--medium)" 325 317 } 326 318 }, … … 337 329 "fontFamily": "var(--wp--preset--font-family--system-font)", 338 330 "lineHeight": "var(--wp--custom--typography--line-height--normal)", 339 "fontSize": "var(--wp--preset--font-size-- normal)"331 "fontSize": "var(--wp--preset--font-size--medium)" 340 332 } 341 333 },
Note: See TracChangeset
for help on using the changeset viewer.