.ds-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  // padding: 4px;
  border: var(--border-200) solid transparent;
  border-radius: var(--radius-1000);
  cursor: pointer;

  > img {
    border-radius: var(--radius-1000);

    &:hover {
      border: var(--border-200) solid var(--background-accent);
    }
  }

  &.placeholder {
    background: var(--layer-disabled);
    color: var(--icon-on-disabled);
    border: var(--border-200) solid var(--layer-disabled);
    &:hover {
      border: var(--border-200) solid var(--background-accent);
    }

    > .ds-icon {
      color: var(--icon-on-disabled);
    }
  }

  &.x-large {
    width: 64px;
    height: 64px;

    > img {
      width: 64px;
      height: 64px;
    }
  }

  &.large {
    width: 48px;
    height: 48px;

    > img {
      width: 48px;
      height: 48px;
    }
  }

  &.medium {
    width: 40px;
    height: 40px;

    > img {
      width: 40px;
      height: 40px;
    }
  }

  &.small {
    width: 32px;
    height: 32px;

    > img {
      width: 32px;
      height: 32px;
    }
  }

  &.x-small {
    width: 24px;
    height: 24px;

    > img {
      width: 24px;
      height: 24px;
    }
  }
}
