Skip to content

Commit

Permalink
Bump version to 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
madalingorbanescu committed Apr 28, 2020
1 parent 9c57b12 commit 3d37bcf
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 63 deletions.
82 changes: 39 additions & 43 deletions assets/scss/editor.scss
Original file line number Diff line number Diff line change
@@ -1,55 +1,51 @@

// GUTENBERG EDITOR-ONLY STYLES
// ----------------------------------

@import "settings";

@import "tools/functions";
@import "tools/mixins";
@import "tools/queries";
@import "tools/baseline";
@import "tools/aliases";

.edit-post-visual-editor {
@import "trumps/bass";
@import "base/type";
@import "base/gutenberg";

.editor-post-title__input {
@extend %h1;
font-size: 3.5rem;
}

&.editor-styles-wrapper {
.wp-block-paragraph {
@extend %alpha;
}
}

.intro {
font-size: rem(18px);
font-weight: 500;
line-height: 1.75;
-webkit-font-smoothing: antialiased;

@include query-below($lap) {
font-size: 1.2em;
color: #000000;
}
}

.wp-block-preformatted pre,
.wp-block-verse pre,
pre.wp-block-verse {
color: inherit;
}

.wp-block-quote:not(.is-large):not(.is-style-large) {
border-left: 0;
padding-left: 0;
}

blockquote p {
font: inherit;
@import "trumps/bass";
@import "base/type";
@import "base/gutenberg";

.editor-post-title__input {
@extend %h1;
font-size: 3.5rem;
}

&.editor-styles-wrapper {
font-family: Roboto, sans-serif;
font-weight: 300;
}

.intro {
font-size: rem(18px);
font-weight: 500;
line-height: 1.75;
-webkit-font-smoothing: antialiased;

@include query-below($lap) {
font-size: 1.2em;
color: #000000;
}
}

.wp-block-preformatted pre,
.wp-block-verse pre,
pre.wp-block-verse {
color: inherit;
}

.wp-block-quote:not(.is-large):not(.is-style-large) {
border-left: 0;
padding-left: 0;
}

blockquote p {
font: inherit;
}
}
4 changes: 2 additions & 2 deletions assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Theme URI: https://github.com/pixelgrade/patch-lite
Author: Pixelgrade
Author URI: https://pixelgrade.com/
Description: Patch Lite is a free magazine WordPress theme for publishers who are keen to present their ideas in style. The adaptive layout adjusts to a wide range of content types to highlight the attitude of the creator and bring out the best in the spotlight. An easy-to-use WordPress theme for anyone who loves writing stories and to drive engagement around them.
Version: 1.3.2
Version: 1.3.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: patch-lite
Domain Path: /languages/
Tags: blog, custom-menu, editor-style, featured-images, one-column, rtl-language-support, sticky-post, threaded-comments, three-columns, translation-ready, two-columns, post-formats, custom-logo, custom-colors
Tags: blog, custom-menu, editor-style, featured-images, one-column, rtl-language-support, sticky-post, threaded-comments, three-columns, translation-ready, two-columns, post-formats, custom-logo, custom-colors, block-styles
Requires at least: 4.9.9
Tested up to: 5.4.0
Expand Down
5 changes: 4 additions & 1 deletion editor.css

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

11 changes: 0 additions & 11 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,17 +224,6 @@ function patch_lite_gutenberg_styles() {
wp_enqueue_style( 'patch-lite-gutenberg', get_theme_file_uri( '/editor.css' ), false );

wp_enqueue_style( 'patch-lite-google-fonts', patch_lite_fonts_url() );

$width = pixelgrade_option( 'content_width' );

$style = '
.edit-post-visual-editor[class] .editor-block-list__block,
.edit-post-visual-editor[class] .editor-post-title__block {
max-width: ' . $width . 'px;
}
}';
wp_add_inline_style( 'patch-lite-gutenberg', $style );

}

add_action( 'enqueue_block_editor_assets', 'patch_lite_gutenberg_styles' );
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Theme URI: https://github.com/pixelgrade/patch-lite
Author: Pixelgrade
Author URI: https://pixelgrade.com
Description: Patch Lite is a free magazine WordPress theme for publishers who are keen to present their ideas in style. The adaptive layout adjusts to a wide range of content types to highlight the attitude of the creator and bring out the best in the spotlight. An easy-to-use WordPress theme for anyone who loves writing stories and to drive engagement around them.
Version: 1.3.2
Version: 1.3.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires at least: 4.9.9
Tested up to: 5.4.0
Tags: blog, custom-menu, editor-style, featured-images, one-column, rtl-language-support, sticky-post, threaded-comments, three-columns, translation-ready, two-columns, post-formats, custom-logo, custom-colors
Tags: blog, custom-menu, editor-style, featured-images, one-column, rtl-language-support, sticky-post, threaded-comments, three-columns, translation-ready, two-columns, post-formats, custom-logo, custom-colors, block-styles

== Description ==

Expand All @@ -22,6 +22,10 @@ Patch Lite is a free magazine WordPress theme for publishers who are keen to pre

== Changelog ==

= 1.3.3 =
* Added compatibility with WordPress 5.4.
* Improved color opacity callback.

= 1.3.2 =
* Improved Gutenberg Editor compatibility.
* Youtube Videos are now fully responsive.
Expand Down
4 changes: 2 additions & 2 deletions style-rtl.css

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

4 changes: 2 additions & 2 deletions style.css

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

0 comments on commit 3d37bcf

Please sign in to comment.