From d5cfcc8ba7aab46b1492f7fe21b64ac3b2e2a406 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 5 Jul 2021 13:56:04 +0100 Subject: [PATCH] Fix mobile drawer not using spectrum colours --- packages/standard-components/src/Layout.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/standard-components/src/Layout.svelte b/packages/standard-components/src/Layout.svelte index 48ff4ceae4..df0bd19525 100644 --- a/packages/standard-components/src/Layout.svelte +++ b/packages/standard-components/src/Layout.svelte @@ -314,7 +314,7 @@ transition: transform 0.26s ease-in-out, opacity 0.26s ease-in-out; height: 100vh; opacity: 0; - background: white; + background: var(--spectrum-alias-background-color-secondary); z-index: 999; flex-direction: column; justify-content: flex-start; @@ -328,7 +328,8 @@ .links.visible { opacity: 1; transform: translateX(250px); - box-shadow: 0 0 40px 20px rgba(0, 0, 0, 0.1); + box-shadow: 0 0 80px 20px rgba(0, 0, 0, 0.2); + border-right: 1px solid var(--spectrum-global-color-gray-300); } .mobile-click-handler.visible { position: fixed;