Skip to content

Commit

Permalink
Try: Blue parents. (#31196)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Apr 26, 2021
1 parent 6f93825 commit a8b9dc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
left: $border-width;
right: $border-width;
bottom: $border-width;
box-shadow: 0 0 0 $border-width $gray-900;
box-shadow: 0 0 0 $border-width var(--wp-admin-theme-color);
border-radius: $radius-block-ui - $border-width; // Border is outset, so subtract the width to achieve correct radius.
}
}
Expand All @@ -275,7 +275,7 @@
cursor: unset;

&::after {
box-shadow: 0 0 0 $border-width $gray-900; // Selected not focussed
box-shadow: 0 0 0 $border-width var(--wp-admin-theme-color); // Selected not focussed.
top: $border-width;
left: $border-width;
right: $border-width;
Expand Down
4 changes: 2 additions & 2 deletions packages/block-library/src/template-part/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

.wp-block-template-part__selection-preview-item-title {
padding: $grid-unit-05;
font-size: 12px;
font-size: $helptext-font-size;
text-align: left;
}

Expand All @@ -66,7 +66,7 @@
.block-editor-block-list__block[data-type="core/template-part"] {
&.has-child-selected {
&::after {
border: $border-width dotted $gray-900;
border: $border-width dotted var(--wp-admin-theme-color);
}

&.is-hovered,
Expand Down

0 comments on commit a8b9dc2

Please sign in to comment.