Ver código fonte

Xanadu: Add theme (#7533)

Takashi Irie 1 ano atrás
pai
commit
fd7bb9dcb9
34 arquivos alterados com 1007 adições e 0 exclusões
  1. BIN
      xanadu/assets/fonts/crimson-pro_italic_200.ttf
  2. BIN
      xanadu/assets/fonts/crimson-pro_italic_300.ttf
  3. BIN
      xanadu/assets/fonts/crimson-pro_italic_400.ttf
  4. BIN
      xanadu/assets/fonts/crimson-pro_italic_500.ttf
  5. BIN
      xanadu/assets/fonts/crimson-pro_italic_600.ttf
  6. BIN
      xanadu/assets/fonts/crimson-pro_italic_700.ttf
  7. BIN
      xanadu/assets/fonts/crimson-pro_italic_800.ttf
  8. BIN
      xanadu/assets/fonts/crimson-pro_italic_900.ttf
  9. BIN
      xanadu/assets/fonts/crimson-pro_normal_200.ttf
  10. BIN
      xanadu/assets/fonts/crimson-pro_normal_300.ttf
  11. BIN
      xanadu/assets/fonts/crimson-pro_normal_400.ttf
  12. BIN
      xanadu/assets/fonts/crimson-pro_normal_500.ttf
  13. BIN
      xanadu/assets/fonts/crimson-pro_normal_600.ttf
  14. BIN
      xanadu/assets/fonts/crimson-pro_normal_700.ttf
  15. BIN
      xanadu/assets/fonts/crimson-pro_normal_800.ttf
  16. BIN
      xanadu/assets/fonts/crimson-pro_normal_900.ttf
  17. 60 0
      xanadu/functions.php
  18. 1 0
      xanadu/parts/footer.html
  19. 1 0
      xanadu/parts/header.html
  20. 13 0
      xanadu/patterns/404.php
  21. 27 0
      xanadu/patterns/footer.php
  22. 26 0
      xanadu/patterns/header.php
  23. 11 0
      xanadu/patterns/no-results.php
  24. 35 0
      xanadu/readme.txt
  25. BIN
      xanadu/screenshot.png
  26. 24 0
      xanadu/style.css
  27. 26 0
      xanadu/styles/old-book.json
  28. 14 0
      xanadu/templates/404.html
  29. 55 0
      xanadu/templates/archive.html
  30. 49 0
      xanadu/templates/index.html
  31. 35 0
      xanadu/templates/page.html
  32. 59 0
      xanadu/templates/search.html
  33. 47 0
      xanadu/templates/single.html
  34. 524 0
      xanadu/theme.json

BIN
xanadu/assets/fonts/crimson-pro_italic_200.ttf


BIN
xanadu/assets/fonts/crimson-pro_italic_300.ttf


BIN
xanadu/assets/fonts/crimson-pro_italic_400.ttf


BIN
xanadu/assets/fonts/crimson-pro_italic_500.ttf


BIN
xanadu/assets/fonts/crimson-pro_italic_600.ttf


BIN
xanadu/assets/fonts/crimson-pro_italic_700.ttf


BIN
xanadu/assets/fonts/crimson-pro_italic_800.ttf


BIN
xanadu/assets/fonts/crimson-pro_italic_900.ttf


BIN
xanadu/assets/fonts/crimson-pro_normal_200.ttf


BIN
xanadu/assets/fonts/crimson-pro_normal_300.ttf


BIN
xanadu/assets/fonts/crimson-pro_normal_400.ttf


BIN
xanadu/assets/fonts/crimson-pro_normal_500.ttf


BIN
xanadu/assets/fonts/crimson-pro_normal_600.ttf


BIN
xanadu/assets/fonts/crimson-pro_normal_700.ttf


BIN
xanadu/assets/fonts/crimson-pro_normal_800.ttf


BIN
xanadu/assets/fonts/crimson-pro_normal_900.ttf


+ 60 - 0
xanadu/functions.php

@@ -0,0 +1,60 @@
+<?php
+/**
+ * Xanadu functions and definitions
+ *
+ * @link https://developer.wordpress.org/themes/basics/theme-functions/
+ *
+ * @package Xanadu
+ * @since Xanadu 1.0
+ */
+
+
+if ( ! function_exists( 'xanadu_support' ) ) :
+
+	/**
+	 * Sets up theme defaults and registers support for various WordPress features.
+	 *
+	 * @since Xanadu 1.0
+	 *
+	 * @return void
+	 */
+	function xanadu_support() {
+
+		// Enqueue editor styles.
+		add_editor_style( 'style.css' );
+
+		// Make theme available for translation.
+		load_theme_textdomain( 'xanadu' );
+	}
+
+endif;
+
+add_action( 'after_setup_theme', 'xanadu_support' );
+
+if ( ! function_exists( 'xanadu_styles' ) ) :
+
+	/**
+	 * Enqueue styles.
+	 *
+	 * @since Xanadu 1.0
+	 *
+	 * @return void
+	 */
+	function xanadu_styles() {
+
+		// Register theme stylesheet.
+		wp_register_style(
+			'xanadu-style',
+			get_stylesheet_directory_uri() . '/style.css',
+			array(),
+			wp_get_theme()->get( 'Version' )
+		);
+
+		// Enqueue theme stylesheet.
+		wp_enqueue_style( 'xanadu-style' );
+
+	}
+
+endif;
+
+add_action( 'wp_enqueue_scripts', 'xanadu_styles' );

+ 1 - 0
xanadu/parts/footer.html

@@ -0,0 +1 @@
+<!-- wp:pattern {"slug":"xanadu/footer"} /-->

+ 1 - 0
xanadu/parts/header.html

@@ -0,0 +1 @@
+<!-- wp:pattern {"slug":"xanadu/header"} /-->

+ 13 - 0
xanadu/patterns/404.php

@@ -0,0 +1,13 @@
+<?php
+/**
+ * Title: A 404 page
+ * Slug: xanadu/404
+ * Inserter: no
+ */
+?>
+
+<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} -->
+<h1 class="wp-block-heading has-text-align-center has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops, this page cannot be found.', 'xanadu' ); ?></h1>
+<!-- /wp:heading -->
+
+<!-- wp:search {"label":"<?php esc_attr_e( 'Search', 'xanadu' ); ?>","showLabel":false,"width":518,"widthUnit":"px","buttonText":"<?php esc_attr_e( 'Search', 'xanadu' ); ?>","align":"center"} /-->

