Removed Payton and Kerr themes (#5142)

This commit is contained in:
Jason Crist 2021-12-16 12:00:20 -05:00 committed by GitHub
parent 3659b5c608
commit ede0308425
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 0 additions and 7806 deletions

View file

@ -1,62 +0,0 @@
@charset "UTF-8";
/**
* Breakpoints & Media Queries
*/
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
.post-meta {
align-items: center;
justify-content: center;
}
.post-meta.wp-block-group {
gap: 0;
}
.post-meta > *:not(:first-child):before {
color: var(--wp--custom--color--foreground);
content: "·";
margin-left: var(--wp--custom--gap--baseline);
margin-right: var(--wp--custom--gap--baseline);
}
@media (max-width: 599px) {
.post-meta {
padding-top: 0 !important;
margin-bottom: -20px;
}
}
/*# sourceMappingURL=theme.css.map */

View file

@ -1,8 +0,0 @@
<!-- wp:group {"tagName":"header","className":"site-header","layout":{"type":"flex"},"style":{"spacing":{"padding":{"top":"var(--wp--custom--gap--vertical)"}}}} -->
<header class="wp-block-group site-header" style="padding-top:var(--wp--custom--gap--vertical)">
<!-- wp:site-logo /-->
<!-- wp:site-title /-->
<!-- wp:site-tagline {"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
<!-- wp:navigation {"__unstableLocation":"primary","__unstableSocialLinks":"social","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"}} /-->
</header>
<!-- /wp:group -->

View file

@ -1,31 +0,0 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:query {"tagName":"main","layout":{"inherit":true}} -->
<main class="wp-block-query">
<!-- wp:post-template {"align":"wide"} -->
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:post-date {"isLink":true,"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
<!-- wp:post-title {"isLink":true, "level": 3, "textAlign":"center"} /-->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:post-featured-image {"isLink":true} /-->
<!-- wp:post-excerpt /-->
</div>
<!-- /wp:group -->
<!-- wp:spacer {"height":60} -->
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
</main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","className":"site-footer-container"} /-->

View file

@ -1,61 +0,0 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:spacer {"height":30} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"className":"post-meta","layout":{"type":"flex"}} -->
<div class="wp-block-group post-meta">
<!-- wp:post-date {"textAlign":"center","isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
<!-- wp:post-terms {"term":"category","textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:post-title {"textAlign":"center","level":1,"align":"wide"} /-->
<!-- wp:post-featured-image {"align":"wide"} /-->
</div>
<!-- /wp:group -->
<!-- wp:spacer {"height":30} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:spacer {"height":90} -->
<div style="height:90px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:columns {"align":"wide","className":"next-prev-links"} -->
<div class="wp-block-columns alignwide next-prev-links">
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:post-navigation-link {"type":"previous","label":"←","showTitle":true} /-->
</div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:post-navigation-link {"textAlign":"right","label":"→","showTitle":true} /-->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":90} -->
<div style="height:90px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-comments /-->
</div>
<!-- /wp:group -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","className":"site-footer-container"} /-->

3238
kerr/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,21 +0,0 @@
{
"name": "kerr",
"version": "0.0.13",
"description": "",
"main": "style.css",
"dependencies": {},
"devDependencies": {
"@wordpress/base-styles": "^3.4.0",
"chokidar-cli": "^2.1.0",
"node-sass": "^5.0.0",
"node-sass-package-importer": "^5.3.2"
},
"scripts": {
"start": "chokidar \"**/*.scss\" child-theme.json ../blockbase/theme.json -c \"npm run build\" --initial",
"build": "npm run build:theme && npm run build:scss",
"build:theme": "node ../blockbase/build.js kerr",
"build:scss": "node-sass --importer node_modules/node-sass-package-importer/dist/cli.js sass/theme.scss assets/theme.css --output-style expanded --indent-type tab --indent-width 1 --source-map true"
},
"author": "",
"license": "GPLv2"
}

View file

@ -1,69 +0,0 @@
=== Kerr ===
Contributors: Automattic
Requires at least: 5.8
Tested up to: 5.8
Requires PHP: 5.6.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Kerr is a simple blogging theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles.
== About Kerr ==
For more information see our README.md file.
== Changelog ==
= 1.0 =
* Initial release
== Copyright ==
Kerr WordPress Theme, (C) 2021 Automattic, Inc.
Kerr 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.
Kerr uses the following third-party resources:
Merengue Tart by Alex Lvrs
Source: https://unsplash.com/photos/aX_ljOOyWJY
Included in theme screenshot.
White Cake on a Ceramic Plate Cake by Polina Tankilevitch
Source: https://www.pexels.com/photo/photo-of-white-cake-on-ceramic-plate-4110004/
Included in theme screenshot.
Christmas Cookie Collection by Cristina Ilao
Source: https://unsplash.com/photos/ulBIGRULKpc
Included in theme screenshot.
Chocolate Cupcakes by Eiliv-Sonas Aceron
Source: https://unsplash.com/photos/syeF6RIcHpE
Included in theme demo site.
Blackberry Cake by Heather Barnes
Source: https://unsplash.com/photos/_TN1m5R1pFI
Included in theme demo site.
Crepes With Oranges and Honey by Monika Grabkowska
Source: https://unsplash.com/photos/jsgJtBOR6jY
Included in theme demo site.
French Macarons by Heather Barnes
Source: https://unsplash.com/photos/6eHegE5M_ag
Included in theme demo site.
Woman Holding Lemons by Alesia Kozik
Source: https://www.pexels.com/photo/smiling-woman-in-gray-coat-holding-yellow-fruit-7342195/
Included in theme demo site.

View file

@ -1,11 +0,0 @@
.post-meta {
@include post-meta-with-separator('·');
align-items: center;
justify-content: center;
@include break-small-only() {
padding-top: 0 !important;
margin-bottom: -20px;
}
}

View file

@ -1,3 +0,0 @@
@import "../../blockbase/sass/base/breakpoints"; // Get the mobile-only media query and make it available to this theme's styles
@import "../../blockbase/sass/base/mixins";
@import "templates/meta";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

View file

@ -1,63 +0,0 @@
/*
Theme Name: Kerr
Theme URI: https://github.com/automattic/themes/tree/trunk/kerr
Author: Automattic
Author URI: https://automattic.com/
Description: Kerr is a simple blogging theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles.
Requires at least: 5.7
Tested up to: 5.7
Requires PHP: 5.7
Version: 0.0.13
License: GNU General Public License v2 or later
License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
Template: blockbase
Text Domain: kerr
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage
Kerr WordPress Theme, (C) 2021 Automattic, Inc.
Kerr 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.
Kerr uses the following third-party resources:
Meringue Tart by Alex Lvrs
Source: https://unsplash.com/photos/aX_ljOOyWJY
Included in theme screenshot.
White Cake on a Ceramic Plate Cake by Polina Tankilevitch
Source: https://www.pexels.com/photo/photo-of-white-cake-on-ceramic-plate-4110004/
Included in theme screenshot.
Christmas Cookie Collection by Cristina Ilao
Source: https://unsplash.com/photos/ulBIGRULKpc
Included in theme screenshot.
Chocolate Cupcakes by Eiliv-Sonas Aceron
Source: https://unsplash.com/photos/syeF6RIcHpE
Included in theme demo site.
Blackberry Cake by Heather Barnes
Source: https://unsplash.com/photos/_TN1m5R1pFI
Included in theme demo site.
Crepes With Oranges and Honey by Monika Grabkowska
Source: https://unsplash.com/photos/jsgJtBOR6jY
Included in theme demo site.
French Macarons by Heather Barnes
Source: https://unsplash.com/photos/6eHegE5M_ag
Included in theme demo site.
Woman Holding Lemons by Alesia Kozik
Source: https://www.pexels.com/photo/smiling-woman-in-gray-coat-holding-yellow-fruit-7342195/
Included in theme demo site.
*/

View file

@ -1,366 +0,0 @@
{
"$schema": "https://json.schemastore.org/theme-v1.json",
"version": 1,
"customTemplates": [
{
"name": "blank",
"title": "Blank",
"postTypes": [
"page",
"post"
]
},
{
"name": "header-footer-only",
"title": "Header and Footer Only",
"postTypes": [
"page",
"post"
]
},
{
"name": "page-without-title",
"title": "Page without title",
"postTypes": [
"page",
"post"
]
}
],
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#60495a",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#f4845f",
"name": "Secondary"
},
{
"slug": "foreground",
"color": "#1d1e1e",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#fcf9f5",
"name": "Tertiary"
}
]
},
"custom": {
"button": {
"border": {
"color": "var(--wp--custom--color--foreground)",
"radius": "0",
"width": "3px"
},
"color": {
"background": "var(--wp--custom--color--secondary)",
"text": "var(--wp--custom--color--background)"
},
"hover": {
"color": {
"text": "var(--wp--custom--color--foreground)",
"background": "var(--wp--custom--color--background)"
},
"border": {
"color": "var(--wp--custom--color--foreground)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "700"
}
},
"color": {
"foreground": "var(--wp--preset--color--foreground)",
"background": "var(--wp--preset--color--background)",
"primary": "var(--wp--preset--color--primary)",
"secondary": "var(--wp--preset--color--secondary)",
"tertiary": "var(--wp--preset--color--tertiary)"
},
"form": {
"border": {
"color": "var(--wp--custom--color--foreground)",
"style": "solid",
"width": "2px"
},
"padding": "20px"
},
"fontSizes": {
"tiny": "16px"
},
"body": {
"typography": {
"lineHeight": 1.7
}
},
"heading": {
"typography": {
"fontWeight": "400"
}
},
"layout": {
"contentSize":"664px"
},
"line-height": {
"body": 1.7
},
"gap": {
"horizontal": "min(20px, 5vw)",
"vertical": "min(30px, 5vw)"
},
"paragraph": {
"dropcap": {
"margin": "0 .2em .2em 0",
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"fontWeight": "400"
}
}
},
"pullquote": {
"citation": {
"typography": {
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"quote": {
"citation": {
"typography": {
"fontStyle": "normal",
"fontWeight": "400"
}
}
}
},
"layout": {
"contentSize": "664px"
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"Work Sans\", sans-serif",
"fontSlug": "work-sans",
"slug": "body-font",
"name": "Body (Work Sans)",
"google": "family=Work+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700"
},
{
"fontFamily": "\"Work Sans\", sans-serif",
"fontSlug": "work-sans",
"slug": "heading-font",
"name": "Headings (Work Sans)",
"google": "family=Work+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small"
},
{
"name": "Normal",
"size": "18px",
"slug": "normal"
},
{
"name": "Medium",
"size": "24px",
"slug": "medium"
},
{
"name": "Large",
"size": "32px",
"slug": "large"
},
{
"name": "Huge",
"size": "36px",
"slug": "huge"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"color": {
"background": "var(--wp--custom--button--color--background)",
"text": "var(--wp--custom--button--color--text)"
},
"typography": {
"fontSize": "var(--wp--custom--button--typography--font-size)",
"fontWeight": "var(--wp--custom--button--typography--font-weight)"
}
},
"core/code": {
"border": {
"width": "0px"
},
"color": {
"background": "var(--wp--custom--color--tertiary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "400",
"lineHeight": "1.6"
}
},
"core/navigation": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"core/navigation-link": {
"color": {
"background": "transparent",
"text": "var(--wp--custom--color--foreground)"
}
},
"core/post-title": {
"spacing": {
"margin": {
"bottom": "var(--wp--custom--gap--vertical)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"fontWeight": "400",
"lineHeight": 1.3
}
},
"list": {
"padding": {
"left": "calc( 2 * var(--wp--custom--gap--horizontal) )"
}
},
"core/quote": {
"border": {
"width": "0px"
},
"spacing": {
"padding": {
"left": "calc( var(--wp--custom--gap--horizontal) * 3 )"
}
},
"typography": {
"fontSize": "25px",
"fontWeight": "normal",
"lineHeight": "40px"
}
},
"core/pullquote": {
"typography": {
"fontStyle": "normal",
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "400",
"lineHeight": "1.4"
},
"spacing": {
"padding": {
"bottom": "calc( var(--wp--custom--gap--horizontal) * 3 )",
"left": "calc( var(--wp--custom--gap--horizontal) * 3 )",
"right": "calc( var(--wp--custom--gap--horizontal) * 3 )",
"top": "calc( var(--wp--custom--gap--horizontal) * 3 )"
}
},
"border": {
"width": "1px 0 0 0"
}
},
"core/post-template": {
"elements": {
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
}
}
},
"core/query-pagination": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "400"
}
},
"core/site-title": {
"color": {
"link": "var(--wp--custom--color--primary)"
},
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"fontWeight": "700"
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"lineHeight": 1.2
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"lineHeight": 1.2
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": 1.2
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)",
"lineHeight": 1.4
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": 1.4
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)",
"lineHeight": 1.4
}
},
"link": {
"color": {
"text": "var(--wp--custom--color--primary)"
}
}
},
"typography": {
"fontWeight": "400"
},
"core/site-logo": {
"spacing": {
"padding": {
"left": "35px"
}
}
}
}
}

