Skip to content

Commit

Permalink
use var (#23221)
Browse files Browse the repository at this point in the history
  • Loading branch information
Addison-Stavlo authored Jun 16, 2020
1 parent c0ea950 commit 7433677
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-library/src/template-part/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
border: $border-width solid transparent;

&:hover {
border: $border-width solid $theme-color;
border: $border-width solid var(--wp-admin-theme-color);
}

&:focus {
box-shadow: inset 0 0 0 1px $white, 0 0 0 $border-width-focus $theme-color;
box-shadow: inset 0 0 0 1px $white, 0 0 0 $border-width-focus var(--wp-admin-theme-color);

// Windows High Contrast mode will show this outline, but not the box-shadow.
outline: 2px solid transparent;
Expand Down Expand Up @@ -96,7 +96,7 @@
}

.wp-block-template-part__placeholder-panel-group-title {
color: $theme-color;
color: var(--wp-admin-theme-color);
text-transform: uppercase;
font-size: 11px;
font-weight: 500;
Expand Down

0 comments on commit 7433677

Please sign in to comment.