You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiLoadingContent] Make indicators lighter? #3472
This type of indicator is usually used to build out skeleton screens, and in Cloud we think they'd be a lot better if they were a lighter shade of gray
Wanted to show a comparison of what we have in mind for the loading state using the current loading/text content color and a lighter EUI shade. It definitely makes the page less overwhelming and heavy with something lighter (shade here is just an example)
Agreed, it's pretty dark atm. Here's the actual UI side by side with a version where we hack loading styles:
Actual
Hacked
Custom styles:
.euiLoadingContent__singleLineBackground {
$euiGradientStartStop: tint($euiColorLightShade, 65%);
$euiGradientMiddle: tint($euiColorLightShade, 50%);
background: linear-gradient(
toright,
$euiGradientStartStop45%,
$euiGradientMiddle50%,
$euiGradientStartStop55%,
);
}
// this bit is just so the dark theme styling doesn't change, because it was already fine.euiTheme-dark.euiLoadingContent__singleLineBackground {
@import'../styles/variables.scss';
$euiGradientStartStop: shade($euiColorDarkestShade, 12%);
$euiGradientMiddle: shade($euiColorDarkestShade, 24%);
background: linear-gradient(
toright,
$euiGradientStartStop45%,
$euiGradientMiddle50%,
$euiGradientStartStop55%,
);
}
This is definitely an improvement. I’ll certainly tackle this in Amsterdam. It’s such a nice improvement though I wonder if we ought to just make this change against the current theme. Thoughts?
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.
Activity
cchaos commentedon May 13, 2020
@daveyholler Maybe something you can tackle in the Amsterdam theme?
kaleighflynn commentedon May 13, 2020
Wanted to show a comparison of what we have in mind for the loading state using the current loading/text content color and a lighter EUI shade. It definitely makes the page less overwhelming and heavy with something lighter (shade here is just an example)
Current EUI loading color

Lighter version

bevacqua commentedon May 13, 2020
Agreed, it's pretty dark atm. Here's the actual UI side by side with a version where we hack loading styles:
Custom styles:
daveyholler commentedon May 14, 2020
This is definitely an improvement. I’ll certainly tackle this in Amsterdam. It’s such a nice improvement though I wonder if we ought to just make this change against the current theme. Thoughts?
snide commentedon May 14, 2020
I think it's fine to just switch this everywhere.
[-]Make <EuiLoadingContent> indicators lighter?[/-][+][EuiLoadingContent] Make indicators lighter?[/+]github-actions commentedon Mar 20, 2021
👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.