Surrealist: Add theme (#7732)

* Surrealist: Add theme

* Surrealist: Added Post Comments Link Style

* Surrealist: Added Post Comment Count Style

* Surrealist: Change theme URI
This commit is contained in:
Takashi Irie 2024-04-19 15:35:46 +01:00 committed by GitHub
parent 503e1194b3
commit 9700d9b9e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 1752 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

60
surrealist/functions.php Normal file
View file

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

View file

@ -0,0 +1,53 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:comments {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:comments-title {"level":3,"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} /-->
<!-- wp:comment-template -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)">
<!-- wp:group {"style":{"spacing":{"blockGap":"0.5em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group">
<!-- wp:avatar {"size":40} /-->
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:comment-author-name /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
<!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","margin":{"top":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--40)">
<!-- wp:comment-edit-link /-->
<!-- wp:comment-reply-link /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form /-->
</div>
<!-- /wp:comments -->
</div>
<!-- /wp:group -->

View file

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

View file

@ -0,0 +1,31 @@
<!-- 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:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide">
<!-- wp:group {"layout":{"type":"flex"}} -->
<div class="wp-block-group">
<!-- wp:site-logo {"width":64} /-->
<!-- wp:site-title /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group">
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left","orientation":"horizontal"}} /-->
<!-- wp:social-links {"iconColor":"contrast","iconColorValue":"#242121","size":"has-small-icon-size","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|30"}}},"className":"is-style-logos-only"} -->
<ul class="wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only">
<!-- wp:social-link {"url":"#","service":"facebook"} /-->
<!-- wp:social-link {"url":"#","service":"x"} /-->
<!-- wp:social-link {"url":"#","service":"instagram"} /-->
</ul>
<!-- /wp:social-links -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,48 @@
<?php
/**
* Title: Default Footer
* Slug: surrealist/footer
* Categories: footer, featured
* Block Types: core/template-part/footer
* Viewport width: 1600
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
<!-- wp:group {"align":"full","layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group alignfull">
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group">
<!-- wp:separator {"style":{"layout":{"selfStretch":"fill","flexSize":null}}} -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group">
<!-- wp:site-title {"textAlign":"center"} /-->
<!-- wp:paragraph {"align":"center","lock":{"move":false,"remove":false},"style":{"typography":{"textTransform":"uppercase","letterSpacing":"0.04em"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}}},"fontSize":"small","fontFamily":"kame-poster"} -->
<p class="has-text-align-center has-link-color has-kame-poster-font-family has-small-font-size" style="letter-spacing:0.04em;text-transform:uppercase"><?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'surrealist' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'surrealist' ),
$wordpress_link
);
?></p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
<!-- wp:separator {"style":{"layout":{"selfStretch":"fill","flexSize":null}}} -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- /wp:separator -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,45 @@
<?php
/**
* Title: Front Page
* Slug: surrealist/front-page
* Inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/the_tilled_field.jpg","hasParallax":true,"dimRatio":50,"overlayColor":"contrast","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","contentPosition":"center center","style":{"spacing":{"padding":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-cover has-parallax" style="padding-top:0;padding-bottom:0;min-height:100vh">
<span aria-hidden="true" class="wp-block-cover__background has-contrast-background-color has-background-dim"></span>
<div class="wp-block-cover__image-background has-parallax" style="background-position:50% 50%;background-image:url(<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/the_tilled_field.jpg)"></div>
<div class="wp-block-cover__inner-container">
<!-- wp:group {"style":{"dimensions":{"minHeight":"100vh"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="min-height:100vh">
<!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"30px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group alignfull">
<!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"32px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:site-title {"textAlign":"center","isLink":false,"style":{"typography":{"lineHeight":"0.83","fontSize":"20vw"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base"} /-->
<!-- wp:navigation {"hasIcon":false,"layout":{"type":"flex","justifyContent":"center"},"fontSize":"medium"} /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|base"}}}},"spacing":{"padding":{"bottom":"var:preset|spacing|30"}}},"textColor":"base","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide has-base-color has-text-color has-link-color" style="padding-bottom:var(--wp--preset--spacing--30)">
<!-- wp:paragraph {"align":"center","fontSize":"small"} -->
<p class="has-text-align-center has-small-font-size"><?php echo esc_html__( 'The Tilled Field by Joan Miró (d. 1983)', 'surrealist' ); ?> - <a href="https://www.guggenheim.org/artwork/2934" rel="nofollow">https://www.guggenheim.org/artwork/2934</a>, <?php echo esc_html__( 'Public Domain', 'surrealist' ); ?>, <a href="https://en.wikipedia.org/w/index.php?curid=17691985" rel="nofollow">https://en.wikipedia.org/w/index.php?curid=17691985</a></p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
</div>
<!-- /wp:cover -->

View file

@ -0,0 +1,17 @@
<?php
/**
* Title: A 404 page
* Slug: surrealist/hidden-404
* Inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:heading {"textAlign":"left","level":1,"fontSize":"large"} -->
<h1 class="wp-block-heading has-text-align-left has-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can&rsquo;t be found.', 'surrealist' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'surrealist' ); ?></p>
<!-- /wp:paragraph -->

View file

@ -0,0 +1,13 @@
<?php
/**
* Title: No Results Content
* Slug: surrealist/hidden-no-results-content
* Inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:paragraph {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} -->
<p style="margin-top:0;margin-bottom:0"><?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', 'surrealist' ); ?></p>
<!-- /wp:paragraph -->

View file

@ -0,0 +1,11 @@
<?php
/**
* Title: Search Field
* Slug: surrealist/hidden-search-field
* Inserter: no
*/
declare( strict_types = 1 );
?>
<!-- wp:search {"label":"","showLabel":false,"placeholder":"<?php echo esc_html_x( 'Search...', 'This is a placeholder text in a search field', 'surrealist' ); ?>","buttonText":"","buttonUseIcon":true} /-->

View file

@ -0,0 +1,62 @@
<?php
/**
* Title: Post List
* Slug: surrealist/posts-post-list
* Categories: posts, featured
* Viewport width: 1600
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"align":"full","layout":{"type":"default"}} -->
<div class="wp-block-group alignfull">
<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
<div class="wp-block-query">
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|80"}}} -->
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|60","left":"0"}}}} -->
<div class="wp-block-columns">
<!-- wp:column {"layout":{"type":"default"}} -->
<div class="wp-block-column">
<!-- wp:post-featured-image {"isLink":true} /-->
</div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"bottom","layout":{"type":"default"}} -->
<div class="wp-block-column is-vertically-aligned-bottom">
<!-- wp:group {"style":{"spacing":{"padding":{"right":"5vw","left":"5vw"},"blockGap":"var:preset|spacing|30"}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right:5vw;padding-left:5vw">
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-terms {"term":"category"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- /wp:post-template -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
<!-- 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-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:query -->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,40 @@
<?php
/**
* Title: Biography
* Slug: surrealist/text-biography
* Categories: text, featured
* Viewport width: 1600
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"5vw","right":"5vw"}}},"backgroundColor":"contrast","textColor":"base","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-base-color has-contrast-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--60);padding-right:5vw;padding-bottom:var(--wp--preset--spacing--60);padding-left:5vw">
<!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size"><a href="#"><?php echo esc_html__( '&larr; Back', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
<!-- wp:image {"width":"220px","sizeSlug":"full","linkDestination":"none","className":"is-style-default"} -->
<figure class="wp-block-image size-full is-resized is-style-default"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/portrait_of_joan_miro_barcelona_1935_june_13.jpg" alt="" class="" style="width:220px"/>
<figcaption class="wp-element-caption"><?php echo esc_html__( 'Photographed by Carl Van Vechten', 'surrealist' ); ?></figcaption>
</figure>
<!-- /wp:image -->
<!-- wp:paragraph -->
<p><?php echo wp_kses_post( __( '<strong>Joan Miró i Ferrà </strong> (20 April 1893 25 December 1983) was a Spanish painter, sculptor and ceramist born in Barcelona. Professionally, he was simply known as Joan Miró. A museum dedicated to his work, the Fundació Joan Miró, was established in his native city of Barcelona in 1975, and another, the Fundació Pilar i Joan Miró, was established in his adoptive city of Palma in 1981.', 'surrealist' ) ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'Earning international acclaim, his work has been interpreted as Surrealism but with a personal style, sometimes also veering into Fauvism and Expressionism. He was notable for his interest in the unconscious or the subconscious mind, reflected in his re-creation of the childlike. His difficult-to-classify works also had a manifestation of Catalan pride. In numerous interviews dating from the 1930s onwards, Miró expressed contempt for conventional painting methods as a way of supporting bourgeois society, and declared an "assassination of painting" in favour of upsetting the visual elements of established painting.', 'surrealist' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size"><?php echo wp_kses_post( __( 'Joan Miró. (2024, April 5). In <em>Wikipedia</em>.', 'surrealist' ) ); ?> <a href="https://en.wikipedia.org/wiki/Joan_Mir%C3%B3" rel="nofollow">https://en.wikipedia.org/wiki/Joan_Mir%C3%B3</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph {"fontSize":"small"} -->
<p class="has-small-font-size"><a href="#"><?php echo esc_html__( '&larr; Back', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,98 @@
<?php
/**
* Title: Name List
* Slug: surrealist/text-name-list
* Categories: text, featured
* Viewport width: 1600
*/
declare( strict_types = 1 );
?>
<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull">
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide">
<!-- wp:spacer {"height":"var:preset|spacing|80"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0"},"typography":{"fontStyle":"normal","fontWeight":"900"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"},":hover":{"color":{"text":"var:preset|color|primary"}}}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"center"},"fontSize":"x-large","fontFamily":"kame-poster"} -->
<div class="wp-block-group has-link-color has-kame-poster-font-family has-x-large-font-size" style="font-style:normal;font-weight:900">
<!-- wp:paragraph -->
<p><a href="#"><?php echo esc_html__( 'André Masson', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#"><?php echo esc_html__( 'Jean Arp', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#"><?php echo esc_html__( 'Joan Miró', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#"><?php echo esc_html__( 'Max Ernst', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#"><?php echo esc_html__( 'Paul Delvaux', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#"><?php echo esc_html__( 'Pierre Roy', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#"><?php echo esc_html__( 'René Magritte', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#"><?php echo esc_html__( 'Salvador Dalí', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#"><?php echo esc_html__( 'Yves Tanguy', 'surrealist' ); ?></a></p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"var:preset|spacing|80"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

56
surrealist/readme.txt Normal file
View file

@ -0,0 +1,56 @@
=== Surrealist ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Surrealist is a block theme about the Surrealism art movement.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Impressionist WordPress Theme, (C) 2022 Automattic
Impressionist 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.
== Fonts ==
Kame Font
Copyright (c) 2020, Romain Goetz
https://fontesk.com/kame-font/
-- End of Kame Font credits --
Kame Poster Font
Copyright (c) 2020, Romain Goetz
https://fontesk.com/kame-font/
-- End of Kame Poster Font credits --
== Images ==
Portrait of Joan Miro, Barcelona By Carl Van Vechten - Van Vechten Collection at Library of Congress,
Public Domain,
https://commons.wikimedia.org/w/index.php?curid=120702
The Tilled Field By Joan Miró (d. 1983) - https://www.guggenheim.org/artwork/2934,
Public Domain,
https://en.wikipedia.org/w/index.php?curid=17691985

BIN
surrealist/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

78
surrealist/style.css Normal file
View file

@ -0,0 +1,78 @@
/*
Theme Name: Surrealist
Theme URI: https://themeshaper.com/surrealist/
Author: Automattic
Author URI: https://automattic.com/
Description: Surrealist is a block theme about the Surrealism art movement.
Requires at least: 6.0
Tested up to: 6.5
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: surrealist
Tags: blog, one-column, two-columns, wide-blocks, block-patterns, block-styles, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready
*/
/*
* Control the hover stylings of outline block style.
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--base);
border-color: var(--wp--preset--color--primary);
}
/*
* Form field styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
::placeholder {
color: var(--wp--preset--color--contrast);
opacity: 1; /* Firefox */
}
input:not([type="submit"]):not([type="checkbox"]),
textarea,
.wp-block-post-comments-form input:not([type=submit]),
.wp-block-post-comments-form textarea {
background-color: var(--wp--preset--color--base);
border-color: var(--wp--preset--color--contrast);
color: var(--wp--preset--color--contrast);
}
input:not([type="submit"]):not([type="checkbox"]):focus,
textarea:focus {
outline-style: solid;
outline-color: var(--wp--preset--color--contrast);
}
/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
a {
text-decoration-thickness: 1px !important;
text-underline-offset: 2px;
}
/*
* Navigation Block
* Reset the padding from List block
* https://github.com/WordPress/gutenberg/issues/50486
*/
.wp-block-navigation ul {
padding: unset;
}
/*
* Pull quote Block
* Reset the browser default margins for blockquote element
* https://github.com/WordPress/gutenberg/issues/44129
*/
.wp-block-pullquote blockquote,
.wp-block-pullquote p {
margin: 0;
}

