@use "../../settings";

/*
Weight

The weight module.

DEPRECATED: This module is deprecated. Use instead .#{settings.$util-prefix}--font-weight.

Weight: -94

Style guide: #{settings.$prefix}-text.weight
*/

@warn "[DEPRECATED] .#{settings.$prefix}-text--weight is deprecated. Use instead .#{settings.$util-prefix}--font-weight.";

/*
Modifiers

The weight modifiers.

Weight: -100

Markup: <h1 class="#{settings.$prefix}-text  {{modifier_class}}">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</h1>
<p class="#{settings.$prefix}-text  {{modifier_class}}">あのイーハトーヴォのすきとおった風、夏でも底に冷たさをもつ青いそら、うつくしい森で飾られたモリーオ市、郊外のぎらぎらひかる草の波。</p>

#{settings.$prefix}-text--weight-normal - Normal
#{settings.$prefix}-text--weight-bold - Bold

Style guide: #{settings.$prefix}-text.weight.builtin
*/
.#{settings.$prefix}-text--weight {
  $pkg: settings.$pkg;

  &-normal {
    --font-weight: var(--#{$pkg}-font-weight-regular);
  }

  &-bold {
    --font-weight: var(--#{$pkg}-font-weight-bold);
  }
}
