/*
 * RERO angular core
 * Copyright (C) 2024-2025 RERO
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, version 3 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  @apply ui:mt-0 ui:mb-2 ui:font-medium;
}

h1,
.h1 {
  @apply ui:text-5xl;
}

h2,
.h2 {
  @apply ui:text-4xl;
}

h3,
.h3 {
  @apply ui:text-3xl;
}

h4,
.h4 {
  @apply ui:text-2xl;
}

h5,
.h5 {
  @apply ui:text-xl;
}

h6,
.h6 {
  @apply ui:text-lg;
}

.text-info {
  color: var(--p-primary-600);
}

.text-success {
  color: var(--p-green-600);
}

.text-warning {
  color: var(--p-yellow-600);
}

.text-error {
  color: var(--p-red-600);
}

.text-link {
  @apply ui:text-primary-500 ui:hover:text-primary-600 ui:hover:underline ui:cursor-pointer;
}

.text-link-secondary {
  @apply ui:hover:text-primary-600 ui:cursor-pointer;
  color: var(--p-text-muted-color);
}