View file

@ -1,105 +0,0 @@
@charset "UTF-8";
/**
* Breakpoints & Media Queries
*/
/**
* Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
.wp-block-separator {
border-width: 0 0 2px 0;
}
.wp-block-separator.is-style-wide {
border-width: 0 0 2px 0;
}
.wp-block-post-navigation-link {
color: var(--wp--custom--color--tertiary);
border-top: 2px solid;
display: flex;
padding-top: 1em;
}
.post-navigation-link-next {
flex-direction: row-reverse;
}
.post-navigation-link-next a {
margin-right: 0.5em;
}
.post-navigation-link-previous a {
margin-left: 0.5em;
}
.next-prev-links .wp-block-column,
.next-prev-links .wp-block-column:not(:only-child) {
flex-basis: 40% !important;
}
.next-prev-links .wp-block-column:not(:first-child),
.next-prev-links .wp-block-column:not(:only-child):not(:first-child) {
margin-left: 20%;
}
/* Add some extra space if there's no post title present. */
.wp-block-post-date + .wp-block-group > .wp-block-post-featured-image,
.wp-block-post-date + .wp-block-group > .wp-block-post-excerpt {
margin-top: calc(2 * var( --wp--style--block-gap ));
}
.post-meta {
align-items: center;
justify-content: center;
}
.post-meta.wp-block-group {
gap: 0;
}
.post-meta > *:not(:first-child):before {
color: var(--wp--custom--color--foreground);
content: "·";
margin-left: var(--wp--custom--gap--baseline);
margin-right: var(--wp--custom--gap--baseline);
}
@media (max-width: 599px) {
.post-meta {
padding-top: 0 !important;
margin-bottom: -20px;
}
}
/*# sourceMappingURL=theme.css.map */