+ 27 - 0
xanadu/patterns/footer.php

@@ -0,0 +1,27 @@
+<?php
+/**
+ * Title: Default footer
+ * Slug: xanadu/footer
+ * Categories: footer
+ * Block Types: core/template-part/footer
+ */
+?>
+
+<!-- wp:spacer {"height":"50px"} -->
+<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
+
+<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
+<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
+	<!-- wp:paragraph {"align":"center","fontSize":"small"} -->
+	<p class="has-text-align-center has-small-font-size"><?php
+		/* Translators: WordPress link. */
+		$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'xanadu' ) ) . '" rel="nofollow">WordPress</a>';
+		echo sprintf(
+			esc_html__( 'Designed with %1$s', 'xanadu' ),
+			$wordpress_link
+		);
+	?></p>
+	<!-- /wp:paragraph -->
+</div>
+<!-- /wp:group -->

+ 26 - 0
xanadu/patterns/header.php

@@ -0,0 +1,26 @@
+<?php
+/**
+ * Title: Default header
+ * Slug: xanadu/header
+ * Categories: header
+ * Block Types: core/template-part/header
+ */
+?>
+
+<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","right":"var:preset|spacing|30","bottom":"var:preset|spacing|30","left":"var:preset|spacing|30"},"blockGap":"0","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"default"}} -->
+<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80);padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)">
+	<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
+	<div class="wp-block-group">
+		<!-- wp:site-title {"textAlign":"center","style":{"layout":{"flexSize":"400px"}}} /-->
+
+		<!-- wp:paragraph {"style":{"typography":{"fontSize":"6rem","fontStyle":"normal","fontWeight":"500"}}} -->
+		<p style="font-size:6rem;font-style:normal;font-weight:500">,</p>
+		<!-- /wp:paragraph -->
+	</div>
+	<!-- /wp:group -->
+
+	<!-- wp:spacer {"height":"20px"} -->
+	<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
+</div>
+<!-- /wp:group -->

