diff --git a/calyx/assets/images/pattern-food.jpeg b/calyx/assets/images/pattern-food.jpeg new file mode 100644 index 000000000..78f2946fa Binary files /dev/null and b/calyx/assets/images/pattern-food.jpeg differ diff --git a/calyx/index.php b/calyx/index.php new file mode 100644 index 000000000..b5b023f16 --- /dev/null +++ b/calyx/index.php @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/calyx/parts/header.html b/calyx/parts/header.html new file mode 100644 index 000000000..4fbeca2a5 --- /dev/null +++ b/calyx/parts/header.html @@ -0,0 +1,22 @@ + +
+
+
+ + +
+ +
+
+ + +
+
+ + + + + + + + diff --git a/calyx/patterns/404.php b/calyx/patterns/404.php new file mode 100644 index 000000000..629cf10bf --- /dev/null +++ b/calyx/patterns/404.php @@ -0,0 +1,16 @@ + + + +

+ + + +

+ diff --git a/calyx/patterns/coming-soon.php b/calyx/patterns/coming-soon.php new file mode 100644 index 000000000..69b63c382 --- /dev/null +++ b/calyx/patterns/coming-soon.php @@ -0,0 +1,55 @@ + + + +
+
+
+ + + + +
+
+ \ No newline at end of file diff --git a/calyx/patterns/footer.php b/calyx/patterns/footer.php new file mode 100644 index 000000000..2f329b1a2 --- /dev/null +++ b/calyx/patterns/footer.php @@ -0,0 +1,26 @@ + + + +
+ +
+ +

+ WordPress.com' + ); + ?> + +

