Skip to content

Commit

Permalink
✅ Updated for 2.0.1 close #10
Browse files Browse the repository at this point in the history
  • Loading branch information
Olein-jp committed Apr 15, 2023
1 parent 15a2ea5 commit 8c22d3e
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 18 deletions.
12 changes: 6 additions & 6 deletions patterns/columns-border-wrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,32 @@
<div class="wp-block-group alignfull has-background-color has-text-color" style="padding-top:var(--wp--preset--spacing--4-xl);padding-bottom:var(--wp--preset--spacing--4-xl)"><!-- wp:columns {"align":"wide","className":"is-style-cormorant-column-border-wrap-base is-style-cormorant-columns-border-wrap-base"} -->
<div class="wp-block-columns alignwide is-style-cormorant-column-border-wrap-base is-style-cormorant-columns-border-wrap-base"><!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|l","right":"var:preset|spacing|l","bottom":"var:preset|spacing|l","left":"var:preset|spacing|l"}},"border":{"width":"1px"}}} -->
<div class="wp-block-column" style="border-width:1px;padding-top:var(--wp--preset--spacing--l);padding-right:var(--wp--preset--spacing--l);padding-bottom:var(--wp--preset--spacing--l);padding-left:var(--wp--preset--spacing--l)"><!-- wp:heading {"level":3,"fontSize":"2-xl"} -->
<h3 class="wp-block-heading has-2-xl-font-size"><?php echo esc_attr__( 'How to change color', 'cormorant' ); ?></h3>
<h3 class="wp-block-heading has-2-xl-font-size"><?php echo esc_html__( 'How to change color', 'cormorant' ); ?></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><?php echo esc_attr__( 'The border colour can be changed <strong>by changing the text colour of the column.</strong> Libero fames porttitor eget primis turpis sollicitudin orci et dis urna augue, himenaeos felis semper non tempor fusce nam sit elit rhoncus.', 'cormorant' ); ?></p>
<p><?php echo esc_html__( 'The border colour can be changed <strong>by changing the text colour of the column.</strong> Libero fames porttitor eget primis turpis sollicitudin orci et dis urna augue, himenaeos felis semper non tempor fusce nam sit elit rhoncus.', 'cormorant' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"right"}} -->
<div class="wp-block-buttons"><!-- wp:button {"style":{"border":{"radius":"0px"}},"className":"is-style-cormorant-primary-filled-square-button"} -->
<div class="wp-block-button is-style-cormorant-primary-filled-square-button"><a class="wp-block-button__link wp-element-button" style="border-radius:0px"><?php echo esc_attr__( 'Learn More', 'cormorant' ); ?></a></div>
<div class="wp-block-button is-style-cormorant-primary-filled-square-button"><a class="wp-block-button__link wp-element-button" style="border-radius:0px"><?php echo esc_html__( 'Learn More', 'cormorant' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|l","right":"var:preset|spacing|l","bottom":"var:preset|spacing|l","left":"var:preset|spacing|l"}},"border":{"width":"1px"}}} -->
<div class="wp-block-column" style="border-width:1px;padding-top:var(--wp--preset--spacing--l);padding-right:var(--wp--preset--spacing--l);padding-bottom:var(--wp--preset--spacing--l);padding-left:var(--wp--preset--spacing--l)"><!-- wp:heading {"level":3,"fontSize":"2-xl"} -->
<h3 class="wp-block-heading has-2-xl-font-size"><?php echo esc_attr__( 'How to change color', 'cormorant' ); ?></h3>
<h3 class="wp-block-heading has-2-xl-font-size"><?php echo esc_html__( 'How to change color', 'cormorant' ); ?></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><?php echo esc_attr__( 'The border colour can be changed <strong>by changing the text colour of the column.</strong> Libero fames porttitor eget primis turpis sollicitudin orci et dis urna augue, himenaeos felis semper non tempor fusce nam sit elit rhoncus.', 'cormorant' ); ?></p>
<p><?php echo esc_html__( 'The border colour can be changed <strong>by changing the text colour of the column.</strong> Libero fames porttitor eget primis turpis sollicitudin orci et dis urna augue, himenaeos felis semper non tempor fusce nam sit elit rhoncus.', 'cormorant' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"right"}} -->
<div class="wp-block-buttons"><!-- wp:button {"style":{"border":{"radius":"0px"}},"className":"is-style-cormorant-primary-filled-square-button"} -->
<div class="wp-block-button is-style-cormorant-primary-filled-square-button"><a class="wp-block-button__link wp-element-button" style="border-radius:0px"><?php echo esc_attr__( 'Learn More', 'cormorant' ); ?></a></div>
<div class="wp-block-button is-style-cormorant-primary-filled-square-button"><a class="wp-block-button__link wp-element-button" style="border-radius:0px"><?php echo esc_html__( 'Learn More', 'cormorant' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column --></div>
Expand Down
12 changes: 6 additions & 6 deletions patterns/columns-side-border.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,32 +16,32 @@
<div class="wp-block-group alignfull has-background-color has-text-color" style="padding-top:var(--wp--preset--spacing--4-xl);padding-bottom:var(--wp--preset--spacing--4-xl)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0","left":"0"}}},"className":"is-style-cormorant-columns-side-border"} -->
<div class="wp-block-columns alignwide is-style-cormorant-columns-side-border"><!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|l","right":"var:preset|spacing|l","bottom":"var:preset|spacing|l","left":"var:preset|spacing|l"}}},"textColor":"foreground"} -->
<div class="wp-block-column has-foreground-color has-text-color" style="padding-top:var(--wp--preset--spacing--l);padding-right:var(--wp--preset--spacing--l);padding-bottom:var(--wp--preset--spacing--l);padding-left:var(--wp--preset--spacing--l)"><!-- wp:heading {"level":3,"fontSize":"2-xl"} -->
<h3 class="wp-block-heading has-2-xl-font-size"><?php echo esc_attr__( 'How to change color', 'cormorant' ); ?></h3>
<h3 class="wp-block-heading has-2-xl-font-size"><?php echo esc_html__( 'How to change color', 'cormorant' ); ?></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><?php echo esc_attr__( 'The border colour can be changed <strong>by changing the text colour of the column.</strong> Libero fames porttitor eget primis turpis sollicitudin orci et dis urna augue, himenaeos felis semper non tempor fusce nam sit elit rhoncus.', 'cormorant' ); ?></p>
<p><?php echo esc_html__( 'The border colour can be changed <strong>by changing the text colour of the column.</strong> Libero fames porttitor eget primis turpis sollicitudin orci et dis urna augue, himenaeos felis semper non tempor fusce nam sit elit rhoncus.', 'cormorant' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"right"}} -->
<div class="wp-block-buttons"><!-- wp:button {"style":{"border":{"radius":"0px"}},"className":"is-style-cormorant-primary-filled-square-button"} -->
<div class="wp-block-button is-style-cormorant-primary-filled-square-button"><a class="wp-block-button__link wp-element-button" style="border-radius:0px"><?php echo esc_attr__( 'Learn More', 'cormorant' ); ?></a></div>
<div class="wp-block-button is-style-cormorant-primary-filled-square-button"><a class="wp-block-button__link wp-element-button" style="border-radius:0px"><?php echo esc_html__( 'Learn More', 'cormorant' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|l","right":"var:preset|spacing|l","bottom":"var:preset|spacing|l","left":"var:preset|spacing|l"}}},"textColor":"foreground"} -->
<div class="wp-block-column has-foreground-color has-text-color" style="padding-top:var(--wp--preset--spacing--l);padding-right:var(--wp--preset--spacing--l);padding-bottom:var(--wp--preset--spacing--l);padding-left:var(--wp--preset--spacing--l)"><!-- wp:heading {"level":3,"fontSize":"2-xl"} -->
<h3 class="wp-block-heading has-2-xl-font-size"><?php echo esc_attr__( 'How to change color', 'cormorant' ); ?></h3>
<h3 class="wp-block-heading has-2-xl-font-size"><?php echo esc_html__( 'How to change color', 'cormorant' ); ?></h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p><?php echo esc_attr__( 'The border colour can be changed <strong>by changing the text colour of the column.</strong> Libero fames porttitor eget primis turpis sollicitudin orci et dis urna augue, himenaeos felis semper non tempor fusce nam sit elit rhoncus.', 'cormorant' ); ?></p>
<p><?php echo esc_html__( 'The border colour can be changed <strong>by changing the text colour of the column.</strong> Libero fames porttitor eget primis turpis sollicitudin orci et dis urna augue, himenaeos felis semper non tempor fusce nam sit elit rhoncus.', 'cormorant' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"right"}} -->
<div class="wp-block-buttons"><!-- wp:button {"style":{"border":{"radius":"0px"}},"className":"is-style-cormorant-primary-filled-square-button"} -->
<div class="wp-block-button is-style-cormorant-primary-filled-square-button"><a class="wp-block-button__link wp-element-button" style="border-radius:0px"><?php echo esc_attr__( 'Learn More', 'cormorant' ); ?></a></div>
<div class="wp-block-button is-style-cormorant-primary-filled-square-button"><a class="wp-block-button__link wp-element-button" style="border-radius:0px"><?php echo esc_html__( 'Learn More', 'cormorant' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column --></div>
Expand Down
2 changes: 1 addition & 1 deletion patterns/footer-copyright-sns-icon-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<!-- /wp:group -->

<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"12px"}}} -->
<p class="has-text-align-center" style="font-size:12px"><a href="https://cormorant.kunokoji.com" target="_blank" rel="noreferrer noopener">Privacy Policy</a> / <a href="https://cormorant.kunokoji.com" target="_blank" rel="noreferrer noopener">Terms of Service</a> / <a href="https://cormorant.kunokoji.com" target="_blank" rel="noreferrer noopener">Contact Us</a></p>
<p class="has-text-align-center" style="font-size:12px"><a href="#" target="_blank" rel="noreferrer noopener">Privacy Policy</a> / <a href="#" target="_blank" rel="noreferrer noopener">Terms of Service</a> / <a href="#" target="_blank" rel="noreferrer noopener">Contact Us</a></p>
<!-- /wp:paragraph -->

