diff --git a/wp-content/themes/stewart/assets/fonts/WorkSans-Italic-VariableFont_wght.ttf b/wp-content/themes/stewart/assets/fonts/WorkSans-Italic-VariableFont_wght.ttf new file mode 100644 index 0000000000..f2bf331027 Binary files /dev/null and b/wp-content/themes/stewart/assets/fonts/WorkSans-Italic-VariableFont_wght.ttf differ diff --git a/wp-content/themes/stewart/assets/fonts/WorkSans-VariableFont_wght.ttf b/wp-content/themes/stewart/assets/fonts/WorkSans-VariableFont_wght.ttf new file mode 100644 index 0000000000..09829a5169 Binary files /dev/null and b/wp-content/themes/stewart/assets/fonts/WorkSans-VariableFont_wght.ttf differ diff --git a/wp-content/themes/stewart/assets/images/about.jpg b/wp-content/themes/stewart/assets/images/about.jpg new file mode 100644 index 0000000000..c8ea700875 Binary files /dev/null and b/wp-content/themes/stewart/assets/images/about.jpg differ diff --git a/wp-content/themes/stewart/assets/images/contact.jpg b/wp-content/themes/stewart/assets/images/contact.jpg new file mode 100644 index 0000000000..39deef4ba7 Binary files /dev/null and b/wp-content/themes/stewart/assets/images/contact.jpg differ diff --git a/wp-content/themes/stewart/assets/images/header.jpg b/wp-content/themes/stewart/assets/images/header.jpg new file mode 100644 index 0000000000..cb4762a376 Binary files /dev/null and b/wp-content/themes/stewart/assets/images/header.jpg differ diff --git a/wp-content/themes/stewart/functions.php b/wp-content/themes/stewart/functions.php new file mode 100644 index 0000000000..366178a18a --- /dev/null +++ b/wp-content/themes/stewart/functions.php @@ -0,0 +1,76 @@ +get( 'Version' ) + ); + + // Enqueue theme stylesheet. + wp_enqueue_style( 'stewart-style' ); +} +add_action( 'wp_enqueue_scripts', 'stewart_styles' ); + + +/** + * Registers block patterns and categories. + * + * @since Stewart 1.7 + * + * @return void + */ +function stewart_register_block_pattern_categories() { + $block_pattern_categories = array( + 'images' => array( 'label' => __( 'Images', 'stewart' ) ), + 'featured' => array( 'label' => __( 'Featured', 'stewart' ) ), + 'footer' => array( 'label' => __( 'Footers', 'stewart' ) ), + 'pages' => array( 'label' => __( 'Pages', 'stewart' ) ), + 'sidebar' => array( 'label' => __( 'Sidebar', 'stewart' ) ), + 'query' => array( 'label' => __( 'Query', 'stewart' ) ), + ); + + /** + * Filters the theme block pattern categories. + * + * @since stewart 1.7 + * + * @param array[] $block_pattern_categories { + * An associative array of block pattern categories, keyed by category name. + * + * @type array[] $properties { + * An array of block category properties. + * + * @type string $label A human-readable label for the pattern category. + * } + * } + */ + $block_pattern_categories = apply_filters( 'stewart_block_pattern_categories', $block_pattern_categories ); + + foreach ( $block_pattern_categories as $name => $properties ) { + if ( ! WP_Block_Pattern_Categories_Registry::get_instance()->is_registered( $name ) ) { + register_block_pattern_category( $name, $properties ); + } + } + +} +add_action( 'init', 'stewart_register_block_pattern_categories', 9 ); diff --git a/wp-content/themes/stewart/index.php b/wp-content/themes/stewart/index.php new file mode 100644 index 0000000000..27dc7057dc --- /dev/null +++ b/wp-content/themes/stewart/index.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/wp-content/themes/stewart/parts/footer.html b/wp-content/themes/stewart/parts/footer.html new file mode 100644 index 0000000000..9b64c551f1 --- /dev/null +++ b/wp-content/themes/stewart/parts/footer.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/stewart/parts/header-title-nav.html b/wp-content/themes/stewart/parts/header-title-nav.html new file mode 100644 index 0000000000..a042f080be --- /dev/null +++ b/wp-content/themes/stewart/parts/header-title-nav.html @@ -0,0 +1,11 @@ + +
+
+
+ +
+ + +
+
+ \ No newline at end of file diff --git a/wp-content/themes/stewart/parts/header.html b/wp-content/themes/stewart/parts/header.html new file mode 100644 index 0000000000..5d7c76580e --- /dev/null +++ b/wp-content/themes/stewart/parts/header.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/wp-content/themes/stewart/parts/sidebar.html b/wp-content/themes/stewart/parts/sidebar.html new file mode 100644 index 0000000000..b5192e4526 --- /dev/null +++ b/wp-content/themes/stewart/parts/sidebar.html @@ -0,0 +1,29 @@ + +
+ + + + + + +
+ + + + + +
+ + + + +
+ + + + + \ No newline at end of file diff --git a/wp-content/themes/stewart/patterns/footer-default.php b/wp-content/themes/stewart/patterns/footer-default.php new file mode 100644 index 0000000000..9b8df2448a --- /dev/null +++ b/wp-content/themes/stewart/patterns/footer-default.php @@ -0,0 +1,32 @@ + + + + + + + +
+ +

