瀏覽代碼

Marl: Initial commit. (#5561)

* Marl: Initial commit.

* Moved header customization from templates to header template part.

* Raised WP version from 5.8 to 5.9

* Raised WP version from 5.8 to 5.9

* Corrected template parts folder to 'parts'

* Update marl/readme.txt

Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
alaczek 3 年之前
父節點
當前提交
7678d47bd1
共有 6 個文件被更改,包括 112 次插入0 次删除
  1. 0 0
      marl/assets/theme.css
  2. 1 0
      marl/parts/header.html
  3. 41 0
      marl/readme.txt
  4. 二進制
      marl/screenshot.png
  5. 16 0
      marl/style.css
  6. 54 0
      marl/theme.json

+ 0 - 0
marl/assets/theme.css


+ 1 - 0
marl/parts/header.html

@@ -0,0 +1 @@
+<!-- wp:pattern {"slug":"blockbase/header-rounded-logo"} /-->

+ 41 - 0
marl/readme.txt

@@ -0,0 +1,41 @@
+=== Marl ===
+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 ==
+
+Marl is a minimal, product-oriented theme.
+
+== Changelog ==
+
+= 1.0.0 =
+* Initial release
+
+== Copyright ==
+
+Marl WordPress Theme, (C) 2022 Automattic
+Marl 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.
+
+Marl uses the following third-party resources:
+
+Cermic dinnerware photography by Toa Heftiba.
+* https://unsplash.com/photos/yN33yGmulWE
+* https://unsplash.com/photos/Nru6O8KG8Uw
+* https://unsplash.com/photos/sHgXu7DWUX4
+* https://unsplash.com/photos/SrvMNmQ_T-Q
+Used in theme screenshot and demo site.
+

二進制
marl/screenshot.png


+ 16 - 0
marl/style.css

@@ -0,0 +1,16 @@
+/*
+Theme Name: Marl
+Theme URI: https://wordpress.com/theme/marl
+Author: Automattic
+Author URI: https://automattic.com/
+Description: Marl is a minimal, product-oriented theme.
+Requires at least: 5.9
+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: marl
+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
+*/

+ 54 - 0
marl/theme.json

@@ -0,0 +1,54 @@
+{
+    "version": 2,
+    "settings": {
+        "color": {
+            "palette": [
+                {
+                    "slug": "foreground",
+                    "color": "#14453d",
+                    "name": "Foreground",
+                    "default": "#333333"
+                },
+                {
+                    "slug": "background",
+                    "color": "#fcf9f4",
+                    "name": "Background",
+                    "default": "#ffffff"
+                },
+                {
+                    "slug": "tertiary",
+                    "color": "#ECECE7",
+                    "name": "Tertiary",
+                    "default": "#ECECE7"
+                }
+            ]
+        },
+        "typography": {
+            "fontFamilies": [
+                {
+                    "fontFamily": "\"Fira Sans\", sans-serif",
+                    "slug": "body-font",
+                    "name": "Body (Fira Sans)",
+                    "google": "family=Fira+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700",
+                    "fontSlug": "fira-sans"
+                },
+                {
+                    "fontFamily": "\"EB Garamond\", serif",
+                    "slug": "heading-font",
+                    "name": "Heading (EB Garamond)",
+                    "google": "family=EB+Garamond:ital,wght@0,400..800;1,400..800",
+                    "fontSlug": "eb-garamond"
+                }
+            ]
+        },
+        "custom": {
+            "color": {
+                "foreground": "var(--wp--preset--color--foreground)",
+                "background": "var(--wp--preset--color--background)",
+                "primary": "var(--wp--preset--color--foreground)",
+                "secondary": "var(--wp--preset--color--foreground)",
+                "tertiary": "var(--wp--preset--color--tertiary)"
+            }
+        }
+    }
+}