.toast-notification-container {
  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  .toast-notification {
    padding: var(--spacing);
    min-width: 100px;
    background: rgba($gray-900, 0.6);
    color: $gray-000;
    text-align: center;
    border-radius: 100px;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);

    // This is so sad but CodeMirror uses z-indexes like crazy
    // and we need to make sure we stay above all of that.
    z-index: 20;
  }

  kbd {
    background: rgba($gray-000, 0.2);
    border-radius: var(--border-radius);
    display: inline-block;
    font-family: var(--font-family-monospace);
    font-size: var(--font-size-sm);
    padding: var(--spacing-half);
    line-height: 9px;
  }
}

.toast-animation {
  &-appear { transform: scale(0.25); opacity: 0.1; }
  &-appear-active {
    transform: scale(1);
    opacity: 1;
    transition: all 100ms ease-out;
  }

  &-leave-active { opacity: 0; transition: all 100ms ease-out; }
}

.toast-notification-container {
  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  .toast-notification {
    padding: var(--spacing);
    min-width: 100px;
    background: rgba($gray-900, 0.6);
    color: $gray-000;
    text-align: center;
    border-radius: 100px;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);

    // This is so sad but CodeMirror uses z-indexes like crazy
    // and we need to make sure we stay above all of that.
    z-index: 20;
  }

  kbd {
    border-radius: var(--border-radius);
    border: var(--base-border);
    display: inline-block;
    font-family: var(--font-family-monospace);
    padding: var(--spacing-half);
    line-height: 1;
  }
}

.toast-animation {
  &-appear { transform: scale(0.25); opacity: 0.1; }
  &-appear-active {
    transform: scale(1);
    opacity: 1;
    transition: all 100ms ease-out;
  }

  &-leave-active { opacity: 0; transition: all 100ms ease-out; }
}

Tweak keyboard styles in toasts
Tweak keyboard styles in toasts
