Skip to content

Commit

Permalink
Apply elevation scale (#64656)
Browse files Browse the repository at this point in the history
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: ciampo <[email protected]>
Co-authored-by: jasmussen <[email protected]>
  • Loading branch information
4 people authored Aug 21, 2024
1 parent cc8009e commit 9d51f45
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $block-inserter-tabs-height: 44px;
.components-popover__content {
border: none;
outline: none;
box-shadow: $shadow-popover;
box-shadow: $elevation-x-small;

.block-editor-inserter__quick-inserter > * {
border-left: $border-width solid $gray-400;
Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/url-input/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ $input-size: 300px;
}

.block-editor-url-input__button-modal {
box-shadow: $shadow-popover;
box-shadow: $elevation-x-small;
border: 1px solid $gray-300;
background: $white;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/gallery/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
border: $border-width solid $gray-900;

&:hover {
box-shadow: $shadow-popover;
box-shadow: $elevation-x-small;
}

@include break-small() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

.components-accessible-toolbar {
border-color: $gray-300;
box-shadow: $shadow-popover;
box-shadow: $elevation-x-small;

.components-toolbar-group {
border-color: $gray-200;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
max-width: 780px;
padding: 20px;
margin-top: 60px;
box-shadow: $shadow-modal;
box-shadow: $elevation-large;
}
2 changes: 1 addition & 1 deletion packages/editor/src/components/error-boundary/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
max-width: 780px;
padding: 20px;
margin-top: 60px;
box-shadow: $shadow-modal;
box-shadow: $elevation-large;
}

0 comments on commit 9d51f45

Please sign in to comment.