<!-- wp:social-links {"iconColor":"contrast","iconColorValue":"#ffffff","iconBackgroundColor":"base","iconBackgroundColorValue":"#333333","openInNewTab":true,"style":{"spacing":{"blockGap":{"left":"var:preset|spacing|s"}}},"layout":{"type":"flex","justifyContent":"right","orientation":"horizontal"}} -->
Expand Down
2 changes: 1 addition & 1 deletion patterns/footer-copyright-sns-icon-contrast.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<!-- /wp:group -->

<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"12px"}}} -->
<p class="has-text-align-center" style="font-size:12px"><a href="https://cormorant.kunokoji.com" target="_blank" rel="noreferrer noopener">Privacy Policy</a> / <a href="https://cormorant.kunokoji.com" target="_blank" rel="noreferrer noopener">Terms of Service</a> / <a href="https://cormorant.kunokoji.com" target="_blank" rel="noreferrer noopener">Contact Us</a></p>
<p class="has-text-align-center" style="font-size:12px"><a href="#" target="_blank" rel="noreferrer noopener">Privacy Policy</a> / <a href="#" target="_blank" rel="noreferrer noopener">Terms of Service</a> / <a href="#" target="_blank" rel="noreferrer noopener">Contact Us</a></p>
<!-- /wp:paragraph -->

