Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update theme goodskin #8016

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified goodskin/assets/images/skin-blog-about-image-792x1024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified goodskin/assets/images/skin-blog-home-image-2-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions goodskin/patterns/about-page-heading-paragraph-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@
<div class="wp-block-columns" style="padding-right:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:column {"verticalAlignment":"bottom"} -->
<div class="wp-block-column is-vertically-aligned-bottom"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"bottom"}} -->
<div class="wp-block-group"><!-- wp:heading {"style":{"typography":{"lineHeight":"1.1"}}} -->
<h2 class="wp-block-heading" style="line-height:1.1">My name is Ava Wells and I’m a skincare lover with a Ph.D. in Pharmaceutical Sciences at the University of London.</h2>
<h2 class="wp-block-heading" style="line-height:1.1"><?php echo esc_html__( 'My name is Ava Wells and I’m a skincare lover with a Ph.D. in Pharmaceutical Sciences at the University of London.', 'goodskin' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2"}}} -->
<p style="line-height:1.2">Ever since I can remember, I've been fascinated by the intricate workings of the human body and the ways in which science can be harnessed to improve health and well-being. This fascination led me to pursue a Ph.D. in Pharmaceutical Sciences from London, where I became increasingly interested in the intersection of science and skincare. From understanding the role of antioxidants in protecting against environmental damage to exploring the benefits of retinoids in stimulating collagen production, I was captivated by the science behind skincare and its transformative effects on the skin.</p>
<p style="line-height:1.2"><?php echo esc_html__( 'Ever since I can remember, I\'ve been fascinated by the intricate workings of the human body and the ways in which science can be harnessed to improve health and well-being. This fascination led me to pursue a Ph.D. in Pharmaceutical Sciences from London, where I became increasingly interested in the intersection of science and skincare. From understanding the role of antioxidants in protecting against environmental damage to exploring the benefits of retinoids in stimulating collagen production, I was captivated by the science behind skincare and its transformative effects on the skin.', 'goodskin' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"width":"48%"} -->
<div class="wp-block-column" style="flex-basis:48%"><!-- wp:image {"id":206,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://skinblog.mystagingwebsite.com/wp-content/uploads/2024/03/skin-blog-about-image-792x1024.jpg" alt="" class="wp-image-206"/></figure>
<figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/skin-blog-about-image-792x1024.jpg" alt="" class="wp-image-206"/></figure>
<!-- /wp:image --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
6 changes: 3 additions & 3 deletions goodskin/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
<!-- wp:column {"verticalAlignment":"bottom","width":"66.66%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:66.66%"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"italic","fontWeight":"300"}},"fontSize":"large"} -->
<p class="has-large-font-size" style="font-style:italic;font-weight:300"><a href="#">Instagram</a></p>
<p class="has-large-font-size" style="font-style:italic;font-weight:300"><a href="#"><?php echo esc_html__( 'Instagram', 'goodskin' ); ?></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontStyle":"italic","fontWeight":"300"}},"fontSize":"large"} -->
<p class="has-large-font-size" style="font-style:italic;font-weight:300"><a href="#">TikTok</a></p>
<p class="has-large-font-size" style="font-style:italic;font-weight:300"><a href="#"><?php echo esc_html__( 'TikTok', 'goodskin' ); ?></a></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontStyle":"italic","fontWeight":"300"}},"fontSize":"large"} -->
<p class="has-large-font-size" style="font-style:italic;font-weight:300"><a href="#">Youtube</a></p>
<p class="has-large-font-size" style="font-style:italic;font-weight:300"><a href="#"><?php echo esc_html__( 'Youtube', 'goodskin' ); ?></a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
Expand Down
8 changes: 4 additions & 4 deletions goodskin/patterns/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Inserter: no
*/
?>
<!-- wp:group {"metadata":{"name":"Intro \u0026 Posts"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"default"}} -->
<!-- wp:group {"metadata":{"name":"Intro & Posts"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:cover {"overlayColor":"custom-background","isUserOverlayColor":true,"isDark":false,"metadata":{"name":"Intro"},"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast","layout":{"type":"default"}} -->
<div class="wp-block-cover is-light has-contrast-color has-text-color has-link-color" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><span aria-hidden="true" class="wp-block-cover__background has-custom-background-background-color has-background-dim-100 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:template-part {"slug":"header","align":"full"} /-->

Expand Down Expand Up @@ -82,7 +82,7 @@
<!-- /wp:image -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center"><?php esc_html_e('Sunsai SPF50+ Lightweight Sunscreen', 'goodskin');?></p>
<p class="has-text-align-center"><?php esc_html_e('Sunsai SPF50+ Lightweight Sunscreen', 'goodskin');?></p>
<!-- /wp:paragraph -->

<!-- wp:jetpack/rating-star {"rating":3,"className":"is-style-filled","align":"center"} -->
Expand Down Expand Up @@ -142,7 +142,7 @@
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"metadata":{"name":"Newsletter \u0026 Gallery"},"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
<!-- wp:group {"metadata":{"name":"Newsletter & Gallery"},"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:group {"metadata":{"name":"Newsletter"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"backgroundColor":"custom-background","layout":{"type":"default"}} -->
<div class="wp-block-group has-custom-background-background-color has-background" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"><!-- wp:columns {"align":"full"} -->
<div class="wp-block-columns alignfull"><!-- wp:column {"width":"33.33%"} -->
Expand All @@ -158,7 +158,7 @@

<!-- wp:jetpack/contact-form {"subject":"[goodskin] Newsletter","to":""} -->
<div class="wp-block-jetpack-contact-form">
<!-- wp:jetpack/field-email {"label":"","requiredText":"(required)","placeholder":"Your Email","borderWidth":1,"fieldBackgroundColor":"#efefea"} /-->
<!-- wp:jetpack/field-email {"label":"","requiredText":"(required)","placeholder":"<?php echo esc_attr__( 'Your Email', 'goodskin' ); ?>","borderWidth":1,"fieldBackgroundColor":"#efefea"} /-->
<!-- wp:jetpack/button {"element":"button","text":"Subscribe","lock":{"remove":true}} /-->
</div>
<!-- /wp:jetpack/contact-form --></div>
Expand Down
10 changes: 5 additions & 5 deletions goodskin/patterns/product-ratings-row.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:heading {"textAlign":"center","fontSize":"xx-large"} -->
<h2 class="wp-block-heading has-text-align-center has-xx-large-font-size">Product Reviews</h2>
<h2 class="wp-block-heading has-text-align-center has-xx-large-font-size"><?php echo esc_html__( 'Product Reviews', 'goodskin' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:spacer {"height":"var:preset|spacing|30"} -->
Expand All @@ -25,7 +25,7 @@
<!-- /wp:image -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">Sunsai SPF50+ Lightweight Sunscreen</p>
<p class="has-text-align-center"><?php echo esc_html__( 'Sunsai SPF50+ Lightweight Sunscreen', 'goodskin' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:jetpack/rating-star {"rating":3,"className":"is-style-filled","align":"center"} -->
Expand All @@ -41,7 +41,7 @@
<!-- /wp:image -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">ULing Wonderberry Instant Facial</p>
<p class="has-text-align-center"><?php echo esc_html__( 'ULing Wonderberry Instant Facial', 'goodskin' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:jetpack/rating-star {"rating":5,"className":"is-style-filled","align":"center"} -->
Expand All @@ -57,7 +57,7 @@
<!-- /wp:image -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">Yiae Kize-Rouk Enlighten Illuminating Serum</p>
<p class="has-text-align-center"><?php echo esc_html__( 'Yiae Kize-Rouk Enlighten Illuminating Serum', 'goodskin' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:jetpack/rating-star {"rating":4,"className":"is-style-filled","align":"center"} -->
Expand All @@ -73,7 +73,7 @@
<!-- /wp:image -->

<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">Anai Skin Perfecting Charcoal Mask</p>
<p class="has-text-align-center"><?php echo esc_html__( 'Anai Skin Perfecting Charcoal Mask', 'goodskin' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:jetpack/rating-star {"rating":4,"className":"is-style-filled","align":"center"} -->
Expand Down
2 changes: 1 addition & 1 deletion goodskin/patterns/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
declare( strict_types = 1 );
?>

<!-- wp:search {"label":"","showLabel":false,"placeholder":"<?php echo esc_html_x( 'Search...', 'This is a placeholder text in a search field', 'goodskin' ); ?>","buttonText":"Search","buttonUseIcon":true} /-->
<!-- wp:search {"label":"","showLabel":false,"placeholder":"<?php echo esc_html_x( 'Search...', 'This is a placeholder text in a search field', 'goodskin' ); ?>","buttonText":"<?php echo esc_html__( 'Search', 'goodskin' ); ?>","buttonUseIcon":true} /-->
3 changes: 2 additions & 1 deletion goodskin/patterns/single.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@
<!-- /wp:group --></main>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer"} /-->
<!-- wp:template-part {"slug":"footer"} /-->

3 changes: 2 additions & 1 deletion goodskin/patterns/two-column-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
<figure class="wp-block-image size-full has-custom-border"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/skin-blog-home-image-3-1.jpg" alt="<?php esc_html_e('', 'goodskin');?>" class="has-border-color has-base-border-color" style="border-width:8vw;object-fit:cover"/></figure>
<!-- /wp:image --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:columns -->

13 changes: 7 additions & 6 deletions goodskin/readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Goodskin ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.6-RC4
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand All @@ -12,9 +12,6 @@ Goodskin is a blogging theme designed for skincare blogs.

== Changelog ==

= 1.0.3 =
* Brat: add theme (Rename to Partygurl) (#8026)

= 1.0.2 =
* Goodskin: Prepare the theme for the submission (#7611)

Expand Down Expand Up @@ -42,7 +39,11 @@ GNU General Public License for more details.

IMAGES

This theme uses AI images generated on Midjourney.
Image for theme screenshot
License: CC0 1.0 Universal (CC0 1.0)
License URL: https://creativecommons.org/public-domain/cc0/
Source: Generated with AI on Midjourney, released under the CC0 license.


FONTS

Expand Down
16 changes: 5 additions & 11 deletions goodskin/style.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
Theme Name: Goodskin
Theme URI: /https://themeshaper.com/goodskin/
Theme URI: https://wordpress.com/theme/goodskin/
Author: Automattic
Author URI: https://automattic.com/
Description: Goodskin is a blogging theme designed for skincare blogs.
Requires at least: 6.0
Tested up to: 6.6-RC4
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.3
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goodskin
Expand All @@ -18,13 +18,7 @@ Tags: blog, one-column, block-patterns, block-styles, featured-images, full-site
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/

/*
* Control the hover stylings of outline block style.
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline >.wp-block-button__link:not(.has-background):hover {
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--primary);
border-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--base);
Expand Down
9 changes: 1 addition & 8 deletions goodskin/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@
"fontFace": [
{
"fontFamily": "Archivo",
"fontStretch": "normal",
"fontStyle": "normal",
"fontWeight": "400",
"src": "file:./assets/fonts/Archivo-VariableFont_wdth,wght.ttf"
Expand Down Expand Up @@ -870,12 +869,6 @@
"name": "footer"
}
],
"customTemplates": [
{
"name": "wp-custom-template-page-no-title",
"title": "Page without title"
}
],
"version": 3,
"$schema": "https://schemas.wp.org/trunk/theme.json"
"$schema": "https://schemas.wp.org/wp/6.6/theme.json"
}
Loading