+ WordPress' + ) + ?> +

+ +
+ + + + + diff --git a/wp-content/themes/stewart/patterns/footer-left.php b/wp-content/themes/stewart/patterns/footer-left.php new file mode 100644 index 0000000000..32338210f2 --- /dev/null +++ b/wp-content/themes/stewart/patterns/footer-left.php @@ -0,0 +1,33 @@ + + + + + + + +
+ +
+

+ WordPress' + ); + ?> +

+
+
+ + + + + diff --git a/wp-content/themes/stewart/patterns/footer-nav-left.php b/wp-content/themes/stewart/patterns/footer-nav-left.php new file mode 100644 index 0000000000..f836f12aab --- /dev/null +++ b/wp-content/themes/stewart/patterns/footer-nav-left.php @@ -0,0 +1,35 @@ + + + + + + + +
+ +
+ + +

+WordPress' + ); + ?> +

+
+
+ + + + + diff --git a/wp-content/themes/stewart/patterns/footer-nav-right.php b/wp-content/themes/stewart/patterns/footer-nav-right.php new file mode 100644 index 0000000000..fb7c705c91 --- /dev/null +++ b/wp-content/themes/stewart/patterns/footer-nav-right.php @@ -0,0 +1,35 @@ + + + + + + + +
+ +
+

+WordPress' + ); + ?> +

+ + +
+
+ + + + + diff --git a/wp-content/themes/stewart/patterns/footer-right.php b/wp-content/themes/stewart/patterns/footer-right.php new file mode 100644 index 0000000000..13d778f382 --- /dev/null +++ b/wp-content/themes/stewart/patterns/footer-right.php @@ -0,0 +1,33 @@ + + + + + + + +
+ +
+

+WordPress' + ); + ?> +

+
+
+ + + + + diff --git a/wp-content/themes/stewart/patterns/header-image.php b/wp-content/themes/stewart/patterns/header-image.php new file mode 100644 index 0000000000..b6f42fdd81 --- /dev/null +++ b/wp-content/themes/stewart/patterns/header-image.php @@ -0,0 +1,18 @@ + + + +
+<?php echo esc_html__( 'An abstract image featuring a brushstroke.', 'stewart' ); ?> +
+ + + + + diff --git a/wp-content/themes/stewart/patterns/header-traditional-background.php b/wp-content/themes/stewart/patterns/header-traditional-background.php new file mode 100644 index 0000000000..74b468eed0 --- /dev/null +++ b/wp-content/themes/stewart/patterns/header-traditional-background.php @@ -0,0 +1,24 @@ + + + + + diff --git a/wp-content/themes/stewart/patterns/header-traditional.php b/wp-content/themes/stewart/patterns/header-traditional.php new file mode 100644 index 0000000000..a3c73ef53d --- /dev/null +++ b/wp-content/themes/stewart/patterns/header-traditional.php @@ -0,0 +1,20 @@ + + + +
+
+
+ +
+ + +
+
+ diff --git a/wp-content/themes/stewart/patterns/hidden-comments.php b/wp-content/themes/stewart/patterns/hidden-comments.php new file mode 100644 index 0000000000..a48399b46b --- /dev/null +++ b/wp-content/themes/stewart/patterns/hidden-comments.php @@ -0,0 +1,43 @@ + + + +
+ + + +
+
+ + + +
+ + +
+ +
+ + + + +
+
+ + + + + + + + + + + +
+ \ No newline at end of file diff --git a/wp-content/themes/stewart/patterns/page-about.php b/wp-content/themes/stewart/patterns/page-about.php new file mode 100644 index 0000000000..121ad1703e --- /dev/null +++ b/wp-content/themes/stewart/patterns/page-about.php @@ -0,0 +1,80 @@ + + + +