+ 11 - 0
xanadu/patterns/no-results.php

@@ -0,0 +1,11 @@
+<?php
+/**
+ * Title: No Results Content
+ * Slug: xanadu/no-results
+ * Inserter: no
+ */
+?>
+
+<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
+<p style="margin-top:0px;margin-bottom:0px"><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'xanadu' ); ?></p>
+<!-- /wp:paragraph -->

+ 35 - 0
xanadu/readme.txt

@@ -0,0 +1,35 @@
+=== Xanadu ===
+Contributors: 
+Requires at least: 6.0
+Tested up to: 6.4
+Requires PHP: 5.7
+License: GPLv2 or later
+License URI: http://www.gnu.org/licenses/gpl-2.0.html
+
+== Description ==
+
+This theme is named after the city in Samuel Taylor Coleridge’s poem Kubla Khan. Literary legend says the poem came to Coleridge in a dream, which he rushed to write down without preamble. Likewise, this design begins in earnest.
+
+== Changelog ==
+
+= 1.0.0 =
+* Initial release
+
+== Copyright ==
+
+Xanadu WordPress Theme, (C) 2023 
+Xanadu 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.
+
+Crimson Pro Font
+Licensed under SIL Open Font License, 1.1 (http://scripts.sil.org/OFL)
+https://fonts.google.com/specimen/Crimson+Pro

BIN
xanadu/screenshot.png


+ 24 - 0
xanadu/style.css

@@ -0,0 +1,24 @@
+/*
+Theme Name: Xanadu
+Theme URI: https://wordpress.com/theme/xanadu
+Author: Automattic
+Author URI: https://automattic.com/
+Description: This theme is named after the city in Samuel Taylor Coleridge’s poem Kubla Khan. Literary legend says the poem came to Coleridge in a dream, which he rushed to write down without preamble. Likewise, this design begins in earnest.
+Requires at least: 6.0
+Tested up to: 6.4
+Requires PHP: 5.7
+Version: 1.0.0
+License: GNU General Public License v2 or later
+License URI: http://www.gnu.org/licenses/gpl-2.0.html
+Text Domain: xanadu
+Tags: one-column, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
+*/
+
+/*
+* Control the hover stylings of outline block style.
+*/
+.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
+	background-color: var(--wp--preset--color--primary);
+	border-color: var(--wp--preset--color--primary);
+	color: var(--wp--preset--color--base);
+}

+ 26 - 0
xanadu/styles/old-book.json

@@ -0,0 +1,26 @@
+{
+	"$schema": "https://schemas.wp.org/trunk/theme.json",
+	"version": 2,
+	"title": "Old Book",
+	"settings": {
+		"color": {
+			"palette": [
+				{
+					"color": "#f2ebe2",
+					"name": "Base",
+					"slug": "base"
+				},
+				{
+					"color": "#5b3d25",
+					"name": "Primary",
+					"slug": "primary"
+				},
+				{
+					"color": "#53360a",
+					"name": "Secondary",
+					"slug": "secondary"
+				}
+			]
+		}
+	}
+}

+ 14 - 0
xanadu/templates/404.html

@@ -0,0 +1,14 @@
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
+
+<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"inherit":true,"type":"constrained"}} -->
+<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
+
+	<!-- wp:pattern {"slug":"xanadu/404"} /-->
+
+	<!-- wp:spacer -->
+	<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
+</main>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 55 - 0
xanadu/templates/archive.html

