@use 'headings';
@use 'blockquotes';
@use 'links';
@use 'dividers';
@use 'paragraphs';
@use 'tabs';
@use 'tables';
@use 'code';
@use 'images';
@use 'lists';

// TODO: Figure out whether there are tailwind/primeng equivalents for these bootstrap classes:
.text-danger {
  color: var(--p-red-700);
}

// TODO: This (and the corresponding markup) needs to be moved to a component.
.inline-alert {
  display: block;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;

  &.mt-0 {
    margin-top: 0;
  }

  &.info {
    background-color: var(--p-blue-100);

    & > p {
      color: var(--p-blue-800);
    }
  }

  &.warning {
    background-color: var(--p-yellow-100);

    & > p {
      color: var(--p-yellow-800);
    }
  }

  & > p {
    margin: 0;

    &.small {
      font-size: 0.8rem;
    }

    & > i.pi {
      font-size: 0.9em;
      margin-right: 0.25rem;
    }
  }
}