View file

@ -1,9 +0,0 @@
<!-- wp:group {"className":"site-footer","style":{"spacing":{"padding":{"top":"30px","bottom":"30px"}}}} -->
<div class="wp-block-group site-footer" style="padding-top:30px;padding-bottom: 30px">
<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} -->
<p class="has-text-align-center" style="font-size:var(--wp--custom--font-sizes--tiny);">Proudly Powered by <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->

View file

@ -1,14 +0,0 @@
<!-- wp:group {"tagName":"header","style":{"spacing":{"padding":{"top":"10px"}}},"className":"site-header"} -->
<header class="wp-block-group site-header" style="padding-top:10px">
<!-- wp:navigation {"__unstableLocation":"primary","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center","orientation":"horizontal"},"fontSize":"small","fontFamily":"overpass"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"6vh","bottom":"6vh"}}}} -->
<div class="wp-block-group" style="padding-top:6vh;padding-bottom:6vh">
<!-- wp:site-logo {"align":"center"} /-->
<!-- wp:site-title {"textAlign":"center","style":{"spacing":{"padding":{"bottom":"12px"}}},"fontSize":"large"} /-->
<!-- wp:site-tagline {"textAlign":"center","fontSize":"small"} /--></div>
<!-- /wp:group -->
</header>
<!-- /wp:group -->

