Browse Source

Dorna: Initial commit. (#5570)

* Dorna: Initial commit.

* moved block styles to correct position on theme.json

Co-authored-by: Maggie <maggie.cabrera@automattic.com>
alaczek 3 years ago
parent
commit
7ac93ab238
6 changed files with 122 additions and 0 deletions
  1. 0 0
      dorna/assets/theme.css
  2. 1 0
      dorna/parts/header.html
  3. 39 0
      dorna/readme.txt
  4. BIN
      dorna/screenshot.png
  5. 16 0
      dorna/style.css
  6. 66 0
      dorna/theme.json

+ 0 - 0
dorna/assets/theme.css


+ 1 - 0
dorna/parts/header.html

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

+ 39 - 0
dorna/readme.txt

@@ -0,0 +1,39 @@
+=== Dorna ===
+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 ==
+
+Dorna is a minimal, product-oriented theme.
+
+== Changelog ==
+
+= 1.0.0 =
+* Initial release
+
+== Copyright ==
+
+Dorna WordPress Theme, (C) 2022 Automattic
+Dorna 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.
+
+Dorna uses the following third-party resources:
+
+Still life photography by Karolina Grabowska.
+* https://www.pexels.com/photo/wood-winter-luxury-blur-6958752/
+* https://www.pexels.com/photo/wood-light-art-winter-6958760/
+* https://www.pexels.com/photo/love-coffee-internet-technology-6958766/
+Used in theme screenshot and demo site.

BIN
dorna/screenshot.png


+ 16 - 0
dorna/style.css

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

+ 66 - 0
dorna/theme.json

@@ -0,0 +1,66 @@
+{
+    "version": 2,
+    "settings": {
+        "color": {
+            "palette": [
+                {
+                    "slug": "primary",
+                    "color": "#ba9521",
+                    "name": "Primary",
+                    "default": "#007cba"
+                },
+                {
+                    "slug": "secondary",
+                    "color": "#555555",
+                    "name": "Secondary",
+                    "default": "#555555"
+                },
+                {
+                    "slug": "foreground",
+                    "color": "#222222",
+                    "name": "Foreground",
+                    "default": "#333333"
+                },
+                {
+                    "slug": "background",
+                    "color": "#ffffff",
+                    "name": "Background",
+                    "default": "#ffffff"
+                },
+                {
+                    "slug": "tertiary",
+                    "color": "#f0f0f0",
+                    "name": "Tertiary",
+                    "default": "#F0F0F0"
+                }
+            ]
+        },
+        "typography": {
+            "fontFamilies": [
+                {
+                    "fontFamily": "\"Lora\", serif",
+                    "slug": "body-font",
+                    "name": "Body (Lora)",
+                    "google": "family=Lora:ital,wght@0,400..700;1,400..700",
+                    "fontSlug": "lora"
+                },
+                {
+                    "fontFamily": "\"Playfair Display\", serif",
+                    "slug": "heading-font",
+                    "name": "Heading (Playfair Display)",
+                    "google": "family=Playfair+Display:ital,wght@0,400..900;1,400..900",
+                    "fontSlug": "playfair-display"
+                }
+            ]
+        }
+    },
+    "styles": {
+        "blocks": {
+            "core/paragraph": {
+                "color": {
+                    "text": "var(--wp--preset--color--secondary)"
+                }
+            }
+        }
+    }
+}