.svg-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;

  svg {
    // Apparently this won't skew the image as long as it has a viewbox
    width: 100%;
    height: 100%;
    transition: 0.2s;
  }

  &--active {
    &.svg-icon--home svg {
      fill: currentColor;
    }

    svg.icon-tabler-search,
    svg.icon-tabler-code {
      stroke-width: 2.3px;
    }

    svg.icon-tabler-bell,
    svg.icon-tabler-messages {
      path:nth-child(2) {
        fill: currentColor;
      }
    }

    svg.icon-tabler-users {
      circle,
      circle + path {
        fill: currentColor;
      }
    }

    svg.icon-tabler-mail {
      stroke: var(--background-color);

      rect {
        fill: currentColor;
        stroke: currentColor;
      }
    }
  }

  &--unread {
    svg.icon-tabler-bell {
      transform: rotate(45deg);
    }
  }
}

.icon-button > div {
  display: flex;
  align-items: center;
  justify-content: center;
}