Skip to content

The agent that grows with you

1.3 KB
Raw Blame
.wake-indicator-surface {
  align-items: flex-start;
  background: transparent;
  display: flex;
  height: 100vh;
  justify-content: center;
  padding-top: 5px;
  pointer-events: none;
  width: 100vw;
}

.wake-indicator-light {
  backdrop-filter: blur(20px) saturate(1.2);
  background: rgba(124, 58, 237, 0.62);
  border: 1px solid rgba(216, 180, 254, 0.82);
  border-radius: 999px;
  box-shadow:
    0 0 10px rgba(124, 58, 237, 0.7),
    0 0 24px rgba(168, 85, 247, 0.48);
  height: 28px;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
  width: 120px;
}

.wake-indicator-surface[data-state='detected'] .wake-indicator-light {
  animation: wake-indicator-breathe 2.5s ease-in-out infinite;
}

.wake-indicator-surface[data-state='capturing'] .wake-indicator-light {
  opacity: 1;
  transform: scale(1);
}

@keyframes wake-indicator-breathe {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.94;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wake-indicator-light {
    transition: opacity 200ms ease-out;
  }

  .wake-indicator-surface[data-state='detected'] .wake-indicator-light {
    animation: none;
    opacity: 0.72;
    transform: scale(1);
  }
}