@@ -0,0 +1,55 @@
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
+
+<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main"} -->
+<main class="wp-block-query">
+	<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+	<div class="wp-block-group">
+		<!-- wp:query-title {"type":"archive"} /-->
+
+		<!-- wp:spacer -->
+		<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
+		<!-- /wp:spacer -->
+
+		<!-- wp:post-template {"layout":{"type":"default"}} -->
+			<!-- wp:group {"style":{"spacing":{"blockGap":"2px"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+			<div class="wp-block-group">
+				<!-- wp:post-content /-->
+
+				<!-- wp:spacer {"height":"36px"} -->
+				<div style="height:36px" aria-hidden="true" class="wp-block-spacer"></div>
+				<!-- /wp:spacer -->
+
+				<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","layout":{"type":"flex","flexWrap":"nowrap"}} -->
+				<div class="wp-block-group has-primary-color has-text-color has-link-color">
+					<!-- wp:post-title {"isLink":true} /-->
+
+					<!-- wp:paragraph {"fontSize":"large"} -->
+					<p class="has-large-font-size">–––––––</p>
+					<!-- /wp:paragraph -->
+
+					<!-- wp:post-date {"format":"M j"} /-->
+				</div>
+				<!-- /wp:group -->
+			</div>
+			<!-- /wp:group -->
+
+			<!-- wp:spacer {"height":"200px"} -->
+			<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
+			<!-- /wp:spacer -->
+		<!-- /wp:post-template -->
+
+		<!-- wp:group {"layout":{"type":"constrained"}} -->
+		<div class="wp-block-group">
+			<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
+				<!-- wp:query-pagination-previous /-->
+
+				<!-- wp:query-pagination-next /-->
+			<!-- /wp:query-pagination -->
+		</div>
+		<!-- /wp:group -->
+	</div>
+	<!-- /wp:group -->
+</main>
+<!-- /wp:query -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 49 - 0
xanadu/templates/index.html

@@ -0,0 +1,49 @@
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
+
+<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main"} -->
+<main class="wp-block-query">
+	<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+	<div class="wp-block-group">
+		<!-- wp:post-template {"layout":{"type":"default"}} -->
+			<!-- wp:group {"style":{"spacing":{"blockGap":"2px"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+			<div class="wp-block-group">
+				<!-- wp:post-content /-->
+
+				<!-- wp:spacer {"height":"36px"} -->
+				<div style="height:36px" aria-hidden="true" class="wp-block-spacer"></div>
+				<!-- /wp:spacer -->
+
+				<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","layout":{"type":"flex","flexWrap":"nowrap"}} -->
+				<div class="wp-block-group has-primary-color has-text-color has-link-color">
+					<!-- wp:post-title {"isLink":true} /-->
+
+					<!-- wp:paragraph {"fontSize":"large"} -->
+					<p class="has-large-font-size">–––––––</p>
+					<!-- /wp:paragraph -->
+
+					<!-- wp:post-date {"format":"M j"} /-->
+				</div>
+				<!-- /wp:group -->
+			</div>
+			<!-- /wp:group -->
+
+			<!-- wp:spacer {"height":"200px"} -->
+			<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
+			<!-- /wp:spacer -->
+		<!-- /wp:post-template -->
+
+		<!-- wp:group {"layout":{"type":"constrained"}} -->
+		<div class="wp-block-group">
+			<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
+				<!-- wp:query-pagination-previous /-->
+
+				<!-- wp:query-pagination-next /-->
+			<!-- /wp:query-pagination -->
+		</div>
+		<!-- /wp:group -->
+	</div>
+	<!-- /wp:group -->
+</main>
+<!-- /wp:query -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 35 - 0
xanadu/templates/page.html

@@ -0,0 +1,35 @@
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
+
+<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+<div class="wp-block-group">
+	<!-- wp:group {"style":{"spacing":{"blockGap":"2px"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+	<div class="wp-block-group">
+		<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","layout":{"type":"flex","flexWrap":"nowrap"}} -->
+		<div class="wp-block-group has-primary-color has-text-color has-link-color">
+			<!-- wp:post-title {"isLink":true,"style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}}} /-->
+
+			<!-- wp:paragraph {"fontSize":"large"} -->
+			<p class="has-large-font-size">–––––––</p>
+			<!-- /wp:paragraph -->
+		</div>
+		<!-- /wp:group -->
+
+		<!-- wp:spacer {"height":"12px"} -->
+		<div style="height:12px" aria-hidden="true" class="wp-block-spacer"></div>
+		<!-- /wp:spacer -->
+
+		<!-- wp:post-content /-->
+
+		<!-- wp:spacer {"height":"36px"} -->
+		<div style="height:36px" aria-hidden="true" class="wp-block-spacer"></div>
+		<!-- /wp:spacer -->
+	</div>
+	<!-- /wp:group -->
+
+	<!-- wp:spacer {"height":"200px"} -->
+	<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
+</div>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 59 - 0
xanadu/templates/search.html

@@ -0,0 +1,59 @@
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
+
+<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main"} -->
+<main class="wp-block-query">
+	<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+	<div class="wp-block-group">
+		<!-- wp:query-title {"type":"search"} /-->
+
+		<!-- wp:spacer -->
+		<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
+		<!-- /wp:spacer -->
+
+		<!-- wp:post-template {"layout":{"type":"default"}} -->
+			<!-- wp:group {"style":{"spacing":{"blockGap":"2px"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+			<div class="wp-block-group">
+				<!-- wp:post-content /-->
+
+				<!-- wp:spacer {"height":"36px"} -->
+				<div style="height:36px" aria-hidden="true" class="wp-block-spacer"></div>
+				<!-- /wp:spacer -->
+
+				<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","layout":{"type":"flex","flexWrap":"nowrap"}} -->
+				<div class="wp-block-group has-primary-color has-text-color has-link-color">
+					<!-- wp:post-title {"isLink":true} /-->
+
+					<!-- wp:paragraph {"fontSize":"large"} -->
+					<p class="has-large-font-size">–––––––</p>
+					<!-- /wp:paragraph -->
+
+					<!-- wp:post-date {"format":"M j"} /-->
+				</div>
+				<!-- /wp:group -->
+			</div>
+			<!-- /wp:group -->
+
+			<!-- wp:spacer {"height":"200px"} -->
+			<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
+			<!-- /wp:spacer -->
+		<!-- /wp:post-template -->
+
+		<!-- wp:query-no-results -->
+			<!-- wp:pattern {"slug":"xanadu/no-results"} /-->
+		<!-- /wp:query-no-results -->
+
+		<!-- wp:group {"layout":{"type":"constrained"}} -->
+		<div class="wp-block-group">
+			<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
+				<!-- wp:query-pagination-previous /-->
+
+				<!-- wp:query-pagination-next /-->
+			<!-- /wp:query-pagination -->
+		</div>
+		<!-- /wp:group -->
+	</div>
+	<!-- /wp:group -->
+</main>
+<!-- /wp:query -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 47 - 0
xanadu/templates/single.html

@@ -0,0 +1,47 @@
+<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
+
+<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+<div class="wp-block-group">
+	<!-- wp:group {"style":{"spacing":{"blockGap":"2px"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
+	<div class="wp-block-group">
+		<!-- wp:post-featured-image {"aspectRatio":"1","width":"60px","height":"60px","align":"left"} /-->
+
+		<!-- wp:spacer {"height":"12px"} -->
+		<div style="height:12px" aria-hidden="true" class="wp-block-spacer"></div>
+		<!-- /wp:spacer -->
+
+		<!-- wp:post-content /-->
+
+		<!-- wp:spacer {"height":"36px"} -->
+		<div style="height:36px" aria-hidden="true" class="wp-block-spacer"></div>
+		<!-- /wp:spacer -->
+
+		<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","layout":{"type":"flex","flexWrap":"nowrap"}} -->
+		<div class="wp-block-group has-primary-color has-text-color has-link-color">
+			<!-- wp:post-title {"isLink":true} /-->
+
+			<!-- wp:paragraph {"fontSize":"large"} -->
+			<p class="has-large-font-size">–––––––</p>
+			<!-- /wp:paragraph -->
+
+			<!-- wp:post-date {"format":"M j"} /-->
+		</div>
+		<!-- /wp:group -->
+	</div>
+	<!-- /wp:group -->
+
+	<!-- wp:spacer {"height":"200px"} -->
+	<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
+
+	<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
+	<div class="wp-block-group">
+		<!-- wp:post-navigation-link {"type":"previous"} /-->
+
+		<!-- wp:post-navigation-link /-->
+	</div>
+	<!-- /wp:group -->
+</div>
+<!-- /wp:group -->
+
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 524 - 0
xanadu/theme.json

@@ -0,0 +1,524 @@
+{
+	"settings": {
+		"appearanceTools": true,
+		"color": {
+			"defaultDuotone": false,
+			"defaultGradients": false,
+			"defaultPalette": false,
+			"palette": [
+				{
+					"color": "#ffffff",
+					"name": "Base",
+					"slug": "base"
+				},
+				{
+					"color": "#fa053f",
+					"name": "Primary",
+					"slug": "primary"
+				},
+				{
+					"color": "#000000",
+					"name": "Secondary",
+					"slug": "secondary"
+				}
+			]
+		},
+		"layout": {
+			"contentSize": "66vw",
+			"wideSize": "78vw"
+		},
+		"spacing": {
+			"units": [
+				"%",
+				"px",
+				"em",
+				"rem",
+				"vh",
+				"vw"
+			]
+		},
+		"typography": {
+			"fluid": true,
+			"fontFamilies": [
+				{
+					"fontFace": [
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "normal",
+							"fontWeight": "200",
+							"src": [
+								"file:./assets/fonts/crimson-pro_normal_200.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "normal",
+							"fontWeight": "300",
+							"src": [
+								"file:./assets/fonts/crimson-pro_normal_300.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "normal",
+							"fontWeight": "400",
+							"src": [
+								"file:./assets/fonts/crimson-pro_normal_400.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "normal",
+							"fontWeight": "500",
+							"src": [
+								"file:./assets/fonts/crimson-pro_normal_500.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "normal",
+							"fontWeight": "600",
+							"src": [
+								"file:./assets/fonts/crimson-pro_normal_600.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "normal",
+							"fontWeight": "700",
+							"src": [
+								"file:./assets/fonts/crimson-pro_normal_700.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "normal",
+							"fontWeight": "800",
+							"src": [
+								"file:./assets/fonts/crimson-pro_normal_800.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "normal",
+							"fontWeight": "900",
+							"src": [
+								"file:./assets/fonts/crimson-pro_normal_900.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "italic",
+							"fontWeight": "200",
+							"src": [
+								"file:./assets/fonts/crimson-pro_italic_200.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "italic",
+							"fontWeight": "300",
+							"src": [
+								"file:./assets/fonts/crimson-pro_italic_300.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "italic",
+							"fontWeight": "400",
+							"src": [
+								"file:./assets/fonts/crimson-pro_italic_400.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "italic",
+							"fontWeight": "500",
+							"src": [
+								"file:./assets/fonts/crimson-pro_italic_500.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "italic",
+							"fontWeight": "600",
+							"src": [
+								"file:./assets/fonts/crimson-pro_italic_600.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "italic",
+							"fontWeight": "700",
+							"src": [
+								"file:./assets/fonts/crimson-pro_italic_700.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "italic",
+							"fontWeight": "800",
+							"src": [
+								"file:./assets/fonts/crimson-pro_italic_800.ttf"
+							]
+						},
+						{
+							"fontFamily": "Crimson Pro",
+							"fontStyle": "italic",
+							"fontWeight": "900",
+							"src": [
+								"file:./assets/fonts/crimson-pro_italic_900.ttf"
+							]
+						}
+					],
+					"fontFamily": "Crimson Pro",
+					"slug": "crimson-pro"
+				}
+			],
+			"fontSizes": [
+				{
+					"fluid": {
+						"max": "1rem",
+						"min": "0.75rem"
+					},
+					"name": "Tiny",
+					"size": "0.9rem",
+					"slug": "x-small"
+				},
+				{
+					"fluid": false,
+					"name": "Small",
+					"size": "1rem",
+					"slug": "small"
+				},
+				{
+					"fluid": false,
+					"name": "Medium",
+					"size": "1.125rem",
+					"slug": "medium"
+				},
+				{
+					"fluid": false,
+					"name": "Large",
+					"size": "1.37rem",
+					"slug": "large"
+				},
+				{
+					"fluid": {
+						"max": "2.25rem",
+						"min": "1.75rem"
+					},
+					"name": "Extra Large",
+					"size": "2rem",
+					"slug": "x-large"
+				},
+				{
+					"fluid": {
+						"max": "3rem",
+						"min": "2.25rem"
+					},
+					"name": "Huge",
+					"size": "2.25rem",
+					"slug": "xx-large"
+				}
+			]
+		},
+		"useRootPaddingAwareAlignments": true
+	},
+	"styles": {
+		"blocks": {
+			"core/code": {
+				"spacing": {
+					"padding": {
+						"bottom": "var(--wp--preset--spacing--50)",
+						"left": "var(--wp--preset--spacing--50)",
+						"right": "var(--wp--preset--spacing--50)",
+						"top": "var(--wp--preset--spacing--50)"
+					}
+				},
+				"typography": {
+					"fontFamily": "monospace",
+					"fontSize": "var(--wp--preset--font-size--medium)"
+				}
+			},
+			"core/gallery": {
+				"spacing": {
+					"margin": {
+						"bottom": "var(--wp--preset--spacing--50)"
+					}
+				}
+			},
+			"core/heading": {
+				"spacing": {
+					"margin": {
+						"bottom": "var(--wp--preset--spacing--30)",
+						"left": "0",
+						"right": "0",
+						"top": "var(--wp--preset--spacing--70)"
+					}
+				},
+				"typography": {
+					"fontStyle": "normal",
+					"fontWeight": "400"
+				}
+			},
+			"core/post-date": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--large)",
+					"fontStyle": "normal",
+					"fontWeight": "600",
+					"textTransform": "none"
+				}
+			},
+			"core/post-featured-image": {
+				"border": {
+					"radius": "2px"
+				}
+			},
+			"core/post-navigation-link": {
+				"typography": {
+					"textTransform": "lowercase"
+				}
+			},
+			"core/post-title": {
+				"spacing": {
+					"margin": {
+						"bottom": "0"
+					},
+					"padding": {
+						"bottom": "0",
+						"left": "0",
+						"right": "0",
+						"top": "0"
+					}
+				},
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--large)",
+					"fontStyle": "normal",
+					"fontWeight": "600"
+				}
+			},
+			"core/pullquote": {
+				"border": {
+					"style": "solid",
+					"width": "1px 0"
+				},
+				"elements": {
+					"cite": {
+						"typography": {
+							"fontSize": "var(--wp--preset--font-size--small)",
+							"fontStyle": "normal"
+						}
+					}
+				},
+				"spacing": {
+					"padding": {
+						"bottom": "var(--wp--preset--spacing--50)",
+						"left": "var(--wp--preset--spacing--50)",
+						"right": "var(--wp--preset--spacing--50)",
+						"top": "var(--wp--preset--spacing--50)"
+					}
+				},
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--large)",
+					"fontStyle": "normal"
+				}
+			},
+			"core/query-pagination": {
+				"typography": {
+					"textTransform": "lowercase"
+				}
+			},
+			"core/query-title": {
+				"typography": {
+					"fontStyle": "normal",
+					"fontWeight": "400"
+				}
+			},
+			"core/quote": {
+				"border": {
+					"color": "var(--wp--preset--color--primary)",
+					"style": "solid",
+					"width": "0 0 0 2px"
+				},
+				"elements": {
+					"cite": {
+						"typography": {
+							"fontSize": "var(--wp--preset--font-size--large)",
+							"fontStyle": "normal"
+						}
+					}
+				},
+				"spacing": {
+					"padding": {
+						"left": "var(--wp--preset--spacing--50)"
+					}
+				},
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--large)",
+					"fontStyle": "normal"
+				}
+			},
+			"core/search": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--medium)",
+					"lineHeight": "1.6"
+				}
+			},
+			"core/separator": {
+				"border": {
+					"color": "currentColor",
+					"style": "solid",
+					"width": "0 0 1px 0"
+				},
+				"color": {
+					"text": "var(--wp--preset--color--secondary)"
+				}
+			},
+			"core/site-tagline": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--x-small)"
+				}
+			},
+			"core/site-title": {
+				"color": {
+					"text": "var(--wp--preset--color--primary)"
+				},
+				"typography": {
+					"fontSize": "6rem",
+					"fontStyle": "normal",
+					"fontWeight": "500",
+					"textDecoration": "none",
+					"textTransform": "lowercase"
+				}
+			},
+			"core/table": {
+				"css": "& td, & th{padding: var(--wp--preset--spacing--30);} &+figcaption {font-size: var(--wp--preset--font-size--small);text-align: center;}"
+			}
+		},
+		"color": {
+			"background": "var(--wp--preset--color--base)",
+			"text": "var(--wp--preset--color--secondary)"
+		},
+		"elements": {
+			"button": {
+				":hover": {
+					"color": {
+						"background": "var(--wp--preset--color--primary)",
+						"text": "var(--wp--preset--color--base)"
+					}
+				},
+				"border": {
+					"radius": "2px"
+				},
+				"color": {
+					"background": "var(--wp--preset--color--secondary)",
+					"text": "var(--wp--preset--color--base)"
+				}
+			},
+			"caption": {
+				"color": {
+					"text": "var(--wp--preset--color--secondary)"
+				},
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--medium)"
+				}
+			},
+			"h1": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--x-large)",
+					"fontStyle": "normal",
+					"fontWeight": "700",
+					"lineHeight": "1.1"
+				}
+			},
+			"h2": {
+				"typography": {
+					"fontSize": "1.45rem",
+					"fontStyle": "normal",
+					"fontWeight": "700",
+					"lineHeight": "1.1"
+				}
+			},
+			"h3": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--large)",
+					"fontStyle": "normal",
+					"fontWeight": "700",
+					"lineHeight": "1.2"
+				}
+			},
+			"h4": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--medium)"
+				}
+			},
+			"h5": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--medium)",
+					"fontWeight": "normal"
+				}
+			},
+			"h6": {
+				"typography": {
+					"fontSize": "var(--wp--preset--font-size--small)",
+					"fontWeight": "normal"
+				}
+			},
+			"heading": {
+				"typography": {
+					"fontStyle": "normal",
+					"fontWeight": "600",
+					"lineHeight": "1.6",
+					"textTransform": "none"
+				}
+			},
+			"link": {
+				":hover": {
+					"color": {
+						"text": "var(--wp--preset--color--secondary)"
+					},
+					"typography": {
+						"textDecoration": "none"
+					}
+				},
+				"color": {
+					"text": "var(--wp--preset--color--primary)"
+				},
+				"typography": {
+					"textDecoration": "none"
+				}
+			}
+		},
+		"spacing": {
+			"blockGap": "var(--wp--preset--spacing--50)",
+			"padding": {
+				"bottom": "0",
+				"left": "0",
+				"right": "0",
+				"top": "0"
+			}
+		},
+		"typography": {
+			"fontFamily": "var(--wp--preset--font-family--crimson-pro)",
+			"fontSize": "var(--wp--preset--font-size--x-large)",
+			"fontStyle": "normal",
+			"fontWeight": "400",
+			"lineHeight": "1.3"
+		}
+	},
+	"templateParts": [
+		{
+			"area": "header",
+			"name": "header",
+			"title": "Header"
+		},
+		{
+			"area": "footer",
+			"name": "footer",
+			"title": "Footer"
+		}
+	],
+	"version": 2,
+	"$schema": "https://schemas.wp.org/trunk/theme.json"
+}