From 9dc871d46178e546c52be22036dbd446b0600c21 Mon Sep 17 00:00:00 2001 From: James Koster Date: Tue, 20 Aug 2024 18:02:16 +0100 Subject: [PATCH] Apply elevation scale --- packages/block-editor/src/components/inserter/style.scss | 2 +- packages/block-editor/src/components/url-input/style.scss | 2 +- packages/block-library/src/gallery/editor.scss | 2 +- .../src/components/dataviews-bulk-actions-toolbar/style.scss | 2 +- packages/edit-widgets/src/components/error-boundary/style.scss | 2 +- packages/editor/src/components/error-boundary/style.scss | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/block-editor/src/components/inserter/style.scss b/packages/block-editor/src/components/inserter/style.scss index 960ca8b48cdf90..a567ce1cee07e5 100644 --- a/packages/block-editor/src/components/inserter/style.scss +++ b/packages/block-editor/src/components/inserter/style.scss @@ -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; diff --git a/packages/block-editor/src/components/url-input/style.scss b/packages/block-editor/src/components/url-input/style.scss index f8d84ae43b8089..e6ba17a71aaa5b 100644 --- a/packages/block-editor/src/components/url-input/style.scss +++ b/packages/block-editor/src/components/url-input/style.scss @@ -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; } diff --git a/packages/block-library/src/gallery/editor.scss b/packages/block-library/src/gallery/editor.scss index 025e86277f7edc..3184b9d3d8fb22 100644 --- a/packages/block-library/src/gallery/editor.scss +++ b/packages/block-library/src/gallery/editor.scss @@ -144,7 +144,7 @@ border: $border-width solid $gray-900; &:hover { - box-shadow: $shadow-popover; + box-shadow: $elevation-x-small; } @include break-small() { diff --git a/packages/dataviews/src/components/dataviews-bulk-actions-toolbar/style.scss b/packages/dataviews/src/components/dataviews-bulk-actions-toolbar/style.scss index 21e6c2ad4d4d64..5672234d8cbbb7 100644 --- a/packages/dataviews/src/components/dataviews-bulk-actions-toolbar/style.scss +++ b/packages/dataviews/src/components/dataviews-bulk-actions-toolbar/style.scss @@ -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; diff --git a/packages/edit-widgets/src/components/error-boundary/style.scss b/packages/edit-widgets/src/components/error-boundary/style.scss index c1605b42a5ea86..b909b79dc1d304 100644 --- a/packages/edit-widgets/src/components/error-boundary/style.scss +++ b/packages/edit-widgets/src/components/error-boundary/style.scss @@ -3,5 +3,5 @@ max-width: 780px; padding: 20px; margin-top: 60px; - box-shadow: $shadow-modal; + box-shadow: $elevation-large; } diff --git a/packages/editor/src/components/error-boundary/style.scss b/packages/editor/src/components/error-boundary/style.scss index d1b792d0ff3d32..2913a644b94576 100644 --- a/packages/editor/src/components/error-boundary/style.scss +++ b/packages/editor/src/components/error-boundary/style.scss @@ -3,5 +3,5 @@ max-width: 780px; padding: 20px; margin-top: 60px; - box-shadow: $shadow-modal; + box-shadow: $elevation-large; }