Pārlūkot izejas kodu

Antonia - Initial Commit (#6029)

* Antonia - Initial Commit
Onur Oztaskiran 3 gadi atpakaļ
vecāks
revīzija
be03f11104

+ 1 - 0
antonia/parts/footer.html

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

+ 17 - 0
antonia/parts/header.html

@@ -0,0 +1,17 @@
+<!-- wp:group {"className":"gapless-group","layout":{"inherit":"true"}} -->
+<div class="wp-block-group gapless-group"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var(--wp--custom--gap--vertical)","top":"var(--wp--custom--gap--vertical)"}}},"className":"site-header","layout":{"type":"flex","justifyContent":"space-between"}} -->
+<div class="wp-block-group alignwide site-header" style="padding-top:var(--wp--custom--gap--vertical);padding-bottom:var(--wp--custom--gap--vertical)"><!-- wp:group {"className":"site-brand","layout":{"type":"flex"}} -->
+<div class="wp-block-group site-brand"><!-- wp:site-logo {"width":64} /-->
+
+<!-- wp:group -->
+<div class="wp-block-group"><!-- wp:site-title {"style":{"typography":{"textTransform":"uppercase"}}} /--></div>
+<!-- /wp:group --></div>
+<!-- /wp:group -->
+
+<!-- wp:navigation {"overlayMenu":"always","__unstableLocation":"primary","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal","flexWrap":"wrap"},"style":{"spacing":{"margin":{"top":"0"}}}} /--></div>
+<!-- /wp:group --></div>
+<!-- /wp:group -->
+
+<!-- wp:spacer {"height":"50px"} -->
+<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->

+ 46 - 0
antonia/patterns/footer-default.php

@@ -0,0 +1,46 @@
+<?php
+/**
+ * Title: Default footer block pattern
+ * Slug: antonia/footer-default
+ * Categories: footer
+ * Block Types: core/template-part/footer
+ */
+?>
+<!-- wp:group {"layout":{"inherit":true}} -->
+<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"60px","bottom":"80px"},"margin":{"top":"60px"}},"border":{"top":{"color":"#eaeaec","width":"1px"}}},"layout":{"contentSize":"1200px"}} -->
+<div class="wp-block-group alignfull" style="border-top-color:#eaeaec;border-top-width:1px;margin-top:60px;padding-top:60px;padding-bottom:80px"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":"80px"}}} -->
+<div class="wp-block-columns alignwide"><!-- wp:column -->
+<div class="wp-block-column"><!-- wp:site-title {"style":{"typography":{"textTransform":"uppercase"}}} /-->
+
+<!-- wp:paragraph -->
+<p><?php echo esc_html__('Engineers of the smart furniture that enables comfort and innovation.', 'antonia'); ?></p>
+<!-- /wp:paragraph --></div>
+<!-- /wp:column -->
+
+<!-- wp:column -->
+<div class="wp-block-column"><!-- wp:paragraph {"style":{"color":{"text":"#aaaaaa"},"typography":{"textTransform":"uppercase","fontSize":"14px"}}} -->
+<p class="has-text-color" style="color:#aaaaaa;font-size:14px;text-transform:uppercase"><?php echo esc_html__('Address.', 'antonia'); ?></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:paragraph -->
+<p><?php echo sprintf( '%1$s<br>%2$s', esc_html( '123 Example St,', 'antonia' ), esc_html( 'CA 12345-6789', 'antonia' ) ); ?></p>
+<!-- /wp:paragraph -->
+</div>
+<!-- /wp:column -->
+
+<!-- wp:column -->
+<div class="wp-block-column"><!-- wp:paragraph {"style":{"color":{"text":"#aaaaaa"},"typography":{"textTransform":"uppercase","fontSize":"14px"}}} -->
+<p class="has-text-color" style="color:#aaaaaa;font-size:14px;text-transform:uppercase"><?php echo esc_html__('Find Us in Social Media', 'antonia'); ?></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:social-links {"iconColor":"tertiary","iconColorValue":"#090e0e","size":"has-normal-icon-size","className":"is-style-logos-only"} -->
+<ul class="wp-block-social-links has-normal-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"https://www.instagram.com/","service":"instagram"} /-->
+
+<!-- wp:social-link {"url":"https://facebook.com/","service":"facebook"} /-->
+
+<!-- wp:social-link {"url":"https://twitter.com/","service":"twitter"} /--></ul>
+<!-- /wp:social-links --></div>
+<!-- /wp:column --></div>
+<!-- /wp:columns --></div>
+<!-- /wp:group --></div>
+<!-- /wp:group -->

