Skip to content

Commit

Permalink
Install theme: stacks.
Browse files Browse the repository at this point in the history
Name: Stacks
Version: 0.0.3

See #3290.
  • Loading branch information
boonebgorges committed Dec 28, 2023
1 parent 7088fa8 commit 00d50ec
Show file tree
Hide file tree
Showing 8 changed files with 255 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wp-content/themes/stacks/CREDITS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CREDITS

- Desiged and built by [Saxon Fletcher](https://github.com/SaxonF) with support from [Ben Dwyer](https://github.com/scruffian).

- Contributors: Saxon Fletcher, Ben Dwyer.
72 changes: 72 additions & 0 deletions wp-content/themes/stacks/patterns/stacks.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?php
/**
* Title: Stacks
* Slug: stacks/stacks
* Block Types: core/post-content
* Categories: featured
*/
?>

<!-- wp:group {"style":{"dimensions":{"minHeight":"100vh"},"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"var:preset|spacing|70","right":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"var:preset|spacing|70"}},"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"25px","bottomRight":"25px"}}},"backgroundColor":"primary","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"top","justifyContent":"left"}} -->
<div class="wp-block-group has-primary-background-color has-background" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:25px;border-bottom-right-radius:25px;min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)"><!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":1,"fontSize":"xxl"} -->
<h1 class="wp-block-heading has-xxl-font-size"><?php echo esc_html__( 'This is a Stack', 'stacks' ); ?></h1>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"dimensions":{"minHeight":"100vh"},"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"var:preset|spacing|70","right":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"var:preset|spacing|70"}},"border":{"radius":"25px"}},"backgroundColor":"secondary","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"top","justifyContent":"left"}} -->
<div class="wp-block-group has-secondary-background-color has-background" style="border-radius:25px;min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)"><!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:heading {"fontSize":"x-large"} -->
<h2 class="wp-block-heading has-x-large-font-size"><?php echo esc_html__( 'A pattern to tell compelling stories in a simple way', 'stacks' ); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"dimensions":{"minHeight":"100vh"},"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"var:preset|spacing|70","right":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"var:preset|spacing|70"}},"border":{"radius":"25px"}},"backgroundColor":"tertiary","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"top","justifyContent":"left"}} -->
<div class="wp-block-group has-tertiary-background-color has-background" style="border-radius:25px;min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)"><!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:heading {"fontSize":"x-large"} -->
<h2 class="wp-block-heading has-x-large-font-size"><?php echo esc_html__( 'Create sites that feel like presentation decks.', 'stacks' ); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"dimensions":{"minHeight":"100vh"},"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"var:preset|spacing|70","right":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"var:preset|spacing|70"}},"border":{"radius":"25px"}},"backgroundColor":"primary","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"top","justifyContent":"left"}} -->
<div class="wp-block-group has-primary-background-color has-background" style="border-radius:25px;min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)"><!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:heading {"fontSize":"x-large"} -->
<h2 class="wp-block-heading has-x-large-font-size"><?php echo esc_html__( 'They are easy to follow and lead to a clear call to action.', 'stacks' ); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"dimensions":{"minHeight":"100vh"},"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"var:preset|spacing|70","right":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"var:preset|spacing|70"}},"border":{"radius":{"topLeft":"25px","topRight":"25px","bottomLeft":"0px","bottomRight":"0px"}}},"backgroundColor":"contrast","textColor":"base","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"top","justifyContent":"left"}} -->
<div class="wp-block-group has-base-color has-contrast-background-color has-text-color has-background" style="border-top-left-radius:25px;border-top-right-radius:25px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;min-height:100vh;padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70)"><!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:heading {"textColor":"base","fontSize":"x-large"} -->
<h2 class="wp-block-heading has-base-color has-text-color has-x-large-font-size"><?php echo esc_html__( 'Create your own Stack', 'stacks' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"fontSize":"md"} -->
<p class="has-md-font-size"><?php echo esc_html__( 'Download and activate the theme, insert the Stack pattern, and create as many slides as you want.', 'stacks' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"base","textColor":"contrast"} -->
<div class="wp-block-button"><a class="wp-block-button__link has-contrast-color has-base-background-color has-text-color has-background wp-element-button" href="https://wordpress.org/theme/stacks"><?php echo esc_html__( 'Download theme', 'stacks' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons -->

<!-- wp:paragraph {"fontSize":"sm","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}}}} -->
<p class="has-sm-font-size has-link-color"><?php echo esc_html__( 'Proudly Powered by ', 'stacks' ); ?><a rel="nofollow" href="https://wordpress.org"><?php echo esc_html__( 'WordPress', 'stacks' ); ?></a><?php echo esc_html__( '.', 'stacks' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
31 changes: 31 additions & 0 deletions wp-content/themes/stacks/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
=== Stacks ===
Contributors: wordpressdotorg
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

== Description ==

Stack your story. This theme is designed specifically to create slide decks that can be used as a presentation. The "Stacks" pattern can be included on any page or post.

== Changelog ==

= 0.0.3 =
* Initial release

== Copyright ==

Stacks WordPress Theme.
Stacks 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.
Binary file added wp-content/themes/stacks/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions wp-content/themes/stacks/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
Theme Name: Stacks
Theme URI: https://github.com/WordPress/community-themes/tree/trunk/stacks
Author: wordpressdotorg
Author URI: https://wordpress.org/themes/author/wordpressdotorg/
Description: Stack your story. This theme is designed specifically to create slide decks that can be used as a presentation. The "Stacks" pattern can be included on any page or post.
Requires at least: 6.2
Tested up to: 6.2
Requires PHP: 5.7
Version: 0.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stacks
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
*/
1 change: 1 addition & 0 deletions wp-content/themes/stacks/templates/front-page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:pattern {"slug":"stacks/stacks"} /-->
1 change: 1 addition & 0 deletions wp-content/themes/stacks/templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!-- wp:post-content /-->
130 changes: 130 additions & 0 deletions wp-content/themes/stacks/theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"settings": {
"appearanceTools": true,
"color": {
"palette": [
{
"color": "#f6f6f6",
"name": "Base",
"slug": "base"
},
{
"color": "#000000",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ECC76A",
"name": "Primary",
"slug": "primary"
},
{
"color": "#B58ECD",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#AACD8E",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "620px",
"wideSize": "1000px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
}
],
"fontSizes": [
{
"name": "sm",
"size": "1rem",
"slug": "sm"
},
{
"name": "md",
"size": "1.333rem",
"slug": "md"
},
{
"name": "lg",
"size": "2.369rem",
"slug": "lg"
},
{
"name": "xl",
"size": "3.157rem",
"slug": "xl"
},
{
"name": "xxl",
"size": "4.209rem",
"slug": "xxl"
}
]
}
},
"styles": {
"color": {
"background": "var:preset|color|base",
"text": "var:preset|color|contrast"
},
"elements": {
"button": {
"color": {
"background": "var:preset|color|contrast",
"text": "var:preset|color|base"
}
},
"h1": {
"typography": {
"fontSize": "var:preset|font-size|xxl",
"lineHeight": 1
}
},
"h2": {
"typography": {
"fontSize": "var:preset|font-size|xxl",
"lineHeight": 1.2
}
},
"heading": {
"color": {
"text": "#000000"
},
"typography": {
"fontFamily": "var:preset|font-family|system-font"
}
},
"link": {
"color": {
"text": "var:preset|color|contrast"
}
}
},
"typography": {
"fontFamily": "var:preset|font-family|system-font",
"fontSize": "var:preset|font-size|md",
"lineHeight": "1.4"
}
},
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

0 comments on commit 00d50ec

Please sign in to comment.