Selaa lähdekoodia

Hari: Initial commit. (#5559)

* Hari: Initial commit.

* Moved header customizations from templates to parts

* Updated WP versions

* Update hari/readme.txt

Co-authored-by: Jason Crist <jcrist@pbking.com>
Co-authored-by: Ben Dwyer <ben@scruffian.com>
alaczek 3 vuotta sitten
vanhempi
commit
dd0debc2e0
6 muutettua tiedostoa jossa 120 lisäystä ja 0 poistoa
  1. 0 0
      hari/assets/theme.css
  2. 1 0
      hari/parts/header.html
  3. 43 0
      hari/readme.txt
  4. BIN
      hari/screenshot.png
  5. 16 0
      hari/style.css
  6. 60 0
      hari/theme.json

+ 0 - 0
hari/assets/theme.css


+ 1 - 0
hari/parts/header.html

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

+ 43 - 0
hari/readme.txt

@@ -0,0 +1,43 @@
+=== Hari ===
+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 ==
+
+Hari is a minimalist, product-oriented theme.
+
+== Changelog ==
+
+= 1.0.0 =
+* Initial release
+
+== Copyright ==
+
+Hari WordPress Theme, (C) 2021 Automattic
+Hari 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.
+
+Hari uses the following third-party resources:
+
+Woman practicing yoga by Elina Fairytale
+https://www.pexels.com/photo/women-practicing-yoga-3822164/
+Used in theme screenshot and demo site.
+
+Yoga Mat photos by LUNA ACTIVE FITNESS
+* https://unsplash.com/photos/aI5hK6sTbdo
+* https://unsplash.com/photos/zumRc5gomNo
+* https://unsplash.com/photos/UUzdSJTKAAA
+Used in theme demo site.

BIN
hari/screenshot.png


+ 16 - 0
hari/style.css

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

+ 60 - 0
hari/theme.json

@@ -0,0 +1,60 @@
+{
+    "version": 2,
+    "settings": {
+        "color": {
+            "palette": [
+                {
+                    "slug": "primary",
+                    "color": "#702B3D",
+                    "name": "Primary",
+                    "default": "#702B3D"
+                },
+                {
+                    "slug": "foreground",
+                    "color": "#1f2421",
+                    "name": "Foreground",
+                    "default": "#000000"
+                },
+                {
+                    "slug": "background",
+                    "color": "#fcf2f0",
+                    "name": "Background",
+                    "default": "#ffffff"
+                },
+                {
+                    "slug": "tertiary",
+                    "color": "#f2e4e3",
+                    "name": "Tertiary",
+                    "default": "#F0F0F0"
+                }
+            ]
+        },
+        "typography": {
+            "fontFamilies": [
+                {
+                    "fontFamily": "\"Source Sans Pro\", sans-serif",
+                    "slug": "body-font",
+                    "name": "Body (Source Sans Pro)",
+                    "google": "family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900",
+                    "fontSlug": "source-sans-pro"
+                },
+                {
+                    "fontFamily": "\"Bodoni Moda\", serif",
+                    "slug": "heading-font",
+                    "name": "Heading (Bodoni Moda)",
+                    "google": "family=Bodoni+Moda:ital,wght@0,400..900;1,400..900",
+                    "fontSlug": "bodoni-moda"
+                }
+            ]
+        },
+        "custom": {
+            "color": {
+                "foreground": "var(--wp--preset--color--foreground)",
+                "background": "var(--wp--preset--color--background)",
+                "primary": "var(--wp--preset--color--primary)",
+                "secondary": "var(--wp--preset--color--primary)",
+                "tertiary": "var(--wp--preset--color--tertiary)"
+            }
+        }
+    }
+}