&.style-8 {
  --toggle-bg-light: url("../images/toggles/toggle8/light-bg.png") no-repeat center / cover;;
  --toggle-bg-dark: url("../images/toggles/toggle8/dark-bg.png") no-repeat center / cover;
  --toggle-icon-light: #484D60;
  --toggle-icon-dark: #484D60;
  --toggle-icon-bg-light: #FFF;
  --toggle-icon-bg-dark: #FFF;

  width: calc(90px * var(--toggle-scale));
  aspect-ratio: 2 / 1;
  background: var(--toggle-bg-light);
  border-radius: 100px;
  display: flex;
  flex-flow: row;
  align-items: center;
  padding: .25rem;
  box-shadow: 0 .25rem .25rem rgba(0, 0, 0, 0.2);
  transition: background 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: dracula-slide 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);


  @keyframes dracula-slide {
    from {
      flex-flow: row-reverse;
    }
    to {
      flex-flow: row;
    }
  }

  @keyframes dracula-slide-reverse {
    from {
      flex-flow: row;
    }
    to {
      flex-flow: row-reverse;
    }
  }

  .dracula-toggle-icon {
    width: 100%;
    height: 100%;
    background: var(--toggle-icon-light);
    mask: url("../images/toggles/light.svg") no-repeat center / cover;

    &-wrap {
      aspect-ratio: 1;
      height: 100%;
      padding: .5rem;
      border-radius: 50%;
      background: var(--toggle-icon-bg-light);
      box-shadow: 0 .2rem .2rem rgba(0, 0, 0, 0.2);
    }
  }


  &.mode-dark {
    background: var(--toggle-bg-dark);
    flex-flow: row-reverse;
    border: 1px solid #555;
    animation: dracula-slide-reverse 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    .dracula-toggle-icon {
      background: var(--toggle-icon-dark);
      mask: url("../images/toggles/dark.svg") no-repeat center / contain;

      &-wrap {
        background: #fff;
      }
    }

  }

}