x-skeleton {
  cursor: progress;
  border-radius: 0.25rem;
  background-color: rgba(var(--color-text-rgb, 74, 74, 74), 0.2);
  display: inline-block;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}
x-skeleton::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0));
  animation: shimmer 2s infinite;
  content: "";
}
.is-dark-mode x-skeleton {
  background-color: rgba(var(--color-text-rgb, 74, 74, 74), 0.4);
}

x-action:not(.action-color-default) x-skeleton, x-notification:not(.notification-default) x-skeleton {
  background-color: rgba(var(--color-text-light-rgb, 254, 254, 254), 0.4) !important;
}

@keyframes skeleton {
  to {
    background-color: var(--color-border, #C8C7CC);
  }
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}