Skip to content

Commit

Permalink
Vows: fixes issues related to #8519
Browse files Browse the repository at this point in the history
  • Loading branch information
henriqueiamarino committed Dec 13, 2024
1 parent f8a5ad0 commit c186584
Show file tree
Hide file tree
Showing 28 changed files with 314 additions and 516 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 4 additions & 6 deletions vows/patterns/home.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?php declare( strict_types = 1 ); ?>
<?php
/**
* Title: home
* Slug: vows/home
* Categories: hidden
* Inserter: no
*/
?>
Expand All @@ -15,18 +13,18 @@
<!-- /wp:column -->

<!-- wp:column {"width":"60%"} -->
<div class="wp-block-column" style="flex-basis:60%"><!-- wp:group {"style":{"spacing":{"blockGap":"0"},"dimensions":{"minHeight":"100vh"},"background":{"backgroundImage":{"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/groovepaper.png","source":"file","title":"groovepaper"},"backgroundSize":"300px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
<div class="wp-block-column" style="flex-basis:60%"><!-- wp:group {"style":{"spacing":{"blockGap":"0"},"dimensions":{"minHeight":"100vh"},"background":{"backgroundImage":{"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/groovepaper.png","source":"file","title":"groovepaper"},"backgroundSize":"300px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="min-height:100vh"><!-- wp:group {"tagName":"main","style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)"><!-- wp:group {"layout":{"type":"constrained","justifyContent":"center"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->

<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|70"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":1} -->
<h1 class="wp-block-heading">Blog</h1>
<div class="wp-block-group"><!-- wp:heading {"level":1,"fontSize":"x-large"} -->
<h1 class="wp-block-heading has-x-large-font-size"><?php esc_html_e('Blog', 'vows');?></h1>
<!-- /wp:heading -->

<!-- wp:query {"queryId":103,"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true},"layout":{"type":"constrained"}} -->
<!-- wp:query {"queryId":103,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":true},"layout":{"type":"constrained"}} -->
<div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|80"}},"layout":{"type":"default"}} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","padding":{"bottom":"var:preset|spacing|30"}},"border":{"bottom":{"width":"1px","style":"dotted"},"top":[],"right":[],"left":[]}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="border-bottom-style:dotted;border-bottom-width:1px;padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:post-featured-image {"isLink":true,"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|40"}}}} /-->
Expand Down
51 changes: 36 additions & 15 deletions vows/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.5
Tested up to: 6.7
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -43,24 +43,45 @@ GNU General Public License for more details.
Vows is based on Dark Academia (https://themeshaper.com/dark-academia/), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)


== Images ==
All images used in the templates were generated with AI using Midjourney.
== Fonts ==

Albert Sans
Copyright 2021 The Albert Sans Project Authors (https://github.com/usted/Albert-Sans)
License: This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: https://www.a-foundry.net

== Fonts ==
Aventine
Copyright 2018 Stephen French (https://www.behance.net/stephenfrenchjr)
License: This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: https://www.behance.net/gallery/69526881/AVENTINE-Free-Oldstyle-Typeface

Playfair Display Font
Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display".
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
License URL: http://scripts.sil.org/OFL
Figtree
Copyright 2022 The Figtree Project Authors (https://github.com/erikdkennedy/figtree)
License: This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: https://erikdkennedy.com/

Gabarito
Copyright 2023 The Gabarito Project Authors (https://github.com/naipefoundry/gabarito)
License: This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: http://www.naipe.xyz/

Literata 24pt
Copyright 2017 The Literata Project Authors (https://github.com/googlefonts/literata)
License: This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: http://www.google.com

Playfair Display
Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display".
License: This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: http://www.forthehearts.net
-- End of Playfair Display Font credits --

Figtree Font
Copyright 2022 The Figtree Project Authors (https://github.com/erikdkennedy/figtree)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
License URL: http://scripts.sil.org/OFL
Source: https://fonts.google.com/specimen/Figtree/about
-- End of Gabarito Font credits --

== Images ==

All images used in the templates were generated with AI using Midjourney.
6 changes: 3 additions & 3 deletions vows/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ Author: Automattic
Author URI: https://automattic.com
Description: Vows works as a comprehensive hub for all your wedding-related links. Inspired by the timeless beauty of wedding stationery and photography, this theme provides a sleek and intuitive interface that acts like a link-in-bio solution for engaged couples.
Requires at least: 6.0
Tested up to: 6.5
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.2
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vows
Tags: blog, two-columns, block-patterns, block-styles, featured-images, full-site-editing, rtl-language-support, threaded-comments, translation-ready, wide-blocks, custom-background, custom-header, style-variations, template-editing, theme-options, grid-layout
Tags: Blog, Two Columns, Block Editor Patterns, Block Editor Styles, Featured Images, Site Editor, rtl-language-support, threaded-comments, translation-ready, Wide Blocks, Custom Background, Custom Header, Style Variations, Template Editing, Theme Options, Grid Layout
/*
* Link styles
Expand Down
155 changes: 3 additions & 152 deletions vows/styles/empress.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,131 +18,6 @@
"slug": "primary"
}
]
},
"typography": {
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "Gabarito",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/QGYwz_0dZAGKJJ4t3FFkc3Q8AkNP9Pj248K0EwItq6bFIg.woff2"
]
},
{
"fontFamily": "Gabarito",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/QGYwz_0dZAGKJJ4t3FFkc3Q8AkNP9Pj20cK0EwItq6bFIg.woff2"
]
},
{
"fontFamily": "Gabarito",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/QGYwz_0dZAGKJJ4t3FFkc3Q8AkNP9Pj2PcW0EwItq6bFIg.woff2"
]
},
{
"fontFamily": "Gabarito",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/QGYwz_0dZAGKJJ4t3FFkc3Q8AkNP9Pj2BMW0EwItq6bFIg.woff2"
]
},
{
"fontFamily": "Gabarito",
"fontStyle": "normal",
"fontWeight": "800",
"src": [
"file:./assets/fonts/QGYwz_0dZAGKJJ4t3FFkc3Q8AkNP9Pj2Y8W0EwItq6bFIg.woff2"
]
},
{
"fontFamily": "Gabarito",
"fontStyle": "normal",
"fontWeight": "900",
"src": [
"file:./assets/fonts/QGYwz_0dZAGKJJ4t3FFkc3Q8AkNP9Pj2SsW0EwItq6bFIg.woff2"
]
}
],
"fontFamily": "Gabarito, system-ui",
"name": "Gabarito",
"slug": "gabarito"
},
{
"fontFace": [
{
"fontFamily": "\"Playfair Display\"",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKebukDVZNLo_U2r.woff2"
]
},
{
"fontFamily": "\"Playfair Display\"",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_naUbtPK-F2rA0s.woff2"
]
}
],
"fontFamily": "\"Playfair Display\", serif",
"name": "Playfair Display",
"slug": "playfair-display"
},
{
"fontFace": [
{
"fontFamily": "\"Reforma 2018\"",
"fontStyle": "normal",
"fontWeight": "300",
"src": "http://localhost.local/wp-content/uploads/fonts/Reforma2018-Blanca.otf"
},
{
"fontFamily": "\"Reforma 2018\"",
"fontStyle": "italic",
"fontWeight": "300",
"src": "http://localhost.local/wp-content/uploads/fonts/Reforma2018-BlancaItalica.otf"
}
],
"fontFamily": "\"Reforma 2018\"",
"name": "Reforma 2018",
"slug": "reforma-2018"
},
{
"fontFace": [
{
"fontFamily": "\"Reforma 1918\"",
"fontStyle": "normal",
"fontWeight": "500",
"src": "http://localhost.local/wp-content/uploads/fonts/Reforma1918-Gris.otf"
},
{
"fontFamily": "\"Reforma 1918\"",
"fontStyle": "italic",
"fontWeight": "500",
"src": "http://localhost.local/wp-content/uploads/fonts/Reforma1918-GrisItalica.otf"
}
],
"fontFamily": "\"Reforma 1918\"",
"name": "Reforma 1918",
"slug": "reforma-1918"
}
]
}
},
"styles": {
Expand All @@ -156,46 +31,22 @@
"elements": {
"h1": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--gabarito)",
"fontSize": "var(--wp--preset--font-size--xx-large)",
"lineHeight": "1.2",
"textTransform": "uppercase"
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--reforma-1918)"
}
},
"h3": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--reforma-1918)"
}
},
"h4": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--reforma-1918)"
}
},
"h5": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--reforma-1918)"
}
},
"h6": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--reforma-1918)"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--reforma-2018)",
"fontFamily": "var(--wp--preset--font-family--literata)",
"fontStyle": "normal",
"fontWeight": "500"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--reforma-1918)"
"fontFamily": "var(--wp--preset--font-family--literata)"
}
},
"title": "Empress",
Expand Down
89 changes: 87 additions & 2 deletions vows/styles/lavastone.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,94 @@
"slug": "primary"
}
]
},
"typography": {
"fontSizes": [
{
"fluid": {
"max": "0.9375rem",
"min": "0.8125rem"
},
"name": "Small",
"size": "0.9375rem",
"slug": "small"
},
{
"fluid": {
"max": "1.3125rem",
"min": "0.9375rem"
},
"name": "Medium",
"size": "1.3125rem",
"slug": "medium"
},
{
"fluid": {
"max": "1.875rem",
"min": "1.3125rem"
},
"name": "Large",
"size": "1.875rem",
"slug": "large"
},
{
"fluid": {
"max": "2.625rem",
"min": "1.875rem"
},
"name": "Extra Large",
"size": "2.625rem",
"slug": "x-large"
},
{
"fluid": {
"max": "3.75rem",
"min": "2.625rem"
},
"name": "Double Extra Large",
"size": "3.75rem",
"slug": "xx-large"
},
{
"fluid": {
"max": "5.31rem",
"min": "3rem"
},
"name": "Triple Extra Large",
"size": "5.31rem",
"slug": "xxx-large"
}
]
}
},
"styles": {
"blocks": {
"core/query-title": {
"typography": {
"fontSize": "var(--wp--preset--font-size--xx-large)"
}
}
},
"elements": {
"h1": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--aventine)",
"fontSize": "var(--wp--preset--font-size--xxx-large)",
"lineHeight": "1.1",
"textTransform": "none"
}
},
"heading": {
"typography": {
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--albert-sans)"
}
},
"title": "Lava Stone",
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
"title": "Lavastone"
}
Loading

0 comments on commit c186584

Please sign in to comment.