Skip to content

Commit

Permalink
Merge pull request #36 from Slobork/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Slobork authored Nov 12, 2023
2 parents 7b752ae + 8e5b546 commit bbd8230
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 15 deletions.
2 changes: 1 addition & 1 deletion assets/css/blocks/core-list.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ul.is-style-icecubo-check-list, ul.is-style-icecubo-plus-list {list-style-type: none; padding: 0;}
ul.is-style-icecubo-check-list, ul.is-style-icecubo-plus-list {list-style-type: none; padding-left: 1rem;}
ul.is-style-icecubo-check-list li, ul.is-style-icecubo-plus-list li {position: relative; list-style-type: none; padding-left: 1.2em; margin-bottom: .1rem;}
ul.is-style-icecubo-check-list li::before, ul.is-style-icecubo-plus-list li::before {display: block; position: absolute; left: 0; top: 3%;}
ul.is-style-icecubo-check-list li::before {content: '✓';}
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Author URI: https://maxpressy.com
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Version: 1.1.6
* Version: 1.1.7
* Text Domain: icecubo
* Domain Path: /languages
* Requires at least: 6.1
Expand Down
12 changes: 6 additions & 6 deletions patterns/boxes-with-sub-heading-colorized.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
*/
?>
<!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|medium","right":"var:preset|spacing|medium","bottom":"var:preset|spacing|medium","left":"var:preset|spacing|medium"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","gradient":"123-shade-2-to-primaryish-to-shade-4-normal","className":"has-darko-down-bottom-color"} -->
<div class="wp-block-column has-darko-down-bottom-color has-white-color has-123-shade-2-to-primaryish-to-shade-4-normal-gradient-background has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--medium)"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|highlight-3"}}}},"textColor":"highlight-3"} -->
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|medium","right":"var:preset|spacing|medium","bottom":"var:preset|spacing|medium","left":"var:preset|spacing|medium"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","gradient":"shade-2-to-primaryish-to-shade-4-diagonal","className":"has-darko-down-bottom-color"} -->
<div class="wp-block-column has-darko-down-bottom-color has-white-color has-shade-2-to-primaryish-to-shade-4-diagonal-gradient-background has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--medium)"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|highlight-3"}}}},"textColor":"highlight-3"} -->
<p class="has-highlight-3-color has-text-color has-link-color">SUBTITLE</p>
<!-- /wp:paragraph -->

Expand All @@ -27,8 +27,8 @@
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|medium","right":"var:preset|spacing|medium","bottom":"var:preset|spacing|medium","left":"var:preset|spacing|medium"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","gradient":"123-shade-2-to-primaryish-to-shade-4-normal","className":"has-darko-down-bottom-color"} -->
<div class="wp-block-column has-darko-down-bottom-color has-white-color has-123-shade-2-to-primaryish-to-shade-4-normal-gradient-background has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--medium)"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|highlight-3"}}}},"textColor":"highlight-3"} -->
<!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|medium","right":"var:preset|spacing|medium","bottom":"var:preset|spacing|medium","left":"var:preset|spacing|medium"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","gradient":"shade-2-to-primaryish-to-shade-4-diagonal","className":"has-darko-down-bottom-color"} -->
<div class="wp-block-column has-darko-down-bottom-color has-white-color has-shade-2-to-primaryish-to-shade-4-diagonal-gradient-background has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--medium)"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|highlight-3"}}}},"textColor":"highlight-3"} -->
<p class="has-highlight-3-color has-text-color has-link-color">SUBTITLE</p>
<!-- /wp:paragraph -->

Expand All @@ -47,8 +47,8 @@
<!-- /wp:buttons --></div>
<!-- /wp:column -->

<!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|medium","right":"var:preset|spacing|medium","bottom":"var:preset|spacing|medium","left":"var:preset|spacing|medium"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","gradient":"123-shade-2-to-primaryish-to-shade-4-normal","className":"has-darko-down-bottom-color"} -->
<div class="wp-block-column has-darko-down-bottom-color has-white-color has-123-shade-2-to-primaryish-to-shade-4-normal-gradient-background has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--medium)"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|highlight-3"}}}},"textColor":"highlight-3"} -->
<!-- wp:column {"style":{"spacing":{"padding":{"top":"var:preset|spacing|medium","right":"var:preset|spacing|medium","bottom":"var:preset|spacing|medium","left":"var:preset|spacing|medium"}},"elements":{"link":{"color":{"text":"var:preset|color|white"}}}},"textColor":"white","gradient":"shade-2-to-primaryish-to-shade-4-diagonal","className":"has-darko-down-bottom-color"} -->
<div class="wp-block-column has-darko-down-bottom-color has-white-color has-shade-2-to-primaryish-to-shade-4-diagonal-gradient-background has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--medium);padding-right:var(--wp--preset--spacing--medium);padding-bottom:var(--wp--preset--spacing--medium);padding-left:var(--wp--preset--spacing--medium)"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|highlight-3"}}}},"textColor":"highlight-3"} -->
<p class="has-highlight-3-color has-text-color has-link-color">SUBTITLE</p>
<!-- /wp:paragraph -->