+ +
+ \ No newline at end of file diff --git a/calyx/readme.txt b/calyx/readme.txt new file mode 100644 index 000000000..95d4fdfe8 --- /dev/null +++ b/calyx/readme.txt @@ -0,0 +1,38 @@ +=== Calyx === +Contributors: Automattic +Requires at least: 5.8 +Tested up to: 5.9 +Requires PHP: 5.7 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + +== Description == + +Calyx is a simple single-page theme that supports full-site editing. + +== Changelog == + += 1.0.0 = +* Initial release + +== Copyright == + +Calyx WordPress Theme, (C) 2022 Automattic +Calyx is distributed under the terms of the GNU GPL. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +This theme bundles the following third-party resources: + +Photo by Foodie Girl via StockSnap.io +https://stocksnap.io/photo/nature-food-AUVLL0XR1V + +Included in theme screenshot and in block patterns. \ No newline at end of file diff --git a/calyx/screenshot.png b/calyx/screenshot.png new file mode 100644 index 000000000..55c492049 Binary files /dev/null and b/calyx/screenshot.png differ diff --git a/calyx/style.css b/calyx/style.css new file mode 100644 index 000000000..ad940cdd0 --- /dev/null +++ b/calyx/style.css @@ -0,0 +1,28 @@ +/* +Theme Name: Calyx +Theme URI: +Author: Automattic +Author URI: https://automattic.com/ +Description: Calyx is a simple theme that supports full-site editing. +Requires at least: 5.7 +Tested up to: 5.9 +Requires PHP: 5.7 +Version: 0.0.11 +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: calyx +Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks, auto-loading-homepage + +Calyx WordPress Theme, (C) 2021 Automattic, Inc. +Calyx 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. +*/ \ No newline at end of file diff --git a/calyx/templates/404.html b/calyx/templates/404.html new file mode 100644 index 000000000..9d2c2e1c3 --- /dev/null +++ b/calyx/templates/404.html @@ -0,0 +1,12 @@ + + + +
+ + + + +
+ + + diff --git a/calyx/templates/home.html b/calyx/templates/home.html new file mode 100644 index 000000000..9ba9138b6 --- /dev/null +++ b/calyx/templates/home.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/calyx/templates/index.html b/calyx/templates/index.html new file mode 100644 index 000000000..6e36192fa --- /dev/null +++ b/calyx/templates/index.html @@ -0,0 +1,33 @@ + + + +
+ + +
+ + + + + + + +
+ + + +
+ + + + + + + +
+ +
+ + + + \ No newline at end of file diff --git a/calyx/theme.json b/calyx/theme.json new file mode 100644 index 000000000..b8025d049 --- /dev/null +++ b/calyx/theme.json @@ -0,0 +1,322 @@ +{ + "customTemplates": [ + { + "name": "blank", + "postTypes": [ + "page", + "post" + ], + "title": "Blank" + } + ], + "settings": { + "appearanceTools": true, + "color": { + "palette": [ + { + "color": "#fe9042", + "name": "Primary", + "slug": "primary" + }, + { + "color": "#fdfdfd", + "name": "Foreground", + "slug": "foreground" + }, + { + "color": "#13131e", + "name": "Background", + "slug": "background" + }, + { + "color": "#F0F0F0", + "name": "Tertiary", + "slug": "tertiary" + } + ] + }, + "custom": { + "gap": { + "horizontal": "min(30px, 5vw)", + "vertical": "min(30px, 5vw)" + } + }, + "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": "Small", + "size": "1rem", + "slug": "small" + }, + { + "name": "Medium", + "size": "1.5rem", + "slug": "medium" + }, + { + "name": "Large", + "size": "1.75rem", + "slug": "large" + }, + { + "name": "Extra Large", + "size": "2rem", + "slug": "x-large" + } + ] + } + }, + "styles": { + "blocks": { + "core/button": { + "border": { + "color": "var(--wp--custom--color--foreground)", + "radius": "0", + "width": "3px" + } + }, + "core/code": { + "border": { + "color": "#CCCCCC", + "radius": "0px", + "style": "solid", + "width": "2px" + }, + "spacing": { + "padding": { + "bottom": "var(--wp--custom--gap--vertical)", + "left": "var(--wp--custom--gap--horizontal)", + "right": "var(--wp--custom--gap--horizontal)", + "top": "var(--wp--custom--gap--vertical)" + } + }, + "typography": { + "fontFamily": "monospace" + } + }, + "core/comment-author-name": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/comment-content": { + "typography": { + "fontSize": "1.125rem", + "lineHeight": "1.6" + } + }, + "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": { + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--small)", + "textDecoration": "underline" + } + }, + "core/comments-title": { + "typography": { + "fontSize": "var(--wp--preset--font-size--large)" + } + }, + "core/gallery": { + "spacing": { + "margin": { + "bottom": "var(--wp--custom--gap--vertical)" + } + } + }, + "core/heading": { + "typography": { + "fontWeight": "400", + "lineHeight": "1.125" + } + }, + "core/list": { + "spacing": { + "padding": { + "left": "calc( 2 * var(--wp--custom--gap--horizontal) )" + } + } + }, + "core/navigation": { + "typography": { + "fontSize": "1.125rem" + } + }, + "core/post-date": { + "color": { + "text": "var(--wp--preset--color--foreground)" + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "core/post-title": { + "spacing": { + "margin": { + "bottom": "0" + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "lineHeight": "1.125" + } + }, + "core/pullquote": { + "border": { + "style": "solid", + "width": "1px 0" + }, + "spacing": { + "padding": { + "bottom": "var(--wp--custom--gap--horizontal)", + "left": "var(--wp--custom--gap--horizontal)", + "right": "var(--wp--custom--gap--horizontal)", + "top": "var(--wp--custom--gap--horizontal)" + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--large)", + "fontStyle": "italic" + } + }, + "core/quote": { + "border": { + "color": "var(--wp--preset--color--primary)", + "style": "solid", + "width": "0 0 0 1px" + }, + "spacing": { + "padding": { + "left": "var(--wp--custom--gap--horizontal)" + } + }, + "typography": { + "fontSize": "1.125rem", + "fontStyle": "normal" + } + }, + "core/search": { + "typography": { + "fontSize": "var(--wp--preset--font-size--medium)", + "lineHeight": "1.6" + } + }, + "core/separator": { + "border": { + "color": "currentColor", + "style": "solid", + "width": "0 0 1px 0" + }, + "color": { + "text": "var(--wp--preset--color--foreground)" + } + }, + "core/site-tagline": { + "typography": { + "fontSize": "0.825rem" + } + }, + "core/site-title": { + "typography": { + "fontSize": "1.125rem", + "fontWeight": "700", + "textDecoration": "none" + } + } + }, + "color": { + "background": "var:preset|color|background", + "text": "var(--wp--preset--color--foreground)" + }, + "elements": { + "h1": { + "typography": { + "fontSize": "3rem" + } + }, + "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": "1.125rem" + } + }, + "h6": { + "typography": { + "fontSize": "var(--wp--preset--font-size--small)" + } + }, + "link": { + "color": { + "text": "#fe9042" + } + } + }, + "spacing": { + "blockGap": "30px" + }, + "typography": { + "fontFamily": "var(--wp--preset--font-family--system-font)", + "fontSize": "1.125rem", + "lineHeight": "1.6" + } + }, + "templateParts": [ + { + "area": "header", + "name": "header" + }, + { + "area": "footer", + "name": "footer" + } + ], + "version": 2, + "$schema": "https://schemas.wp.org/wp/6.0/theme.json" +} \ No newline at end of file