Skip to content

Commit

Permalink
Merge pull request #839 from vektor-inc/fix/button-primary-color
Browse files Browse the repository at this point in the history
プライマリーカラーの背景が抜ける応急処置
  • Loading branch information
kurudrive authored Oct 21, 2021
2 parents 4375ce8 + d795d82 commit 43249f2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link:
Tags: Gutenberg,FAQ,alert
Requires at least: 5.7
Tested up to: 5.8.1
Stable tag: 1.16.5
Stable tag: 1.16.6
Requires PHP: 5.6.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -63,6 +63,9 @@ e.g.

== Changelog ==

= 1.16.6 =
[ Bug fix ][ Button ] Fix primary bg color first aid

= 1.16.5 =
[ Bug fix ][ Button ] Fix wide size

Expand Down
5 changes: 5 additions & 0 deletions src/blocks/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ $vk-color-danger: #dc3545;
$vk-color-light:#f8f9fa;
$vk-color-dark:#343a40;

// プライマリーカラーのボタンの背景色が抜けるので応急措置アップデート
.has-vk-color-primary-background-color {
background-color:var(--vk-color-primary);
}

:root .vk_button,
:root .editor-styles-wrapper .vk_button{
& .has-vk-color-secondary-background-color {
Expand Down
2 changes: 1 addition & 1 deletion vk-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: VK Blocks Pro
* Plugin URI: https://github.com/vektor-inc/vk-blocks
* Description: This is a plugin that extends Gutenberg's blocks.
* Version: 1.16.5
* Version: 1.16.6
* Requires at least: 5.7
* Author: Vektor,Inc.
* Author URI: https://vektor-inc.co.jp
Expand Down

0 comments on commit 43249f2

Please sign in to comment.