<!-- wp:social-links {"iconColor":"base","iconColorValue":"#333333","iconBackgroundColor":"contrast","iconBackgroundColorValue":"#ffffff","openInNewTab":true,"style":{"spacing":{"blockGap":{"left":"var:preset|spacing|s"}}},"layout":{"type":"flex","justifyContent":"right","orientation":"horizontal"}} -->
Expand Down
2 changes: 1 addition & 1 deletion patterns/footer-copyright-sns-link-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<!-- /wp:group -->

<!-- wp:paragraph {"align":"right","style":{"typography":{"fontSize":"12px"}}} -->
<p class="has-text-align-right" style="font-size:12px"><a href="https://www.facebook.com/" target="_blank" rel="noreferrer noopener">Facebook</a>&nbsp;·&nbsp;<a href="https://twitter.com/" target="_blank" rel="noreferrer noopener">Twitter</a>&nbsp;·&nbsp;<a href="https://instagram.com/" target="_blank" rel="noreferrer noopener">Instagram</a></p>
<p class="has-text-align-right" style="font-size:12px"><a href="#" target="_blank" rel="noreferrer noopener">Facebook</a>&nbsp;·&nbsp;<a href="#" target="_blank" rel="noreferrer noopener">Twitter</a>&nbsp;·&nbsp;<a href="#" target="_blank" rel="noreferrer noopener">Instagram</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></footer>
<!-- /wp:group -->
2 changes: 1 addition & 1 deletion patterns/footer-copyright-sns-link-contrast.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<!-- /wp:group -->

