-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with block binding indicator color
- Loading branch information
1 parent
3f9fa3b
commit 4dc1103
Showing
6 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
|
||
// It is important to include these styles in all built stylesheets. | ||
// This allows to CSS variables post CSS plugin to generate fallbacks. | ||
// It also provides default CSS variables for npm package consumers. | ||
:root { | ||
@include admin-scheme(#007cba); | ||
--wp-block-synced-color: #7a00df; | ||
--wp-block-synced-color--rgb: #{hex-to-rgb(#7a00df)}; | ||
--wp-bound-block-color: #9747ff; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
packages/block-editor/src/components/block-bindings-toolbar-indicator/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
.block-toolbar__block-bindings-indicator { | ||
.block-editor-block-bindings-toolbar-indicator { | ||
display: inline-flex; | ||
align-items: center; | ||
height: 48px; | ||
padding: 6px; | ||
} | ||
|
||
.block-editor__block-bindings-indicator svg g { | ||
stroke: #9747ff; | ||
fill: transparent; | ||
stroke-width: 1.5; | ||
stroke-linecap: round; | ||
stroke-linejoin: round; | ||
svg g { | ||
stroke: var(--wp-bound-block-color); | ||
fill: transparent; | ||
stroke-width: 1.5; | ||
stroke-linecap: round; | ||
stroke-linejoin: round; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters