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

@daveyholler Maybe something you can tackle in the Amsterdam theme?
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

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(
to right,
$euiGradientStartStop 45%,
$euiGradientMiddle 50%,
$euiGradientStartStop 55%,
);
}
// 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(
to right,
$euiGradientStartStop 45%,
$euiGradientMiddle 50%,
$euiGradientStartStop 55%,
);
}
This is definitely an improvement. I鈥檒l certainly tackle this in Amsterdam. It鈥檚 such a nice improvement though I wonder if we ought to just make this change against the current theme. Thoughts?
I think it's fine to just switch this everywhere.
馃憢 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.
Most helpful comment
I think it's fine to just switch this everywhere.