<!-- wp:paragraph {"align":"right","style":{"typography":{"fontSize":"12px"}}} -->
<p class="has-text-align-right" style="font-size:12px"><a href="https://www.facebook.com/" target="_blank" rel="noreferrer noopener">Facebook</a>&nbsp;·&nbsp;<a href="https://twitter.com/" target="_blank" rel="noreferrer noopener">Twitter</a>&nbsp;·&nbsp;<a href="https://instagram.com/" target="_blank" rel="noreferrer noopener">Instagram</a></p>
<p class="has-text-align-right" style="font-size:12px"><a href="#" target="_blank" rel="noreferrer noopener">Facebook</a>&nbsp;·&nbsp;<a href="#" target="_blank" rel="noreferrer noopener">Twitter</a>&nbsp;·&nbsp;<a href="#" target="_blank" rel="noreferrer noopener">Instagram</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></footer>
<!-- /wp:group -->
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ License: CC0 https://creativecommons.org/publicdomain/zero/1.0/
Source: https://stocksnap.io/photo/bird-flying-3NQ5V9WW0G

== Changelog ==
Version 2.0.1(2023-04-15)
--------------------
- Fixed some bugs

Version 2.0.0(2023-04-15)
--------------------
- Updated to fix for WordPress 6.2
Expand Down
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Theme URI: https://cormorant.kunokoji.com
description: This theme is Block Theme supporting Full Site Editing. Gifu City in Gifu Prefecture, Japan is famous for a traditional fishing method called Ukai (cormorant fishing). That's how I came up with the name. Simple design, universal designed fonts available, many block patterns and styles. You can use for blog, single page for business, self portfolio, and more. This theme will be tested trying for new featured WordPress. So occasional disruptive changes may be made.
Author: Koji Kuno
Author URI: https://kunokoji.com
Tags: blog, grid-layout, one-column, two-columns, three-columns, four-columns, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks, full-site-editing
Version: 2.0.0
Tags: blog, news, photography, one-column, block-patterns, block-styles, editor-style, sticky-post, full-site-editing, style-variations, threaded-comments, translation-ready, wide-blocks
Version: 2.0.1
Requires PHP: 5.6
Tested up to: 6.2
License: GNU General Public License v2 or later
Expand Down

0 comments on commit 8c22d3e

Please sign in to comment.