+ 37 - 0
antonia/readme.txt

@@ -0,0 +1,37 @@
+=== Antonia ===
+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 ==
+
+Antonia is a theme for selling products with the help of payments block.
+
+== Changelog ==
+
+= 0.0.1 =
+* Initial release
+
+== Copyright ==
+
+Antonia WordPress Theme, (C) 2022 Automattic
+Antonia 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.
+
+Antonia uses the following third-party resources:
+
+Office Furniture by Scopic LTD:
+https://unsplash.com/photos/NLlWwR4d3qU
+https://unsplash.com/photos/Q2e2pLmUBjM

BIN
antonia/screenshot.png


+ 16 - 0
antonia/style.css

@@ -0,0 +1,16 @@
+/*
+Theme Name: Antonia
+Theme URI: https://github.com/automattic/themes/tree/trunk/antonia
+Author: Automattic
+Author URI: https://automattic.com
+Description: Antonia is a theme for selling products with the help of payments block.
+Requires at least: 5.8
+Tested up to: 5.9
+Requires PHP: 5.7
+Version: 0.0.1
+License: GNU General Public License v2 or later
+License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
+Template: blockbase
+Text Domain: antonia
+Tags: auto-loading-homepage, 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
+*/

+ 92 - 0
antonia/theme.json

@@ -0,0 +1,92 @@
+{
+	"version": 1,
+	"styles": {
+		"elements": {
+			"link": {
+				"color": {
+					"text": "var:preset|color|primary"
+				}
+			}
+		},
+		"blocks": {
+			"core/heading": {
+				"typography": {
+					"fontStyle": "normal",
+					"lineHeight": "1.4",
+					"fontWeight": "300"
+				}
+			},
+			"core/post-title": {
+				"typography": {
+					"lineHeight": "1.4"
+				}
+			},
+			"core/site-title": {
+				"typography": {
+					"letterSpacing": "4px"
+				}
+			}
+		},
+		"typography": {
+			"fontStyle": "normal",
+			"fontWeight": "400",
+			"fontSize": "var:preset|font-size|small"
+		},
+		"spacing": {
+			"blockGap": "1.5rem"
+		}
+	},
+	"settings": {
+		"layout": {
+			"contentSize": "840px",
+			"wideSize": "1200px"
+		},
+		"color": {
+			"palette": [
+				{
+					"slug": "primary",
+					"color": "#090E0E",
+					"name": "Primary"
+				},
+				{
+					"slug": "secondary",
+					"color": "#81E4DA",
+					"name": "Secondary"
+				},
+				{
+					"slug": "foreground",
+					"color": "#464E4D",
+					"name": "Foreground"
+				},
+				{
+					"slug": "background",
+					"color": "#ffffff",
+					"name": "Background"
+				},
+				{
+					"slug": "tertiary",
+					"color": "#F0F0F0",
+					"name": "Tertiary"
+				}
+			]
+		},
+		"typography": {
+			"fontFamilies": [
+				{
+					"fontFamily": "\"Inter\", sans-serif",
+					"slug": "body-font",
+					"name": "Body (Inter)",
+					"google": "family=Inter:wght@100..900",
+					"fontSlug": "inter"
+				},
+				{
+					"fontFamily": "\"DM Sans\", sans-serif",
+					"slug": "heading-font",
+					"name": "Heading (DM Sans)",
+					"google": "family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700",
+					"fontSlug": "dm-sans"
+				}
+			]
+		}
+	}
+}