/* ==========================================================================
 * Text - Mixins
 * ========================================================================== */

@define-mixin mds-m-text {
  color: var(--mds-t-text-color--primary);
  overflow-wrap: break-word;
  word-break: break-word;
}

@define-mixin mds-m-text--size-xxl {
  font-size: var(--mds-d-font-size--xxl);
  font-weight: var(--mds-d-font-weight--normal);
  line-height: var(--mds-d-line-height--xxl);
}

@define-mixin mds-m-text--size-xl {
  font-size: var(--mds-d-font-size--xl);
  font-weight: var(--mds-d-font-weight--normal);
  line-height: var(--mds-d-line-height--xl);
}

@define-mixin mds-m-text--size-lg {
  font-size: var(--mds-d-font-size--lg);
  font-weight: var(--mds-d-font-weight--normal);
  line-height: var(--mds-d-line-height--lg);
}

@define-mixin mds-m-text--size-med {
  font-size: var(--mds-d-font-size--med);
  font-weight: var(--mds-d-font-weight--normal);
  line-height: var(--mds-d-line-height--med);
}

@define-mixin mds-m-text--size-sm {
  font-size: var(--mds-d-font-size--sm);
  font-weight: var(--mds-d-font-weight--normal);
  line-height: var(--mds-d-line-height--sm);
}

@define-mixin mds-m-text--size-xs {
  font-size: var(--mds-d-font-size--xs);
  font-weight: var(--mds-d-font-weight--normal);
  line-height: var(--mds-d-line-height--xs);
}
