@use 'pix-design-tokens/typography';

.paragraph {
  @extend %pix-body-m;

  color: var(--pix-neutral-500);
}

.help-text {
  @extend %pix-body-xs;

  color: var(--pix-neutral-500);
}

.information-text {
  @extend %pix-title-s;

  color: var(--pix-neutral-500);
}

.label-text {
  @extend %pix-body-s;

  color: var(--pix-neutral-20)0;

  &--dark {
    color: var(--pix-neutral-500);
  }

  &--small {
    font-size: 0.75rem;
  }
}

.value-text {
  @extend %pix-body-m;

  color: var(--pix-neutral-800);
  font-weight: 500;

  &--highlight {
    color: var(--pix-neutral-900);
    font-size: 1.125rem;
  }
}

.content-text {
  @extend %pix-body-m;

  color: var(--pix-neutral-500);

  &--bold {
    color: var(--pix-neutral-900);
    font-weight: 700;
  }

  &--big {
    font-weight: 300;
    font-size: 1.5rem;
  }

  &--small {
    font-size: 0.8125rem;
  }
}

.link {
  color: var(--pix-primary-500);
  text-decoration: none;
  background-color: inherit;
  border: none;
  outline: none;

  &:hover,
  &:focus,
  &:active {
    color: var(--pix-primary-700);
    text-decoration: underline;
  }

  &--bold {
    font-weight: 600;
  }

  &--underlined {
    text-decoration: underline;
  }

  &--white {
    color: var(--pix-neutral-0);

    &:hover {
      color: var(--pix-neutral-0);
      opacity: 0.85;
    }

    &:focus,
    &:active {
      color: var(--pix-neutral-900);
      background-color: var(--pix-warning-500);
    }
  }

  &--banner {
    color: inherit;
  }
}
