-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch color block support and global styles to use ToolsPanel
Add color inspector controls slot and update color ToolsPanel use
- Loading branch information
1 parent
a0c59f2
commit 23b288b
Showing
6 changed files
with
218 additions
and
18 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
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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.color-block-support-panel { | ||
.components-base-control__label { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.components-circular-option-picker__swatches { | ||
display: grid; | ||
grid-template-columns: repeat(6, 28px); | ||
margin-right: 0; | ||
margin-bottom: $grid-unit-10; | ||
row-gap: $grid-unit-15; | ||
justify-content: space-between; | ||
} | ||
|
||
.components-circular-option-picker__option-wrapper, | ||
.components-angle-picker-control { | ||
margin: 0; | ||
} | ||
|
||
.components-notice__content, | ||
.components-circular-option-picker__dropdown-link-action { | ||
margin-right: 0; | ||
} | ||
|
||
.block-editor-contrast-checker { | ||
grid-column: span 2; | ||
} | ||
} |
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