ソースを参照

Attar: Initial commit. (#5560)

* Attar: Initial commit.

* Updated WP versions

* Moved header customizations from templates to parts

* Update attar/readme.txt

Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
alaczek 3 年 前
コミット
3c76470062
6 ファイル変更104 行追加0 行削除
  1. 0 0
      attar/assets/theme.css
  2. 1 0
      attar/parts/header.html
  3. 39 0
      attar/readme.txt
  4. BIN
      attar/screenshot.png
  5. 16 0
      attar/style.css
  6. 48 0
      attar/theme.json

+ 0 - 0
attar/assets/theme.css


+ 1 - 0
attar/parts/header.html

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

+ 39 - 0
attar/readme.txt

@@ -0,0 +1,39 @@
+=== Attar ===
+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 ==
+
+Attar is a minimal, product-oriented theme.
+
+== Changelog ==
+
+= 1.0.0 =
+* Initial release
+
+== Copyright ==
+
+Attar WordPress Theme, (C) 2021 Automattic
+Attar 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.
+
+
+Attar uses the following third-party resources:
+
+Cosmetic bottle with pink rose by Karolina Grabowska.
+* https://www.pexels.com/photo/set-of-cosmetic-bottle-with-pink-rose-on-wooden-plate-4041391/
+* https://www.pexels.com/photo/composition-of-cosmetic-bottle-with-pink-rose-petals-and-wooden-plate-4041392/
+Used in theme screenshot and demo site.

BIN
attar/screenshot.png


+ 16 - 0
attar/style.css

@@ -0,0 +1,16 @@
+/*
+Theme Name: Attar
+Theme URI: https://wordpress.com/theme/attar
+Author: Automattic
+Author URI: https://automattic.com/
+Description: Attar 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: attar
+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
+*/

+ 48 - 0
attar/theme.json

@@ -0,0 +1,48 @@
+{
+    "version": 2,
+    "settings": {
+        "color": {
+            "palette": [
+                {
+                    "slug": "foreground",
+                    "color": "#000000",
+                    "name": "Foreground",
+                    "default": "#000000"
+                },
+                {
+                    "slug": "background",
+                    "color": "#ffffff",
+                    "name": "Background",
+                    "default": "#ffffff"
+                }
+            ]
+        },
+        "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"
+                }
+            ]
+        },
+        "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--background)"
+            }
+        }
+    }
+}