diff --git a/covr/parts/header.html b/covr/parts/header.html index 1f84caf587..44ab5c9742 100644 --- a/covr/parts/header.html +++ b/covr/parts/header.html @@ -1,13 +1,11 @@ - -
-
-
+ +
+
-
-
+
-
+
\ No newline at end of file diff --git a/covr/patterns/archive.php b/covr/patterns/archive.php new file mode 100644 index 0000000000..1eeeb59a9f --- /dev/null +++ b/covr/patterns/archive.php @@ -0,0 +1,49 @@ + + + + +
+ +
+ + + +
+
+ + + +
+ +
+ + + + + + + + +

+
+ + + +
+ + + + + +
+
+ + + \ No newline at end of file diff --git a/covr/readme.txt b/covr/readme.txt index 5821e81361..74429a9e1d 100644 --- a/covr/readme.txt +++ b/covr/readme.txt @@ -12,6 +12,15 @@ Covr is a beautifully crafted theme that boasts a clean and modern design, speci == Changelog == += 1.0.5 = +* Lossless image optimization (#7671) + += 1.0.5 = +* Optimize images (#7671) + += 1.0.4 = +* Updates from theme export (#7560) + = 1.0.3 = * Multiple Block Themes: Fix Cursor When Hovering Links (#7479) @@ -39,3 +48,16 @@ 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. + +This theme bundles the following third-party resources: + +Manrope Font +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is available with an FAQ at http://scripts.sil.org/OFL +License URL: http://scripts.sil.org/OFL +-- End of Manrope Font credits -- + +Image for theme screenshot, Credit Jan Brueghel The Elder, Flowers in a Wan-Li Vase (c. 1610 - 1615) +License: Public Domain +License URL: https://creativecommons.org/public-domain/pdm/ +Source: https://artvee.com/dl/flowers-in-a-wan-li-vase-2#00 \ No newline at end of file diff --git a/covr/screenshot.png b/covr/screenshot.png index 04e63f8ec8..9334bd7d76 100644 Binary files a/covr/screenshot.png and b/covr/screenshot.png differ diff --git a/covr/style.css b/covr/style.css index 7c84668aa6..e51a504453 100644 --- a/covr/style.css +++ b/covr/style.css @@ -7,11 +7,11 @@ Description: Covr is a simple and straightforward theme designed for a sleek pre Requires at least: 5.8 Tested up to: 6.2 Requires PHP: 5.7 -Version: 1.0.3 +Version: 1.0.5 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: covr -Tags: blog, photography, portfolio, grid-layout, one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, full-site-editing, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready, fullwidth, photography, art +Tags: blog, photography, portfolio, grid-layout, one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, full-site-editing, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready */ /* diff --git a/covr/templates/archive.html b/covr/templates/archive.html new file mode 100644 index 0000000000..86f16965f6 --- /dev/null +++ b/covr/templates/archive.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/covr/templates/index.html b/covr/templates/index.html index 7d17df004e..7b9be98df2 100644 --- a/covr/templates/index.html +++ b/covr/templates/index.html @@ -1,12 +1,30 @@ - -
-
- + +
+
+ - -
+ +
+ +
+ + + + + + + + +
+ + + + + +
+
diff --git a/covr/templates/page.html b/covr/templates/page.html new file mode 100644 index 0000000000..0a672d1640 --- /dev/null +++ b/covr/templates/page.html @@ -0,0 +1,15 @@ + + + +
+
+ +
+ + + +
+
+ + + \ No newline at end of file diff --git a/covr/templates/search.html b/covr/templates/search.html index c823568c17..81c38a68c7 100644 --- a/covr/templates/search.html +++ b/covr/templates/search.html @@ -1,25 +1,25 @@ - -
-
- -
-
- + +
+ - + +
+
+ +
+ + + +
- - - - diff --git a/covr/templates/single.html b/covr/templates/single.html index 569e13a09d..c3443c89df 100644 --- a/covr/templates/single.html +++ b/covr/templates/single.html @@ -1,7 +1,7 @@ - -
+ +
@@ -13,15 +13,7 @@ - -
-
- - - -
-
-
+
@@ -34,8 +26,4 @@
- -

- - \ No newline at end of file diff --git a/covr/theme.json b/covr/theme.json index 9295d0a39c..62867bff92 100644 --- a/covr/theme.json +++ b/covr/theme.json @@ -42,146 +42,6 @@ }, "layout": { "contentSize": "620px", - "definitions": { - "constrained": { - "baseStyles": [ - { - "rules": { - "float": "left", - "margin-inline-end": "2em", - "margin-inline-start": "0" - }, - "selector": " > .alignleft" - }, - { - "rules": { - "float": "right", - "margin-inline-end": "0", - "margin-inline-start": "2em" - }, - "selector": " > .alignright" - }, - { - "rules": { - "margin-left": "auto !important", - "margin-right": "auto !important" - }, - "selector": " > .aligncenter" - }, - { - "rules": { - "margin-left": "auto !important", - "margin-right": "auto !important", - "max-width": "var(--wp--style--global--content-size)" - }, - "selector": " > :where(:not(.alignleft):not(.alignright):not(.alignfull))" - }, - { - "rules": { - "max-width": "var(--wp--style--global--wide-size)" - }, - "selector": " > .alignwide" - } - ], - "className": "is-layout-constrained", - "name": "constrained", - "slug": "constrained", - "spacingStyles": [ - { - "rules": { - "margin-block-end": "0", - "margin-block-start": "0" - }, - "selector": " > *" - }, - { - "rules": { - "margin-block-end": "0" - }, - "selector": " > * + *" - } - ] - }, - "default": { - "baseStyles": [ - { - "rules": { - "float": "left", - "margin-inline-end": "2em", - "margin-inline-start": "0" - }, - "selector": " > .alignleft" - }, - { - "rules": { - "float": "right", - "margin-inline-end": "0", - "margin-inline-start": "2em" - }, - "selector": " > .alignright" - }, - { - "rules": { - "margin-left": "auto !important", - "margin-right": "auto !important" - }, - "selector": " > .aligncenter" - } - ], - "className": "is-layout-flow", - "name": "default", - "slug": "flow", - "spacingStyles": [ - { - "rules": { - "margin-block-end": "0", - "margin-block-start": "0" - }, - "selector": " > *" - }, - { - "rules": { - "margin-block-end": "0" - }, - "selector": " > * + *" - } - ] - }, - "flex": { - "baseStyles": [ - { - "rules": { - "align-items": "center", - "flex-wrap": "wrap" - } - }, - { - "rules": { - "margin": "0" - }, - "selector": " > *" - } - ], - "className": "is-layout-flex", - "displayMode": "flex", - "name": "flex", - "slug": "flex" - }, - "grid": { - "baseStyles": [ - { - "rules": { - "margin": "0" - }, - "selector": " > *" - } - ], - "className": "is-layout-grid", - "displayMode": "grid", - "name": "grid", - "slug": "grid" - } - }, "wideSize": "1200px" }, "shadow": { @@ -320,13 +180,37 @@ }, "styles": { "blocks": { + "core/buttons": { + "spacing": { + "blockGap": "10px" + } + }, "core/code": { "border": { + "bottom": { + "style": "none", + "width": "0px" + }, "color": "var(--wp--preset--color--foreground)", + "left": { + "style": "none", + "width": "0px" + }, "radius": "0.25rem", + "right": { + "style": "none", + "width": "0px" + }, "style": "solid", + "top": { + "style": "none", + "width": "0px" + }, "width": "2px" }, + "color": { + "background": "var(--wp--preset--color--tertiary)" + }, "spacing": { "padding": { "bottom": "var(--wp--preset--spacing--50)", @@ -336,7 +220,9 @@ } }, "typography": { - "fontFamily": "monospace" + "fontFamily": "monospace", + "fontSize": "0.9rem", + "lineHeight": "1.6" } }, "core/comment-author-name": { @@ -361,7 +247,7 @@ }, "core/cover": { "color": { - "text": "var:preset|color|secondary" + "text": "var(--wp--preset--color--secondary)" } }, "core/gallery": { @@ -395,7 +281,7 @@ "blockGap": "10px" }, "typography": { - "fontSize": "var:preset|font-size|small" + "fontSize": "var(--wp--preset--font-size--small)" } }, "core/post-author-name": { @@ -415,6 +301,11 @@ "fontSize": "0.8rem" } }, + "core/post-content": { + "spacing": { + "blockGap": "6px" + } + }, "core/post-date": { "color": { "text": "var(--wp--preset--color--foreground)" @@ -456,6 +347,9 @@ } }, "core/post-title": { + "color": { + "text": "var(--wp--preset--color--primary)" + }, "elements": { "link": { ":hover": { @@ -463,6 +357,9 @@ "textDecoration": "underline" } }, + "color": { + "text": "var(--wp--preset--color--primary)" + }, "typography": { "textDecoration": "none" } @@ -474,15 +371,42 @@ } }, "typography": { - "fontSize": "var:preset|font-size|medium" + "fontSize": "var(--wp--preset--font-size--medium)" } }, "core/pullquote": { "border": { + "bottom": { + "style": "none", + "width": "0px" + }, "color": "var(--wp--preset--color--foreground)", + "left": { + "style": "none", + "width": "0px" + }, + "right": { + "style": "none", + "width": "0px" + }, "style": "solid", + "top": { + "style": "none", + "width": "0px" + }, "width": "1px 0" }, + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "css": "text-align: left;", + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--primary)" + } + } + }, "spacing": { "padding": { "bottom": "var(--wp--preset--spacing--50)", @@ -492,8 +416,25 @@ } }, "typography": { - "fontSize": "var(--wp--preset--font-size--large)", - "fontStyle": "italic" + "fontSize": "var(--wp--preset--font-size--medium)", + "fontStyle": "normal", + "fontWeight": "600", + "lineHeight": "1.5" + } + }, + "core/query-title": { + "color": { + "text": "var(--wp--preset--color--primary)" + }, + "elements": { + "link": { + "color": { + "text": "var(--wp--preset--color--primary)" + } + } + }, + "typography": { + "fontSize": "var(--wp--preset--font-size--large)" } }, "core/quote": { @@ -512,7 +453,7 @@ } }, "core/search": { - "css": "\n.wp-block-search__input, .wp-block-search {\n font-size: 0.8rem;\n background-color: var(--wp--preset--color--tertiary);\n font-color: #3a3a3a;\n line-height: 1.2;\n border-radius: 8px;\n}\n\n.wp-block-search__button {\n font-size: 0.8rem;\n background-color: var(--wp--preset--color--tertiary);\n font-color: #3a3a3a;\n line-height: 1;\n border-radius: 2px;\n padding: 6px;\n}\n\n.wp-block-search__button svg {\n fill: var(--wp--preset--color--primary);\n}\n\n:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {\n margin-left: 12px;\n margin-right: 2px;\n margin-top: 2px;\n margin-bottom: 2px;\n}", + "css": "", "typography": { "fontSize": "var(--wp--preset--font-size--medium)", "lineHeight": "1.6" @@ -535,7 +476,7 @@ }, "core/site-title": { "color": { - "text": "var:preset|color|primary" + "text": "var(--wp--preset--color--primary)" }, "elements": { "link": { @@ -545,7 +486,7 @@ } }, "color": { - "text": "var:preset|color|primary" + "text": "var(--wp--preset--color--primary)" }, "typography": { "textDecoration": "none" @@ -553,7 +494,7 @@ } }, "typography": { - "fontSize": "var:preset|font-size|medium", + "fontSize": "var(--wp--preset--font-size--medium)", "fontStyle": "normal", "fontWeight": "700", "letterSpacing": "0px", @@ -565,7 +506,7 @@ "background": "var(--wp--preset--color--background)", "text": "var(--wp--preset--color--foreground)" }, - "css": "a:any-link {\n text-decoration-thickness: .01em !important;\n text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n text-decoration: none;\n}", + "css": "a:any-link {\n text-decoration-thickness: .01em !important;\n text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n text-decoration: none;\n}\n\n\n.wp-block-search__input, .wp-block-search {\n font-size: 0.8rem;\n background-color: var(--wp--preset--color--tertiary);\n font-color: #3a3a3a;\n line-height: 1.2;\n border-radius: 8px;\n}\n\n.wp-block-search__button {\n font-size: 0.8rem;\n background-color: var(--wp--preset--color--tertiary);\n font-color: #3a3a3a;\n line-height: 1;\n border-radius: 2px;\n padding: 6px;\n}\n\n.wp-block-search__button svg {\n fill: var(--wp--preset--color--primary);\n}\n\n:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {\n margin-left: 12px;\n margin-right: 2px;\n margin-top: 2px;\n margin-bottom: 2px;\n}", "elements": { "button": { ":active": { @@ -602,7 +543,7 @@ }, "h1": { "typography": { - "fontSize": "var:preset|font-size|medium" + "fontSize": "var(--wp--preset--font-size--medium)" } }, "h2": { @@ -612,7 +553,7 @@ }, "h3": { "typography": { - "fontSize": "var:preset|font-size|small" + "fontSize": "var(--wp--preset--font-size--small)" } }, "h4": { @@ -632,7 +573,7 @@ }, "heading": { "typography": { - "fontFamily": "var(--wp--preset--font-family--rubik)", + "fontFamily": "var(--wp--preset--font-family--manrope)", "fontStyle": "normal", "fontWeight": "600", "lineHeight": "1.125" @@ -653,14 +594,14 @@ "blockGap": "0px", "padding": { "bottom": "0px", - "left": "0px", - "right": "0px", + "left": "4vw", + "right": "4vw", "top": "0px" } }, "typography": { - "fontFamily": "var:preset|font-family|manrope", - "fontSize": "var:preset|font-size|small", + "fontFamily": "var(--wp--preset--font-family--manrope)", + "fontSize": "var(--wp--preset--font-size--small)", "lineHeight": "1.6" } }, @@ -675,5 +616,5 @@ } ], "version": 2, - "$schema": "https://schemas.wp.org/trunk/theme.json" + "$schema": "https://schemas.wp.org/wp/6.5/theme.json" } \ No newline at end of file