Selaa lähdekoodia

Kerr (#4958)

* Kerr: Add screenshot image.

* Kerr: Add readme file.

* Kerr: Update style.css with theme info and image credits.

* Kerr: Update link and button color settings.

* Kerr: Update header spacing.

* bump wordpress version

Co-authored-by: Ben Dwyer <ben@scruffian.com>
alaczek 3 vuotta sitten
vanhempi
commit
8ae0bea662
6 muutettua tiedostoa jossa 132 lisäystä ja 17 poistoa
  1. 2 2
      kerr/block-template-parts/header.html
  2. 4 4
      kerr/child-theme.json
  3. 69 0
      kerr/readme.txt
  4. BIN
      kerr/screenshot.jpg
  5. 53 7
      kerr/style.css
  6. 4 4
      kerr/theme.json

+ 2 - 2
kerr/block-template-parts/header.html

@@ -1,5 +1,5 @@
-<!-- wp:group {"className":"site-header","layout":{"type":"flex"},"style":{"spacing":{"padding":{"bottom":"40px"}}}} -->
-<div class="wp-block-group site-header" style="padding-bottom:40px">
+<!-- wp:group {"className":"site-header","layout":{"type":"flex"}} -->
+<div class="wp-block-group site-header">
 	<!-- wp:site-logo /-->
 
 	<!-- wp:group -->

+ 4 - 4
kerr/child-theme.json

@@ -49,7 +49,7 @@
 					"width": "3px"
 				},
 				"color": {
-					"background": "var(--wp--custom--color--foreground)",
+					"background": "var(--wp--custom--color--secondary)",
 					"text": "var(--wp--custom--color--background)"
 				},
 				"hover": {
@@ -67,10 +67,10 @@
 				}
 			},
 			"color": {
-				"foreground": "var(--wp--preset--color--primary)",
+				"foreground": "var(--wp--preset--color--foreground)",
 				"background": "var(--wp--preset--color--background)",
 				"primary": "var(--wp--preset--color--primary)",
-				"secondary": "var(--wp--preset--color--primary)",
+				"secondary": "var(--wp--preset--color--secondary)",
 				"tertiary": "var(--wp--preset--color--tertiary)"
 			},
 			"colorPalettes": [
@@ -354,7 +354,7 @@
 			},
 			"link": {
 				"color": {
-					"text": "var(--wp--custom--color--foreground)"
+					"text": "var(--wp--custom--color--primary)"
 				}
 			}
 		},

+ 69 - 0
kerr/readme.txt

@@ -0,0 +1,69 @@
+=== Kerr ===
+Contributors: Automattic
+Requires at least: 5.8
+Tested up to: 5.8
+Requires PHP: 5.6.2
+License: GPLv2 or later
+License URI: http://www.gnu.org/licenses/gpl-2.0.html
+
+== Description ==
+
+Kerr is a simple blogging theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles.
+
+== About Kerr ==
+
+For more information see our README.md file.
+
+== Changelog ==
+
+= 1.0 =
+* Initial release
+
+== Copyright ==
+
+Kerr WordPress Theme, (C) 2021 Automattic, Inc.
+Kerr 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.
+
+Kerr uses the following third-party resources:
+
+Merengue Tart by Alex Lvrs
+Source: https://unsplash.com/photos/aX_ljOOyWJY
+Included in theme screenshot.
+
+White Cake on a Ceramic Plate Cake by Polina Tankilevitch
+Source: https://www.pexels.com/photo/photo-of-white-cake-on-ceramic-plate-4110004/
+Included in theme screenshot.
+
+Christmas Cookie Collection by Cristina Ilao
+Source: https://unsplash.com/photos/ulBIGRULKpc
+Included in theme screenshot.
+
+Chocolate Cupcakes by Eiliv-Sonas Aceron
+Source: https://unsplash.com/photos/syeF6RIcHpE
+Included in theme demo site.
+
+Blackberry Cake by Heather Barnes
+Source: https://unsplash.com/photos/_TN1m5R1pFI
+Included in theme demo site.
+
+Crepes With Oranges and Honey by Monika Grabkowska
+Source: https://unsplash.com/photos/jsgJtBOR6jY
+Included in theme demo site.
+
+French Macarons by Heather Barnes
+Source: https://unsplash.com/photos/6eHegE5M_ag
+Included in theme demo site.
+
+Woman Holding Lemons by Alesia Kozik
+Source: https://www.pexels.com/photo/smiling-woman-in-gray-coat-holding-yellow-fruit-7342195/
+Included in theme demo site.