View file

@ -1,10 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:post-content {"layout":{"inherit":true}} /-->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer-container"} /-->

View file

@ -1,39 +0,0 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:query {"tagName":"main","layout":{"inherit":true}} -->
<main class="wp-block-query">
<!-- wp:separator {"color":"tertiary"} -->
<hr class="wp-block-separator has-text-color has-background has-tertiary-background-color has-tertiary-color"/>
<!-- /wp:separator -->
<!-- wp:spacer {"height":10} -->
<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-template {"align":"wide"} -->
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:post-date {"isLink":true,"textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
<!-- wp:post-title {"isLink":true, "level": 3, "textAlign":"center", "style":{"spacing":{"margin":{"bottom":"var(--wp--style--block-gap)"}}}} /-->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:post-featured-image {"isLink":true, "style":{"spacing":{"margin":{"bottom":"calc(2 * var(--wp--style--block-gap))"}}}} /-->
<!-- wp:post-excerpt /-->
</div>
<!-- /wp:group -->
<!-- wp:spacer {"height":60} -->
<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
</div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:query-pagination {"align":"wide","paginationArrow":"arrow"} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-numbers /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination -->
</main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","className":"site-footer-container"} /-->

View file

@ -1,24 +0,0 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"right":"20px","left":"20px"},"margin":{"bottom":"var(--wp--style--block-gap)"}}},"layout":{"inherit":true}} -->
<div class="wp-block-group" style="padding-right:20px;padding-left:20px;margin-bottom:var(--wp--style--block-gap)">
<!-- wp:separator {"color":"tertiary"} -->
<hr class="wp-block-separator has-text-color has-background has-tertiary-background-color has-tertiary-color"/>
<!-- /wp:separator -->
<!-- wp:post-title {"textAlign":"center","level":1,"style":{"spacing":{"margin":{"top":"8vh","bottom":"0"}}}} /-->
<!-- wp:post-featured-image {"style":{"spacing":{"margin":{"top":"calc(2 * var(--wp--style--block-gap))"}}}} /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:post-content {"layout":{"inherit":true}} /-->
</main>
<!-- /wp:group -->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group"><!-- wp:post-comments /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","className":"site-footer-container"} /-->