+Stewart', 'stewart' ) ); +?> +

+ + + +
+

+ +

+
+ + + +
<?php echo esc_html__( 'A collage featuring the portrait of a woman.', 'stewart' ); ?>
+ + + +
+
+

+ +

+
+ + + +
+ +
+
+ + + +
+
+

+ +

+
+ + + +
+ +
+
+ diff --git a/wp-content/themes/stewart/patterns/page-contact.php b/wp-content/themes/stewart/patterns/page-contact.php new file mode 100644 index 0000000000..5458b2f82d --- /dev/null +++ b/wp-content/themes/stewart/patterns/page-contact.php @@ -0,0 +1,84 @@ + + + +
+ <?php echo esc_html__( 'An abstract image featuring a brushstroke.', 'stewart' ); ?> +
+ + + +
+
+
+
+

+ +

+ + + +

+ +

+ + + +

+ +

+
+ + + +
+

+ +

+ + + +

+ +

+ + + +

+ +

+
+
+
+ + + +
+

+ +

+
+
+ diff --git a/wp-content/themes/stewart/patterns/posts-list.php b/wp-content/themes/stewart/patterns/posts-list.php new file mode 100644 index 0000000000..b53dd4bae7 --- /dev/null +++ b/wp-content/themes/stewart/patterns/posts-list.php @@ -0,0 +1,32 @@ + + + +
+ + + + + + + + + + + + + + +
+ + + +
+
+ diff --git a/wp-content/themes/stewart/patterns/sidebar-background.php b/wp-content/themes/stewart/patterns/sidebar-background.php new file mode 100644 index 0000000000..94d410dbbd --- /dev/null +++ b/wp-content/themes/stewart/patterns/sidebar-background.php @@ -0,0 +1,46 @@ + + + + + + + + + diff --git a/wp-content/themes/stewart/patterns/sidebar-blogging.php b/wp-content/themes/stewart/patterns/sidebar-blogging.php new file mode 100644 index 0000000000..010e39bf4a --- /dev/null +++ b/wp-content/themes/stewart/patterns/sidebar-blogging.php @@ -0,0 +1,63 @@ + + + +
+
+ + + +

+ +

+ + + +
+ +
+ + + +
+ + + +

+ +

+ + + + + +
+ + + +

+ +

+ + + + + +
+
+ + + + + diff --git a/wp-content/themes/stewart/patterns/sidebar-border.php b/wp-content/themes/stewart/patterns/sidebar-border.php new file mode 100644 index 0000000000..946d9293ea --- /dev/null +++ b/wp-content/themes/stewart/patterns/sidebar-border.php @@ -0,0 +1,37 @@ + + + +
+ + + + + + +
+ + + + + +
+ + + + +
+ + + + + diff --git a/wp-content/themes/stewart/patterns/sidebar-categories-tags.php b/wp-content/themes/stewart/patterns/sidebar-categories-tags.php new file mode 100644 index 0000000000..749f3e9649 --- /dev/null +++ b/wp-content/themes/stewart/patterns/sidebar-categories-tags.php @@ -0,0 +1,45 @@ + + + +
+
+ + + +

+ +

+ + + + + +
+ + + +

+ +