BIN
kerr/screenshot.jpg


+ 53 - 7
kerr/style.css

@@ -1,17 +1,63 @@
 /*
-Theme Name: kerr
-Theme URI:
-Author:
-Author URI:
-Description:
+Theme Name: Kerr
+Theme URI:  https://github.com/automattic/themes/tree/trunk/kerr
+Author: Automattic
+Author URI: https://automattic.com/
+Description: Kerr is a simple blogging theme that supports full-site editing. It comes with a set of minimal templates and design settings that can be manipulated through Global Styles.
 Requires at least: 5.7
 Tested up to: 5.7
 Requires PHP: 5.7
 Version: 0.0.3
 License: GNU General Public License v2 or later
-License URI:
+License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
 Template: blockbase
 Text Domain: kerr
-Tags:
+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
 
+Kerr WordPress Theme, (C) 2021 Automattic, Inc.
+Kerr 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.
+
+Kerr uses the following third-party resources:
+
+Meringue Tart by Alex Lvrs
+Source: https://unsplash.com/photos/aX_ljOOyWJY
+Included in theme screenshot.
+
+White Cake on a Ceramic Plate Cake by Polina Tankilevitch
+Source: https://www.pexels.com/photo/photo-of-white-cake-on-ceramic-plate-4110004/
+Included in theme screenshot.
+
+Christmas Cookie Collection by Cristina Ilao
+Source: https://unsplash.com/photos/ulBIGRULKpc
+Included in theme screenshot.
+
+Chocolate Cupcakes by Eiliv-Sonas Aceron
+Source: https://unsplash.com/photos/syeF6RIcHpE
+Included in theme demo site.
+
+Blackberry Cake by Heather Barnes
+Source: https://unsplash.com/photos/_TN1m5R1pFI
+Included in theme demo site.
+
+Crepes With Oranges and Honey by Monika Grabkowska
+Source: https://unsplash.com/photos/jsgJtBOR6jY
+Included in theme demo site.
+
+French Macarons by Heather Barnes
+Source: https://unsplash.com/photos/6eHegE5M_ag
+Included in theme demo site.
+
+Woman Holding Lemons by Alesia Kozik
+Source: https://www.pexels.com/photo/smiling-woman-in-gray-coat-holding-yellow-fruit-7342195/
+Included in theme demo site.
 */

+ 4 - 4
kerr/theme.json

@@ -85,7 +85,7 @@
 					"width": "3px"
 				},
 				"color": {
-					"background": "var(--wp--custom--color--foreground)",
+					"background": "var(--wp--custom--color--secondary)",
 					"text": "var(--wp--custom--color--background)"
 				},
 				"hover": {
@@ -112,10 +112,10 @@
 				}
 			},
 			"color": {
-				"foreground": "var(--wp--preset--color--primary)",
+				"foreground": "var(--wp--preset--color--foreground)",
 				"background": "var(--wp--preset--color--background)",
 				"primary": "var(--wp--preset--color--primary)",
-				"secondary": "var(--wp--preset--color--primary)",
+				"secondary": "var(--wp--preset--color--secondary)",
 				"tertiary": "var(--wp--preset--color--tertiary)"
 			},
 			"colorPalettes": [
@@ -620,7 +620,7 @@
 			},
 			"link": {
 				"color": {
-					"text": "var(--wp--custom--color--foreground)"
+					"text": "var(--wp--custom--color--primary)"
 				}
 			}
 		},