View file

@ -1,60 +0,0 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"tagName":"main"} -->
<main class="wp-block-group">
<!-- wp:separator {"color":"tertiary"} -->
<hr class="wp-block-separator has-text-color has-background has-tertiary-background-color has-tertiary-color"/>
<!-- /wp:separator -->
<!-- wp:spacer {"height":10} -->
<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"className":"post-meta","layout":{"type":"flex"}} -->
<div class="wp-block-group post-meta">
<!-- wp:post-date {"textAlign":"center","isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
<!-- wp:post-terms {"term":"category","textAlign":"center","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
</div>
<!-- /wp:group -->
<!-- wp:group {"style":{"spacing":{"margin":{"bottom":"calc(2 * var(--wp--style--block-gap))"}}},"layout":{"inherit":true}} -->
<div class="wp-block-group" style="margin-bottom:calc(2 * var(--wp--style--block-gap))">
<!-- wp:post-title {"textAlign":"center","level":1,"align":"wide"} /-->
<!-- wp:post-featured-image {"align":"wide","style":{"spacing":{"margin":{"top":"calc(2 * var(--wp--style--block-gap))"}}}} /-->
</div>
<!-- /wp:group -->
<!-- wp:post-content {"layout":{"inherit":true}} /-->
<!-- wp:spacer {"height":150} -->
<div style="height:150px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group">
<!-- wp:columns {"align":"wide","className":"next-prev-links"} -->
<div class="wp-block-columns alignwide next-prev-links">
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:post-navigation-link {"type":"previous","label":"←","showTitle":true} /-->
</div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:post-navigation-link {"textAlign":"right","label":"→","showTitle":true} /-->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
<!-- wp:spacer {"height":150} -->
<div style="height:150px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-comments /-->
</div>
<!-- /wp:group -->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","className":"site-footer-container"} /-->

3265
payton/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,21 +0,0 @@
{
"name": "payton",
"version": "0.0.15",
"description": "",
"main": "style.css",
"dependencies": {},
"devDependencies": {
"@wordpress/base-styles": "^3.4.0",
"chokidar-cli": "^2.1.0",
"node-sass": "^5.0.0",
"node-sass-package-importer": "^5.3.2"
},
"scripts": {
"start": "chokidar \"**/*.scss\" child-theme.json ../blockbase/theme.json -c \"npm run build\" --initial",
"build": "npm run build:theme && npm run build:scss",
"build:theme": "node ../blockbase/build.js payton",
"build:scss": "node-sass --importer node_modules/node-sass-package-importer/dist/cli.js sass/theme.scss assets/theme.css --output-style expanded --indent-type tab --indent-width 1 --source-map true"
},
"author": "",
"license": "GPLv2"
}

View file

@ -1,53 +0,0 @@
=== Payton ===
Contributors: Automattic
Requires at least: 5.8
Tested up to: 5.8
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Payton is a simple blogging theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles.
== Changelog ==
= 1.0 =
* Initial release
== Copyright ==
Payton WordPress Theme, (C) 2021 Automattic, Inc.
Payton 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.
Payton uses the following third-party resources:
Assorted Color Leaves by Evie Schaffer
Source: https://www.pexels.com/photo/assorted-color-leaves-2652346/
Included in theme screenshot.
Book, Coffee, and Hand Cream Flatlay by Vanesa Conunaese
Source: https://unsplash.com/photos/HoYkFpI8yd4
Included in theme screenshot.
Bath Accessories by Diana Akhmetianova
Source: https://unsplash.com/photos/pBBxMUCgwuU
Included in theme demo.
Green Goddess Pita by Alexandra Golovac
Source: https://unsplash.com/photos/MAbhhj3QCXQ
Included in theme demo.
Soap Product Photography by Visual Stories || Micheile
Source: https://unsplash.com/photos/2Cp7Tdu9t9U
Included in theme demo.

View file

@ -1,28 +0,0 @@
.wp-block-post-navigation-link {
color: var(--wp--custom--color--tertiary);
border-top: 2px solid;
display: flex;
padding-top: 1em;
}
.post-navigation-link-next {
flex-direction: row-reverse;
a {
margin-right: 0.5em;
}
}
.post-navigation-link-previous {
a {
margin-left: 0.5em;
}
}
.next-prev-links {
.wp-block-column,
.wp-block-column:not(:only-child) {
flex-basis: 40% !important; // This is needed to override the collapsing columns in Gutenberg
&:not(:first-child) {
margin-left: 20%;
}
}
}

View file

@ -1,7 +0,0 @@
.wp-block-separator {
border-width: 0 0 2px 0;
&.is-style-wide {
border-width: 0 0 2px 0;
}
}

View file

@ -1,5 +0,0 @@
/* Add some extra space if there's no post title present. */
.wp-block-post-date + .wp-block-group > .wp-block-post-featured-image,
.wp-block-post-date + .wp-block-group > .wp-block-post-excerpt {
margin-top: calc(2 * var( --wp--style--block-gap ));
}

View file

@ -1,11 +0,0 @@
.post-meta {
@include post-meta-with-separator('·');
align-items: center;
justify-content: center;
@include break-small-only() {
padding-top: 0 !important;
margin-bottom: -20px;
}
}

View file

@ -1,6 +0,0 @@
@import "../../blockbase/sass/base/breakpoints"; // Get the mobile-only media query and make it available to this theme's styles
@import "../../blockbase/sass/base/mixins";
@import "blocks/separator";
@import "blocks/post-navigation-link";
@import "templates/index";
@import "templates/meta";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

View file

@ -1,49 +0,0 @@
/*
Theme Name: Payton
Theme URI: https://github.com/automattic/themes/tree/trunk/payton
Author: Automattic
Author URI: https://automattic.com/
Description: Payton is a simple blogging theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles.
Requires at least: 5.8
Tested up to: 5.8
Requires PHP: 5.7
Version: 0.0.15
License: GNU General Public License v2 or later
License URI:
Template: blockbase
Text Domain: payton
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage
Payton WordPress Theme, (C) 2021 Automattic, Inc.
Payton 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.
Assorted Color Leaves by Evie Schaffer
Source: https://www.pexels.com/photo/assorted-color-leaves-2652346/
Included in theme screenshot.
Book, Coffee, and Hand Cream Flatlay by Vanesa Conunaese
Source: https://unsplash.com/photos/HoYkFpI8yd4
Included in theme screenshot.
Bath Accessories by Diana Akhmetianova
Source: https://unsplash.com/photos/pBBxMUCgwuU
Included in theme demo.
Green Goddess Pita by Alexandra Golovac
Source: https://unsplash.com/photos/MAbhhj3QCXQ
Included in theme demo.
Soap Product Photography by Visual Stories || Micheile
Source: https://unsplash.com/photos/2Cp7Tdu9t9U
Included in theme demo.
*/

View file

@ -1,167 +0,0 @@
{
"$schema": "https://json.schemastore.org/theme-v1.json",
"version": 1,
"settings": {
"color": {
"palette": [
{
"slug": "primary",
"color": "#111111",
"name": "Primary"
},
{
"slug": "secondary",
"color": "#557769",
"name": "Secondary"
},
{
"slug": "foreground",
"color": "#686868",
"name": "Foreground"
},
{
"slug": "background",
"color": "#ffffff",
"name": "Background"
},
{
"slug": "tertiary",
"color": "#d5e1dc",
"name": "Tertiary"
}
]
},
"custom": {
"separator": {
"margin": "var(--wp--custom--gap--vertical) auto"
}
},
"layout": {
"contentSize": "684px",
"wideSize": "1194px"
},
"typography": {
"customFontSize": true,
"customLineHeight": true,
"fontFamilies": [
{
"fontFamily": "\"Source Serif Pro\", serif",
"fontSlug": "source-serif-pro",
"slug": "body-font",
"name": "Source Serif Pro",
"google": "family=Source+Serif+Pro:ital,wght@0,400;0,700;1,400;1,700"
},
{
"fontFamily": "\"Overpass\", sans-serif",
"fontSlug": "overpass",
"slug": "heading-font",
"name": "Overpass",
"google": "family=Overpass:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700"
}
],
"fontSizes": [
{
"name": "Small",
"size": "16px",
"slug": "small"
},
{
"name": "Normal",
"size": "18px",
"slug": "normal"
},
{
"name": "Medium",
"size": "24px",
"slug": "medium"
},
{
"name": "Large",
"size": "28px",
"slug": "large"
},
{
"name": "Huge",
"size": "32px",
"slug": "huge"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"color": {
"background": "var(--wp--custom--button--color--background)",
"text": "var(--wp--custom--button--color--text)"
},
"typography": {
"fontSize": "var(--wp--custom--button--typography--font-size)",
"fontWeight": "var(--wp--custom--button--typography--font-weight)",
"textTransform": "uppercase"
}
},
"core/post-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)",
"lineHeight": 1.2
},
"color": {
"text": "var(--wp--custom--color--primary)"
},
"spacing": {
"margin": {
"bottom": "1em"
}
}
},
"core/pullquote": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)"
}
},
"core/site-title": {
"spacing": {
"margin": {
"bottom": "0"
}
}
}
},
"elements": {
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--huge)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h3": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h4": {
"typography": {
"fontSize": "var(--wp--preset--font-size--normal)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
}
},
"typography": {
"fontWeight": "400"
}
}
}