+ + + + + +
+
+ + + + + diff --git a/wp-content/themes/stewart/patterns/sidebar-default.php b/wp-content/themes/stewart/patterns/sidebar-default.php new file mode 100644 index 0000000000..7a2bb74587 --- /dev/null +++ b/wp-content/themes/stewart/patterns/sidebar-default.php @@ -0,0 +1,37 @@ + + + +
+ + + + + + +
+ + + + + +
+ + + + +
+ + + + + diff --git a/wp-content/themes/stewart/patterns/sidebar-introduction.php b/wp-content/themes/stewart/patterns/sidebar-introduction.php new file mode 100644 index 0000000000..d50ecb30b4 --- /dev/null +++ b/wp-content/themes/stewart/patterns/sidebar-introduction.php @@ -0,0 +1,37 @@ + + + +
+
<?php echo esc_html__( 'A collage featuring the portrait of a woman.', 'stewart' ); ?>
+ + + +
+ + +

+ +

+ + + + +
+
+ + + + + diff --git a/wp-content/themes/stewart/readme.txt b/wp-content/themes/stewart/readme.txt new file mode 100644 index 0000000000..d320e480a3 --- /dev/null +++ b/wp-content/themes/stewart/readme.txt @@ -0,0 +1,123 @@ +=== Stewart === +Contributors: automattic +Requires at least: 6.1 +Tested up to: 6.1 +Requires PHP: 5.6 +Stable tag: 1.0 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + +== Description == + +Stewart is a modern blogging theme with a left sidebar. Its default color scheme is a striking combination of orange and light gray, to give your blog a sophisticated appearance from day one. + +== Changelog == + += 1.18 = +* Stewart: Update comments (#8303) + += 1.17 = +* Lossless image optimization (#7671) + += 1.17 = +* Optimize images (#7671) + += 1.16 = +* Remove tags blog-homepage and auto-loading-homepage (#7322) + += 1.15 = +* Remove block attribute from any theme not defining nav menu locations (#6730) + += 1.14 = +* Stewart: Move link and hover settings to theme.json (#6121) + += 1.13 = +* Make theme available for translation as much as possible (#6484) + += 1.12 = +* Remove page-list blocks (#6313) + += 1.11 = +* lock post-content block by default (#6314) + += 1.10 = +* Fix/missing tags (#6303) + += 1.9 = +* Update all /pub themes so the theme-uri points to `https://wordpress.com/theme/` (#6033) + += 1.8 = +* Stewart: removing no needed definitions in theme.json (#5938) + += 1.7 = +* Stewart: refactor patterns (#5854) + += 1.6 = +* multiple themes: update font sizes from px to rem for better a11y (#5801) + += 1.5 = +* Add fonts to theme.json (#5609) + += 1.4 = +* Stewart: fix font sizes in theme.json (#5614) +* Stewart: fixes on index, archive and search templates (#5613) + += 1.3 = +* Update alignment rules (#5526) + += 1.2 = +* Update alignment styles (#5475) + += 1.1 = +* Fix template markup (#5383) +* Adjust about page pattern. (#5382) +* [Stewart] Add block patterns (#5375) +* [Stewart] Readme Cleanup (#5381) + += 1.4 = +* Update screenshots from wpcom (#5357) + += 1.3 = +* Rename template parts. (#5319) + += 1.2 = +* [Stewart] Add alignment rules (#5318) + += 1.1 = +* Stewart: Tidy up navigation (#5265) + += 1.0 = +* Released: January 22, 2022 + +== Copyright == + +Stewart WordPress Theme, (C) 2022 Automattic, Inc. +Stewart is distributed under the terms of the GNU GPL. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +This theme bundles the following third-party resources: + +Paintings by Fons Heijnsbroek +License: CC0 +Source: https://www.flickr.com/photos/abstract-art-fons/28822761186/ + https://www.flickr.com/photos/abstract-art-fons/28822761186/ +Used in the screenshot, and in block patterns. + +"Girl Arranging Her Hair" by Abbott Handerson Thayer +License: CC0 +Source: https://www.rawpixel.com/image/3235928/free-illustration-image-portrait-vintage-women-painting +Used in block patterns. + +Excerpts from "Emma" by Jane Austen +License: Public Domain +Source: https://www.gutenberg.org/ebooks/158 +Used in the screenshot, and for block pattern placeholder text. \ No newline at end of file diff --git a/wp-content/themes/stewart/screenshot.png b/wp-content/themes/stewart/screenshot.png new file mode 100644 index 0000000000..481a8a081f Binary files /dev/null and b/wp-content/themes/stewart/screenshot.png differ diff --git a/wp-content/themes/stewart/style.css b/wp-content/themes/stewart/style.css new file mode 100644 index 0000000000..b02d4e7d34 --- /dev/null +++ b/wp-content/themes/stewart/style.css @@ -0,0 +1,157 @@ +/* +Theme Name: Stewart +Theme URI: https://wordpress.com/theme/stewart +Author: Automattic +Author URI: https://automattic.com/ +Description: Stewart is a modern blogging theme with a left sidebar. Its default color scheme is a striking combination of orange and light gray, to give your blog a sophisticated appearance from day one. +Requires at least: 6.1 +Tested up to: 6.1 +Requires PHP: 5.7 +Version: 1.18 +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: stewart +Tags: two-columns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments + +Stewart WordPress Theme, (C) 2022 Automattic, Inc. +Stewart is distributed under the terms of the GNU GPL. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +This theme uses the following third-party resource in its theme screenshot: + +"Swedish Windows / Fönster no. 1" by Fons Heijnsbroek +https://www.flickr.com/photos/abstract-art-fons/28822761186/ + +*/ + +/* + * 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; +} + +/* + * Link Details + */ + +a { + text-decoration-thickness: 0.075ex; + text-underline-offset: 0.125em; +} + +.wp-block-site-title a { + text-decoration: none; +} + +.wp-block-navigation .wp-block-post-title a { + text-decoration: underline; +} + +.wp-block-navigation .wp-block-post-title a:hover { + text-decoration: none; +} + +/* + * Button hover styles. + * Necessary until the following issue is resolved in Gutenberg: + * https://github.com/WordPress/gutenberg/issues/27075 + */ + +.wp-block-search__button:hover, +.wp-block-file .wp-block-file__button:hover, +.wp-block-button__link:hover { + opacity: 0.90; +} + +/* + * 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); +} + +/* + * Comment Form Fields + */ + +.wp-block-post-comments input:not([type=submit]), +.wp-block-post-comments textarea { + background-color: var(--wp--preset--color--background); + border-color: var(--wp--preset--color--foreground); +} + +/* + * Alignment styles, borrowed from Twenty Twenty-Two. + * These rules are temporary, and should not be relied on or + * modified too heavily by themes or plugins that build on + * Twenty Twenty-Two. These are meant to be a precursor to + * a global solution provided by the Block Editor. + * + * Relevant issues: + * https://github.com/WordPress/gutenberg/issues/35607 + * https://github.com/WordPress/gutenberg/issues/35884 + */ + +.wp-site-blocks, +body > .is-root-container, +.edit-post-visual-editor__post-title-wrapper, +.wp-block-group.alignfull, +.wp-block-group.has-background, +.wp-block-columns.alignfull.has-background, +.wp-block-cover.alignfull, +.is-root-container .wp-block[data-align='full'] > .wp-block-group, +.is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background, +.is-root-container .wp-block[data-align='full'] > .wp-block-cover { + padding-left: var(--wp--custom--spacing--outer); + padding-right: var(--wp--custom--spacing--outer); +} + +.wp-site-blocks .alignfull, +.wp-site-blocks > .wp-block-group.has-background, +.wp-site-blocks > .wp-block-cover, +.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background, +.wp-site-blocks > .wp-block-template-part > .wp-block-cover, +body > .is-root-container > .wp-block-cover, +body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background, +body > .is-root-container > .wp-block-template-part > .wp-block-cover, +.is-root-container .wp-block[data-align="full"] { + margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important; + margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important; + max-width: unset; + width: unset; +} + +/* Blocks inside columns don't have negative margins. */ +.wp-site-blocks .wp-block-columns .wp-block-column .alignfull, +.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"], +/* We also want to avoid stacking negative margins. */ +.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull, +.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] { + margin-left: auto !important; + margin-right: auto !important; + width: inherit; +} diff --git a/wp-content/themes/stewart/templates/archive.html b/wp-content/themes/stewart/templates/archive.html new file mode 100644 index 0000000000..aab77e4a30 --- /dev/null +++ b/wp-content/themes/stewart/templates/archive.html @@ -0,0 +1,25 @@ + + + +
+
+
+ + + +
+
+ + + + + + + +
+
+
+
+ + + diff --git a/wp-content/themes/stewart/templates/blank.html b/wp-content/themes/stewart/templates/blank.html new file mode 100644 index 0000000000..a900db09e4 --- /dev/null +++ b/wp-content/themes/stewart/templates/blank.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/wp-content/themes/stewart/templates/header-footer-only.html b/wp-content/themes/stewart/templates/header-footer-only.html new file mode 100644 index 0000000000..a74279df0c --- /dev/null +++ b/wp-content/themes/stewart/templates/header-footer-only.html @@ -0,0 +1,10 @@ + + + +
+ + +
+ + + diff --git a/wp-content/themes/stewart/templates/index.html b/wp-content/themes/stewart/templates/index.html new file mode 100644 index 0000000000..fb3d7b9759 --- /dev/null +++ b/wp-content/themes/stewart/templates/index.html @@ -0,0 +1,21 @@ + + + +
+
+
+ + + +
+ +
+ +
+ +
+
+
+ + + diff --git a/wp-content/themes/stewart/templates/page.html b/wp-content/themes/stewart/templates/page.html new file mode 100644 index 0000000000..16baa3969d --- /dev/null +++ b/wp-content/themes/stewart/templates/page.html @@ -0,0 +1,33 @@ + + + +
+
+
+ + + +
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ + + diff --git a/wp-content/themes/stewart/templates/search.html b/wp-content/themes/stewart/templates/search.html new file mode 100644 index 0000000000..c3ec7faf55 --- /dev/null +++ b/wp-content/themes/stewart/templates/search.html @@ -0,0 +1,28 @@ + + + +
+
+
+ + + +
+ + + + + + + +
+ +
+ + +
+
+
+ + + \ No newline at end of file diff --git a/wp-content/themes/stewart/templates/sidebar-footer-only.html b/wp-content/themes/stewart/templates/sidebar-footer-only.html new file mode 100644 index 0000000000..f2721611c5 --- /dev/null +++ b/wp-content/themes/stewart/templates/sidebar-footer-only.html @@ -0,0 +1,21 @@ + + + +
+
+
+ + + +
+
+
+ +
+
+
+
+
+ + + diff --git a/wp-content/themes/stewart/templates/single.html b/wp-content/themes/stewart/templates/single.html new file mode 100644 index 0000000000..fcd3a73c3b --- /dev/null +++ b/wp-content/themes/stewart/templates/single.html @@ -0,0 +1,42 @@ + + + +
+
+
+ + + +
+
+
+ + + + + + +
+ + + +
+ +
+ + + + + + + + + + +
+
+
+
+ + + diff --git a/wp-content/themes/stewart/theme.json b/wp-content/themes/stewart/theme.json new file mode 100644 index 0000000000..9cda2ecd91 --- /dev/null +++ b/wp-content/themes/stewart/theme.json @@ -0,0 +1,408 @@ +{ + "version": 1, + "templateParts": [ + { + "name": "header", + "title": "Header", + "area": "header" + }, + { + "name": "header-title-nav", + "title": "Header with Site Title and Navigation", + "area": "header" + }, + { + "name": "sidebar", + "title": "Sidebar", + "area": "uncategorized" + }, + { + "name": "footer", + "title": "Footer", + "area": "footer" + }, + { + "name": "comments", + "name": "Comments", + "area": "uncategorized" + } + ], + "customTemplates": [ + { + "name": "blank", + "title": "Blank", + "postTypes": [ + "page", + "post" + ] + }, + { + "name": "header-footer-only", + "title": "Header and Footer Only", + "postTypes": [ + "page", + "post" + ] + }, + { + "name": "sidebar-footer-only", + "title": "Sidebar and Footer Only", + "postTypes": [ + "page", + "post" + ] + } + ], + "settings": { + "appearanceTools": true, + "color": { + "duotone": [ + { + "colors": [ "#F1F2F2", "#F1F2F2" ], + "slug": "background-and-foreground", + "name": "Background and Foreground" + }, + { + "colors": [ "#C14420", "#F1F2F2" ], + "slug": "foreground-and-background", + "name": "Foreground and background" + } + ], + "palette": [ + { + "slug": "foreground", + "color": "#C14420", + "name": "Foreground" + }, + { + "slug": "background", + "color": "#F1F2F2", + "name": "Background" + }, + { + "slug": "primary", + "color": "#000000", + "name": "Primary" + }, + { + "slug": "secondary", + "color": "#863119", + "name": "Secondary" + }, + { + "slug": "tertiary", + "color": "#FFFFFF", + "name": "Tertiary" + } + ] + }, + "custom": { + "body": { + "typography": { + "lineHeight": 1.6 + } + }, + "heading": { + "typography": { + "lineHeight": 1.2 + } + }, + "margin": { + "horizontal": "30px", + "vertical": "30px" + }, + "spacing": { + "outer": "min(4vw, 30px)" + } + }, + "layout": { + "contentSize": "826px", + "wideSize": "1160px" + }, + "typography": { + "fontFamilies": [ + { + "fontFamily": "'Work Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', sans-serif", + "slug": "work-sans", + "name": "Work Sans", + "fontFace": [ + { + "fontFamily": "Work Sans", + "fontDisplay": "block", + "fontWeight": "400", + "fontStyle": "normal", + "fontStretch": "normal", + "src": [ "file:./assets/fonts/WorkSans-VariableFont_wght.ttf" ] + }, + { + "fontFamily": "Work Sans", + "fontDisplay": "block", + "fontWeight": "700", + "fontStyle": "normal", + "fontStretch": "normal", + "src": [ "file:./assets/fonts/WorkSans-VariableFont_wght.ttf" ] + }, + { + "fontFamily": "Work Sans", + "fontDisplay": "block", + "fontWeight": "400", + "fontStyle": "italic", + "fontStretch": "normal", + "src": [ "file:./assets/fonts/WorkSans-Italic-VariableFont_wght.ttf" ] + }, + { + "fontFamily": "Work Sans", + "fontDisplay": "block", + "fontWeight": "700", + "fontStyle": "italic", + "fontStretch": "normal", + "src": [ "file:./assets/fonts/WorkSans-Italic-VariableFont_wght.ttf" ] + } + ] + } + ], + "fontSizes": [ + { + "name": "Tiny", + "size": "1rem", + "slug": "tiny" + }, + { + "name": "Small", + "size": "1.125rem", + "slug": "small" + }, + { + "name": "Normal", + "size": "1.25rem", + "slug": "normal" + }, + { + "name": "Large", + "size": "1.5rem", + "slug": "large" + }, + { + "name": "Extra Large", + "size": "2rem", + "slug": "extra-large" + }, + { + "name": "Huge", + "size": "2.375rem", + "slug": "huge" + }, + { + "name": "Gigantic", + "size": "3.125rem", + "slug": "gigantic" + } + ] + } + }, + "styles": { + "blocks": { + "core/button": { + "border": { + "radius": "0" + }, + "color": { + "background": "var(--wp--preset--color--foreground)", + "text": "var(--wp--preset--color--background)" + }, + "typography": { + "fontSize": "var(--wp--preset--typography--font-size--normal)" + } + }, + "core/code": { + "spacing": { + "padding": { + "left": "var(--wp--custom--margin--horizontal)", + "right": "var(--wp--custom--margin--horizontal)", + "top": "var(--wp--custom--margin--vertical)", + "bottom": "var(--wp--custom--margin--vertical)" + } + }, + "border": { + "color": "#CCCCCC", + "radius": "0px", + "style": "solid", + "width": "2px" + } + }, + "core/post-featured-image": { + "spacing": { + "margin": { + "top": "0", + "bottom": "var(--wp--custom--margin--horizontal)" + } + } + }, + "core/navigation": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)", + "lineHeight": 2 + }, + "elements": { + "link": { + "typography": { + "textDecoration": "underline" + }, + ":hover": { + "typography": { + "textDecoration": "none" + } + } + } + } + }, + "core/post-title": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--system-font)", + "fontSize": "var(--wp--preset--font-size--huge)", + "lineHeight": "var(--wp--custom--heading--typography--line-height)" + }, + "spacing": { + "margin": { + "top": "0", + "bottom": "var(--wp--custom--margin--horizontal)" + } + } + }, + "core/post-date": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/post-excerpt": { + "spacing": { + "margin": { + "top": "var(--wp--custom--margin--horizontal)", + "bottom": "var(--wp--custom--margin--horizontal)" + } + } + }, + "core/pullquote": { + "border": { + "style": "solid", + "width": "1px 0" + }, + "typography": { + "fontStyle": "italic", + "fontSize": "var(--wp--preset--font-size--huge)" + }, + "spacing": { + "padding": { + "left": "var(--wp--custom--margin--horizontal)", + "right": "var(--wp--custom--margin--horizontal)", + "top": "var(--wp--custom--margin--horizontal)", + "bottom": "var(--wp--custom--margin--horizontal)" + } + } + }, + "core/separator": { + "border": { + "width": "0 0 1px 0" + } + }, + "core/site-title": { + "typography": { + "fontSize": "var(--wp--preset--font-size--normal)", + "fontWeight": 400 + } + }, + "core/site-tagline": { + "spacing": { + "padding": { + "bottom": "calc(0.25 * var(--wp--custom--margin--horizontal))" + } + } + }, + "core/quote": { + "border": { + "color": "var(--wp--preset--color--primary)", + "style": "solid", + "width": "0 0 0 1px" + }, + "spacing": { + "padding": { + "left": "var(--wp--custom--margin--horizontal)" + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--normal)", + "fontStyle": "normal" + } + } + }, + "color": { + "background": "var(--wp--preset--color--background)", + "text": "var(--wp--preset--color--foreground)" + }, + "elements": { + "h1": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--system-font)", + "fontWeight": "var(--wp--custom--heading--typography--font-weight)", + "lineHeight": "var(--wp--custom--heading--typography--line-height)", + "fontSize": "var(--wp--preset--font-size--gigantic)" + } + }, + "h2": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--system-font)", + "fontWeight": "var(--wp--custom--heading--typography--font-weight)", + "lineHeight": "var(--wp--custom--heading--typography--line-height)", + "fontSize": "var(--wp--preset--font-size--huge)" + } + }, + "h3": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--system-font)", + "fontWeight": "var(--wp--custom--heading--typography--font-weight)", + "lineHeight": "var(--wp--custom--heading--typography--line-height)", + "fontSize": "var(--wp--preset--font-size--extra-large)" + } + }, + "h4": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--system-font)", + "fontWeight": "var(--wp--custom--heading--typography--font-weight)", + "lineHeight": "var(--wp--custom--heading--typography--line-height)", + "fontSize": "var(--wp--preset--font-size--large)" + } + }, + "h5": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--system-font)", + "fontWeight": "var(--wp--custom--heading--typography--font-weight)", + "lineHeight": "var(--wp--custom--heading--typography--line-height)", + "fontSize": "var(--wp--preset--font-size--normal)" + } + }, + "h6": { + "typography": { + "fontFamily": "var(--wp--preset--font-family--system-font)", + "fontWeight": "var(--wp--custom--heading--typography--font-weight)", + "lineHeight": "var(--wp--custom--heading--typography--line-height)", + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "link": { + "color": { + "text": "var(--wp--preset--color--foreground)" + }, + ":hover": { + "color": { + "text": "var(--wp--preset--color--primary)" + } + } + } + }, + "typography": { + "lineHeight": "var(--wp--custom--body--typography--line-height)", + "fontFamily": "var(--wp--preset--font-family--work-sans)", + "fontSize": "var(--wp--preset--font-size--normal)" + } + } +}