Expand Down
4 changes: 2 additions & 2 deletions patterns/hero-media-text-cta-left-aligned-light.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<p class="is-style-default">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor.</p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex"}} -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"highlight-1"} /--></div>
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"highlight-1","textColor":"white","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}}}} /--></div>
<!-- /wp:buttons --></div><figure class="wp-block-media-text__media"><img src="" alt=""/></figure></div>
<!-- /wp:media-text --></div>
<!-- /wp:group --></div></div>
Expand Down
2 changes: 1 addition & 1 deletion patterns/hero-media-text-cta-light.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"highlight-1"} /--></div>
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"highlight-1","textColor":"white","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"}}}}} /--></div>
<!-- /wp:buttons --></div><figure class="wp-block-media-text__media"><img src="" alt=""/></figure></div>
<!-- /wp:media-text --></div>
<!-- /wp:group --></div></div>
Expand Down
2 changes: 1 addition & 1 deletion patterns/post-header-featured-in-cover.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
?>
<!-- wp:cover {"useFeaturedImage":true,"dimRatio":40,"contentPosition":"bottom center","align":"full","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|large"}},"color":{"duotone":"unset"}},"textColor":"darko","layout":{"type":"default"}} -->
<div class="wp-block-cover alignfull has-custom-content-position is-position-bottom-center has-darko-color has-text-color" style="margin-bottom:var(--wp--preset--spacing--large)"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-40 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"0"},"padding":{"top":"var:preset|spacing|large","bottom":"var:preset|spacing|large"},"blockGap":"0.75rem"}},"layout":{"type":"flex","orientation":"horizontal","justifyContent":"center","flexWrap":"wrap"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"0"},"padding":{"top":"var:preset|spacing|large","bottom":"var:preset|spacing|large"},"blockGap":"0.75rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center","flexWrap":"wrap"}} -->
<div class="wp-block-group alignwide" style="margin-top:0;padding-top:var(--wp--preset--spacing--large);padding-bottom:var(--wp--preset--spacing--large)"><!-- wp:post-title {"level":1,"style":{"spacing":{"margin":{"top":"var:preset|spacing|small"}}},"textColor":"white-ice"} /-->

<!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex"},"fontSize":"extra-small"} -->
Expand Down
4 changes: 2 additions & 2 deletions patterns/post-header-sharp-diagonal-bg.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Categories: icecubo-post-header
*/
?>
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|xxx-large"},"blockGap":"var:preset|spacing|small"}},"gradient":"primary-to-transparent-linear-sharp-corner","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-primary-to-transparent-linear-sharp-corner-gradient-background has-background" style="padding-top:var(--wp--preset--spacing--xxx-large)"><!-- wp:post-title {"level":1,"style":{"spacing":{"margin":{"top":"var:preset|spacing|small"}}}} /-->
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|medium"},"blockGap":"var:preset|spacing|small"},"dimensions":{"minHeight":"900px"}},"gradient":"primary-to-transparent-linear-sharp-corner","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-primary-to-transparent-linear-sharp-corner-gradient-background has-background" style="min-height:900px;padding-top:var(--wp--preset--spacing--medium)"><!-- wp:post-title {"level":1,"style":{"spacing":{"margin":{"top":"var:preset|spacing|small"}}}} /-->

<!-- wp:group {"style":{"spacing":{"blockGap":"0.75rem"}},"layout":{"type":"flex"},"fontSize":"extra-small"} -->
<div class="wp-block-group has-extra-small-font-size"><!-- wp:post-date {"backgroundColor":"white-ice","className":"is-style-icecubo-oval-post-byline"} /-->
Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ IceCubo is a block-based theme for WordPress. Fundamentally may be used as a sta

== Changelog ==

= 1.1.7 - 2023-11-13 =
* Fix styling on some patterns (e.g. missing background, padding adjustment, color)
* Change margin for the image block

= 1.1.6 - 2023-11-08 =
* Update exisitng patterns
* Add new patterns (pages, posts, magazine)
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Description: IceCubo is a block-based theme for WordPress. Fundamentally may be
Requires at least: 6.1
Tested up to: 6.3
Requires PHP: 5.7
Version: 1.1.6
Version: 1.1.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template:
Expand Down
3 changes: 3 additions & 0 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,9 @@
"core/details": {
"css": "&:not(.noice) p {border-left: 1px solid; padding-left: 1.5rem; margin-left: .25em;}"
},
"core/image": {
"css": " {margin: .5rem 0 1rem}"
},
"core/navigation": {
"css": "&:not(.noice) > .wp-block-navigation-item.current-menu-item{box-shadow: 0 2px 0;}"
},
Expand Down

0 comments on commit bbd8230

Please sign in to comment.