Skip to content

VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.

1.3 KB
Raw Blame
/* Snapshot frame for the visual-regression harness.

   A fixed-width padded surface painted with the active theme's `--color-bg`
   / `--color-fg` tokens, so each component is captured on its own background
   exactly as the theme defines it. Fixed width keeps layout deterministic
   across runs; Playwright screenshots THIS element (#visual-root), not the
   whole page. */
.visual-root {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
  width: 460px;
  padding: 24px;
  box-sizing: border-box;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
}

/* Page/panel specs (providers opt-in) render a single full-width surface
   rather than a row of leaf variants — switch to a block so the panel fills
   the wider, configurable frame exactly as it does in the real Settings. */
.visual-root--page {
  display: block;
}

.visual-spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.visual-spec__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-fg-subtle);
}

.visual-spec__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.visual-root__error {
  color: var(--color-danger);
  font-family: var(--font-mono);
}