From e02c8cd466021b184c76cf783dc297f7481b258f Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 6 Dec 2022 11:18:26 +0000 Subject: [PATCH] Tweak skeleton colours to make slightly less pronounced --- packages/bbui/src/Skeleton/Skeleton.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/bbui/src/Skeleton/Skeleton.svelte b/packages/bbui/src/Skeleton/Skeleton.svelte index e12d37b057..92357a8c75 100644 --- a/packages/bbui/src/Skeleton/Skeleton.svelte +++ b/packages/bbui/src/Skeleton/Skeleton.svelte @@ -9,7 +9,7 @@ height: 100%; width: 100%; opacity: 0; - background-color: var(--spectrum-global-color-gray-300) !important; + background-color: var(--spectrum-global-color-gray-200) !important; border-radius: 7px; overflow: hidden; position: relative; @@ -31,8 +31,8 @@ background-image: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0, - rgba(255, 255, 255, 0.2) 20%, - rgba(255, 255, 255, 0.5) 60%, + rgba(255, 255, 255, 0.15) 20%, + rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0) ); animation: shimmer 2s infinite; @@ -44,7 +44,7 @@ opacity: 0; } 100% { - opacity: 1; + opacity: 0.75; } }