Skip to content

Commit

Permalink
Version 0.1.10 - Fixes link to pattern image and share buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuswetah committed Jul 27, 2022
1 parent 3b50028 commit 10f2fd6
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion taina/assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: A full-site-editing block theme for WordPress. Tainá has emerged a
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 7.3
Version: 0.1.9
Version: 0.1.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taina
Expand Down
6 changes: 3 additions & 3 deletions taina/inc/patterns/collection-header-thumb-cover.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"top","width":"","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"blockGap":"0px"}},"layout":{"inherit":false}} -->
<div class="wp-block-column is-vertically-aligned-top" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<!-- wp:cover {"url":"' . esc_url( get_template_directory_uri() ) . '/assets/images/ilustracao_de_povos_indigenas","focalPoint":{"x":"0.48","y":"0.31"},"customGradient":"linear-gradient(180deg,rgba(7,146,227,0) 79%,var(--wp--preset--color--background) 79%)","contentPosition":"top left","style":{"color":{"duotone":["#262626","#A0303A"]},"spacing":{"padding":{"top":"0px","right":"0%","bottom":"0px","left":"0px"}}}} -->
<!-- wp:cover {"url":"' . esc_url( get_template_directory_uri() ) . '/assets/images/ilustracao_de_povos_indigenas.jpg","focalPoint":{"x":"0.48","y":"0.31"},"customGradient":"linear-gradient(180deg,rgba(7,146,227,0) 79%,var(--wp--preset--color--background) 79%)","contentPosition":"top left","style":{"color":{"duotone":["#262626","#A0303A"]},"spacing":{"padding":{"top":"0px","right":"0%","bottom":"0px","left":"0px"}}}} -->
<div class="wp-block-cover has-custom-content-position is-position-top-left" style="padding-top:0px;padding-right:0%;padding-bottom:0px;padding-left:0px"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim wp-block-cover__gradient-background has-background-gradient" style="background:linear-gradient(180deg,rgba(7,146,227,0) 79%,var(--wp--preset--color--background) 79%)"></span>
<img class="wp-block-cover__image-background" alt="" src="' . esc_url( get_template_directory_uri() ) . '/assets/images/ilustracao_de_povos_indigenas" style="object-position:48% 31%" data-object-fit="cover" data-object-position="48% 31%"/>
<img class="wp-block-cover__image-background" alt="" src="' . esc_url( get_template_directory_uri() ) . '/assets/images/ilustracao_de_povos_indigenas.jpg" style="object-position:48% 31%" data-object-fit="cover" data-object-position="48% 31%"/>
<div class="wp-block-cover__inner-container">
<!-- wp:image {"width":754,"height":236,"sizeSlug":"large","linkDestination":"none","className":"is-style-default"} -->
<figure class="wp-block-image size-large is-resized is-style-default"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/ilustracao_de_povos_indigenas" alt="' . esc_attr__( 'Illustration of three Brazilian Original People from different tribes. The first one has vertical lines painted over his body and carries a spear with a human head on top of it. The second one is a woman with a baby in her arms. The last one has what looks like a rowing in his arms. His skin has paintings that reming a camouflage for the forest.', 'taina' ) . '" width="754" height="236"/></figure>
<figure class="wp-block-image size-large is-resized is-style-default"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/ilustracao_de_povos_indigenas.jpg" alt="' . esc_attr__( 'Illustration of three Brazilian Original People from different tribes. The first one has vertical lines painted over his body and carries a spear with a human head on top of it. The second one is a woman with a baby in her arms. The last one has what looks like a rowing in his arms. His skin has paintings that reming a camouflage for the forest.', 'taina' ) . '" width="754" height="236"/></figure>
<!-- /wp:image -->
<!-- wp:group {"style":{"spacing":{"blockGap":"1em"}},"backgroundColor":"background-alt","textColor":"foreground-alt","layout":{"inherit":true}} -->
Expand Down
4 changes: 2 additions & 2 deletions taina/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion taina/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taina",
"version": "0.1.9",
"version": "0.1.10",
"description": "A block theme for WordPress & Tainacan.",
"main": "style.css",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion taina/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: tainacan, wetah, vnmedeiros, daltonmartins, leogermani, ravipassos, omarceloavila
Requires at least: WordPress 6.0
Tested up to: WordPress 6.0
Version: 0.1.9
Version: 0.1.10
Requires PHP: 7.3
Stable tag: trunk
License: GNU General Public License v3
Expand Down
2 changes: 1 addition & 1 deletion taina/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion taina/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 3 additions & 7 deletions taina/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@
},
"core/button": {
"color": {
"background": "var:preset|color|primary"
"background": "var:preset|color|primary",
"text": "var:preset|color|background"
},
"typography": {
"fontFamily": "var:preset|font-family|headings",
Expand Down Expand Up @@ -671,12 +672,7 @@
},
"core/social-link": {
"border": {
"radius": {
"topLeft": "0px",
"bottomLeft": "0px",
"bottomRight": "0px",
"topRight": "0px"
}
"radius": "0px"
}
}
},
Expand Down

0 comments on commit 10f2fd6

Please sign in to comment.