@use 'sass:string';


@mixin base-text($fontFamily, $fontSize, $lineHeight) {
  font-family: #{string.unquote(
      $fontFamily +
        ', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif'
    )};
  font-style: normal;
  font-variant: normal;
  hyphens: manual;
  overflow-wrap: break-word;
  font-size: $fontSize;
  line-height: $lineHeight;
}


@mixin base-text-regular($fontFamily, $fontSize, $lineHeight) {
  @include base-text($fontFamily, $fontSize, $lineHeight);
  
  font-size-adjust: 0.414;
  font-weight: normal;
}


@mixin base-text-bold($fontFamily, $fontSize, $lineHeight) {
  @include base-text($fontFamily, $fontSize, $lineHeight);
  
  font-size-adjust: 0.426;
  font-weight: bold;
  font-synthesis-weight: none;
}