View file

@ -0,0 +1,15 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide">
<!-- wp:pattern {"slug":"surrealist/hidden-404"} /-->
<!-- wp:pattern {"slug":"surrealist/hidden-search-field"} /-->
</div>
<!-- /wp:group -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,67 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:0;margin-bottom:0">
<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true}} -->
<div class="wp-block-query">
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:query-title {"type":"archive","showPrefix":false,"align":"wide"} /-->
<!-- wp:group {"align":"wide","layout":{"type":"constrained","justifyContent":"left","contentSize":"50%"}} -->
<div class="wp-block-group alignwide">
<!-- wp:term-description {"align":"full","style":{"spacing":{"margin":{"top":"var:preset|spacing|50"}}}} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|80"}}} -->
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|60","left":"0"}}}} -->
<div class="wp-block-columns">
<!-- wp:column {"layout":{"type":"default"}} -->
<div class="wp-block-column">
<!-- wp:post-featured-image {"isLink":true} /-->
</div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"bottom","layout":{"type":"default"}} -->
<div class="wp-block-column is-vertically-aligned-bottom">
<!-- wp:group {"style":{"spacing":{"padding":{"right":"5vw","left":"5vw"},"blockGap":"var:preset|spacing|30"}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right:5vw;padding-left:5vw">
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-terms {"term":"category"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- /wp:post-template -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
<!-- 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-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:query -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1 @@
<!-- wp:pattern {"slug":"surrealist/front-page"} /-->

View file

@ -0,0 +1,55 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:0;margin-bottom:0">
<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true}} -->
<div class="wp-block-query">
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|60"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|80"}}} -->
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|60","left":"0"}}}} -->
<div class="wp-block-columns">
<!-- wp:column {"layout":{"type":"default"}} -->
<div class="wp-block-column">
<!-- wp:post-featured-image {"isLink":true} /-->
</div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"bottom","layout":{"type":"default"}} -->
<div class="wp-block-column is-vertically-aligned-bottom">
<!-- wp:group {"style":{"spacing":{"padding":{"right":"5vw","left":"5vw"},"blockGap":"var:preset|spacing|30"}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right:5vw;padding-left:5vw">
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-terms {"term":"category"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- /wp:post-template -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
<!-- 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-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:query -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,13 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:0;margin-bottom:0">
<!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /-->
</main>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:0">
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
</div>
<!-- /wp:group -->

View file

@ -0,0 +1,15 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|60"}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-title {"textAlign":"center","level":1,"align":"wide","style":{"typography":{"fontStyle":"normal","fontWeight":"400","letterSpacing":"0.04em"}},"fontSize":"medium","fontFamily":"kame-poster"} /-->
</div>
<!-- /wp:group -->
<!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /-->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,15 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|60"}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-title {"textAlign":"center","level":1,"align":"wide"} /-->
</div>
<!-- /wp:group -->
<!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /-->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,71 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:0;margin-bottom:0">
<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true}} -->
<div class="wp-block-query">
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:query-title {"type":"search","align":"wide"} /-->
<!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide">
<!-- wp:pattern {"slug":"surrealist/hidden-search-field"} /-->
<!-- wp:query-no-results {"align":"wide"} -->
<!-- wp:pattern {"slug":"surrealist/hidden-no-results-content"} /-->
<!-- /wp:query-no-results -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|80"}}} -->
<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|60","left":"0"}}}} -->
<div class="wp-block-columns">
<!-- wp:column {"layout":{"type":"default"}} -->
<div class="wp-block-column">
<!-- wp:post-featured-image {"isLink":true} /-->
</div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"bottom","layout":{"type":"default"}} -->
<div class="wp-block-column is-vertically-aligned-bottom">
<!-- wp:group {"style":{"spacing":{"padding":{"right":"5vw","left":"5vw"},"blockGap":"var:preset|spacing|30"}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right:5vw;padding-left:5vw">
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-terms {"term":"category"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- /wp:post-template -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
<!-- 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-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:query -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -0,0 +1,55 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|60"}},"layout":{"type":"default"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-title {"textAlign":"center","level":1,"align":"wide"} /-->
<!-- wp:post-terms {"term":"category","textAlign":"center","style":{"typography":{"textTransform":"uppercase"}},"fontFamily":"kame-poster"} /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-featured-image {"align":"wide"} /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group">
<!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:post-date /-->
<!-- wp:post-author-name {"isLink":true} /-->
<!-- wp:post-terms {"term":"post_tag"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</main>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)">
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group">
<!-- wp:post-navigation-link {"type":"previous","label":"Previous post"} /-->
<!-- wp:post-navigation-link {"label":"Next Post"} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0">
<!-- wp:template-part {"slug":"comments"} /-->
</div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

832
surrealist/theme.json Normal file
View file

@ -0,0 +1,832 @@
{
"customTemplates": [
{
"name": "page-small-title",
"postTypes": [
"page"
],
"title": "Pages With Small Title"
},
{
"name": "page-no-title",
"postTypes": [
"page"
],
"title": "Pages Without Title"
}
],
"settings": {
"appearanceTools": true,
"color": {
"background": true,
"custom": true,
"customDuotone": true,
"customGradient": true,
"defaultDuotone": false,
"defaultGradients": false,
"defaultPalette": false,
"duotone": [],
"gradients": [],
"palette": [
{
"color": "#ffffff",
"name": "Base",
"slug": "base"
},
{
"color": "#242121",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#6e6e6e",
"name": "Primary",
"slug": "primary"
},
{
"color": "#cccccc",
"name": "Secondary",
"slug": "secondary"
}
],
"text": true
},
"custom": {
"separator": "radial-gradient(14.79px at 50% calc(100% + 9.5px),#0000 calc(99% - 2px),#000 calc(101% - 2px) 99%,#0000 101%) calc(50% - 20px) calc(50% - 6px + .5px)/40px 12px, radial-gradient(14.79px at 50% -9.5px,#0000 calc(99% - 2px),#000 calc(101% - 2px) 99%,#0000 101%) 50% calc(50% + 6px)/40px 12px;"
},
"layout": {
"contentSize": "710px",
"wideSize": "90vw"
},
"spacing": {
"customSpacingSize": true,
"spacingScale": {
"steps": 0
},
"spacingSizes": [
{
"name": "2X-Small",
"size": "0.25rem",
"slug": "20"
},
{
"name": "x-Small",
"size": "0.5rem",
"slug": "30"
},
{
"name": "Small",
"size": "1rem",
"slug": "40"
},
{
"name": "Medium",
"size": "clamp(1rem, 2vw, 2rem)",
"slug": "50"
},
{
"name": "Large",
"size": "clamp(2rem, 4vw, 4rem)",
"slug": "60"
},
{
"name": "X-Large",
"size": "clamp(3rem, 6vw, 6rem)",
"slug": "70"
},
{
"name": "2X-Large",
"size": "clamp(4rem, 8vw, 8rem)",
"slug": "80"
}
],
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"customFontSize": true,
"dropCap": true,
"fluid": true,
"fontFamilies": [
{
"fontFace": [
{
"fontFamily": "Kame",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/kame_normal_400.otf"
]
}
],
"fontFamily": "Kame",
"name": "Kame",
"slug": "kame"
},
{
"fontFace": [
{
"fontFamily": "Kame Poster",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/kame-poster_normal_400.otf"
]
},
{
"fontFamily": "Kame Poster",
"fontStyle": "normal",
"fontWeight": "900",
"src": [
"file:./assets/fonts/kame-poster_normal_900.otf"
]
}
],
"fontFamily": "Kame Poster",
"name": "Kame Poster",
"slug": "kame-poster"
},
{
"fontFace": [
{
"fontFamily": "PT Sans",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/pt-sans_normal_400.ttf"
]
},
{
"fontFamily": "PT Sans",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/pt-sans_normal_700.ttf"
]
},
{
"fontFamily": "PT Sans",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/pt-sans_italic_400.ttf"
]
},
{
"fontFamily": "PT Sans",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/pt-sans_italic_700.ttf"
]
}
],
"fontFamily": "PT Sans",
"name": "PT Sans",
"slug": "pt-sans"
}
],
"fontSizes": [
{
"fluid": "false",
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.618rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.618rem",
"slug": "medium"
},
{
"fluid": {
"max": "2.618rem",
"min": "1.618rem"
},
"name": "Large",
"size": "2.618rem",
"slug": "large"
},
{
"fluid": {
"max": "4.236rem",
"min": "2.618rem"
},
"name": "Extra Large",
"size": "4.236rem",
"slug": "x-large"
},
{
"fluid": {
"max": "6.854rem",
"min": "4.236rem"
},
"name": "Double Extra Large",
"size": "6.854rem",
"slug": "xx-large"
}
],
"fontStyle": true,
"fontWeight": true,
"letterSpacing": true,
"textDecoration": true,
"textTransform": true,
"writingMode": true
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/archives": {
"css": "& {list-style-type:none;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/audio": [],
"core/avatar": {
"border": {
"radius": "56% 44% 73% 27% / 45% 68% 32% 55%;"
}
},
"core/button": {
"variations": {
"outline": {
"border": {
"width": "1.5px"
},
"spacing": {
"padding": {
"bottom": "calc(1.1875rem - 1.5px)",
"left": "calc(2rem - 1.5px)",
"right": "calc(2rem - 1.5px)",
"top": "calc(1.375rem - 1.5px)"
}
}
}
}
},
"core/buttons": {
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)"
}
},
"core/calendar": {
"css": ".wp-block-calendar table:where(:not(.has-text-color)) {color: var(--wp--preset--color--contrast);} &.wp-block-calendar table:where(:not(.has-text-color)) td {border-color: var(--wp--preset--color--contrast);} &.wp-block-calendar table:where(:not(.has-text-color)) th {color: var(--wp--preset--color--base);border-color: var(--wp--preset--color--contrast);} & :where(.wp-block-calendar table:not(.has-background) th) {background-color: var(--wp--preset--color--contrast);color: var(--wp--preset--color--contrast);}"
},
"core/categories": {
"css": "& {list-style-type:none;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/code": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--40)",
"left": "var(--wp--preset--spacing--40)",
"right": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
},
"typography": {
"fontFamily": "monospace",
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/column": [],
"core/columns": {
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-content": {
"css": "& p{margin-bottom:0;} & p+p{margin-top:var(--wp--preset--spacing--40)}",
"spacing": {
"margin": {
"top": "var(--wp--preset--spacing--40)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-template": {
"spacing": {
"margin": {
"top": "var(--wp--preset--spacing--50)"
}
}
},
"core/comments": [],
"core/comments-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comments-pagination-next": [],
"core/comments-pagination-numbers": [],
"core/comments-pagination-previous": [],
"core/comments-title": [],
"core/cover": {
"spacing": {
"padding": "var(--wp--preset--spacing--50)"
}
},
"core/details": [],
"core/embed": [],
"core/file": [],
"core/footnotes": [],
"core/gallery": [],
"core/group": [],
"core/heading": [],
"core/home-link": [],
"core/image": [],
"core/latest-comments": {
"css": "& .wp-block-latest-comments__comment-meta{font-size: inherit;} & .wp-block-latest-comments__comment-date{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{font-size: inherit;} & .wp-block-latest-comments__comment-excerpt p{margin:0 0 var(--wp--style--block-gap)} &:where(.wp-block-latest-comments:not([style*=line-height] .wp-block-latest-comments__comment-excerpt p)){line-height:calc(1em + 0.375rem);} & .avatar, .wp-block-latest-comments__comment-avatar{border-radius:56% 44% 73% 27% / 45% 68% 32% 55%}",
"spacing": {
"padding": {
"left": "0px"
}
}
},
"core/latest-posts": {
"css": " .wp-block-latest-posts__post-author{font-size: inherit;} & .wp-block-latest-posts__post-date{font-size: inherit;} & .wp-block-latest-posts__post-excerpt{margin:0 0 var(--wp--style--block-gap)}"
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
}
},
"core/list-item": [],
"core/loginout": [],
"core/media-text": [],
"core/navigation": {
"css": ".wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {border-color:var(--wp--preset--color--contrast);}",
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/navigation-link": [],
"core/navigation-submenu": [],
"core/page-list": {
"css": "& {list-style-type:none;}",
"spacing": {
"padding": {
"left": "0"
}
}
},
"core/paragraph": {
"typography": {
"lineHeight": "calc(1em + 0.382rem)"
}
},
"core/post-author": {
"css": ".wp-block-post-author .wp-block-post-author__byline{font-size:inherit;}&.wp-block-post-author .wp-block-post-author__name a{text-decoration:none;}&.wp-block-post-author .wp-block-post-author__bio{font-size:inherit;margin:0;}& .wp-block-post-author__avatar img{border-radius: 56% 44% 73% 27% / 45% 68% 32% 55%;margin-top:4px;vertical-align:middle;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-author-biography": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-author-name": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-comments-count": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-comments-form": {
"css": "&.comment-form input:not([type=submit]):not([type=checkbox]){line-height: inherit;} & .comment-form textarea{line-height: inherit;} & .comment-form > *{margin-top:var(--wp--style--block-gap);margin-bottom:0} & .comment-reply-title{margin-top:var(--wp--style--block-gap);}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-comments-link": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-content": {
"elements": {
"heading": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--60)"
}
}
}
}
},
"core/post-date": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-excerpt": {
"css": ".wp-block-post-excerpt .wp-block-post-excerpt__excerpt{line-height: inherit;}"
},
"core/post-featured-image": [],
"core/post-navigation-link": {
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-template": [],
"core/post-terms": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
},
"spacing": {
"margin": {
"bottom": "var(--wp--style--block-gap)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px 0"
},
"css": ".wp-block-pullquote cite {display:block;margin-top: var(--wp--preset--spacing--50)}",
"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--medium)",
"fontStyle": "italic"
}
},
"core/query-no-results": [],
"core/query-pagination": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em"
}
},
"core/query-pagination-next": {
"css": ".wp-block-query-pagination-next{margin:0;}"
},
"core/query-pagination-numbers": {
"css": ".wp-block-query-pagination-numbers{margin:0;}"
},
"core/query-pagination-previous": {
"css": ".wp-block-query-pagination-previous{margin:0;}"
},
"core/query-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"margin": {
"left": "0",
"right": "0"
},
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "italic"
},
"variations": {
"plain": {
"border": {
"width": "0"
},
"spacing": {
"padding": {
"left": "0"
}
},
"typography": {
"fontStyle": "normal"
}
}
}
},
"core/read-more": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"letterSpacing": "0.04em",
"lineHeight": "1"
}
},
"core/rss": [],
"core/search": {
"border": {
"radius": "0px"
},
"css": "& :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){border-color:var(--wp--preset--color--contrast);border-radius:999px; padding-left:1rem;} & .wp-block-search__button.has-icon{padding:1rem;}",
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": "1"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 35px 0"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"css": ".wp-block-separator:not(.is-style-dots){mask: var(--wp--custom--separator);} &.wp-block-separator.is-style-wide{max-width:none;}"
},
"core/site-logo": [],
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--primary)"
}
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "900",
"lineHeight": "1.236093943",
"textTransform": "none"
}
},
"core/social-links": {
"spacing": {
"blockGap": {
"left": "var(--wp--preset--spacing--40)",
"top": "var(--wp--preset--spacing--40)"
}
}
},
"core/spacer": [],
"core/table": {
"css": "& thead{border-bottom-width: 1px;} & tfoot{border-top-width: 1px;} & + .wp-element-caption{text-align:center;}"
},
"core/tag-cloud": {
"css": ".wp-block-tag-cloud.is-style-outline{font-size:var(--wp--preset--font-size--small)} &.wp-block-tag-cloud.is-style-outline a {padding: 2px 8px 0;} &.wp-block-tag-cloud.is-style-outline a:hover {color: var(--wp--preset--color--base);background-color: var(--wp--preset--color--primary);}"
},
"core/term-description": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/verse": [],
"core/video": []
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"css": ".no-underline a{text-decoration:none;}",
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--contrast)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)"
},
"outline": {
"color": "var(--wp--preset--color--contrast)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--primary)"
}
},
"border": {
"radius": "33% 67% 59% 41% / 42% 47% 53% 58%"
},
"color": {
"background": "var(--wp--preset--color--contrast)",
"text": "var(--wp--preset--color--base)"
},
"spacing": {
"padding": {
"bottom": "1.1875rem",
"left": "2rem",
"right": "2rem",
"top": "1.375rem"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"fontSize": "var(--wp--preset--font-size--small)",
"letterSpacing": "0.04em",
"lineHeight": "1"
}
},
"caption": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "400",
"lineHeight": "1.2"
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame)",
"fontSize": "var(--wp--preset--font-size--small)",
"fontWeight": "400",
"lineHeight": "1.2"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--kame-poster)",
"fontStyle": "normal",
"fontWeight": "900",
"lineHeight": "0.92",
"textTransform": "none"
}
},
"link": {
":hover": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"typography": {
"textDecoration": "underline"
}
},
"color": {
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--50)",
"padding": {
"bottom": "0px",
"left": "5vw",
"right": "5vw",
"top": "0px"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--pt-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.236093943"
}
},
"templateParts": [
{
"area": "uncategorized",
"name": "comments",
"title": "Comments"
},
{
"area": "header",
"name": "header",
"title": "Header"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/wp/6.5/theme.json"
}