<commit_before>// rem.sass
//
// @package assetify/helpers
// @media screen
// @version 1.0
// @see https://github.com/bitmanic/rem

// Baseline, measured in pixels. The value should be the same as the font-size value for the html element.
// If the html element's font-size is set to 62.5% (of the browser's default font-size of 16px), then the
// variable below would be 10px.
$baseline-px: 10px !default

=rem($property, $px-values)
  // Convert the baseline into rems
  $baseline-rem: $baseline-px / 1rem

  // Print the first line in pixel values
  #{$property}: $px-values

  // If there is only one (numeric) value, return the property/value line for it.
  @if type-of($px-values) == "number"
    #{$property}: $px-values / $baseline-rem
  @else
    // Create an empty list that we can dump values into<commit_msg>[➠] Use “@mixin” instead of “=”.<commit_after>// rem.sass
//
// @package assetify/helpers
// @media screen
// @version 1.0
// @see https://github.com/bitmanic/rem

// Baseline, measured in pixels. The value should be the same as the font-size value for the html element.
// If the html element's font-size is set to 62.5% (of the browser's default font-size of 16px), then the
// variable below would be 10px.
$baseline-px: 10px !default

@mixin rem($property, $px-values)
  // Convert the baseline into rems
  $baseline-rem: $baseline-px / 1rem

  // Print the first line in pixel values
  #{$property}: $px-values

  // If there is only one (numeric) value, return the property/value line for it.
  @if type-of($px-values) == "number"
    #{$property}: $px-values / $baseline-rem
  @else
    // Create an empty list that we can dump values into
{'fraction_non_alphanumeric': 0.1331733653269346, 'fraction_numerical': 0.014397120575884824, 'mean_word_length': 3.1492537313432836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7239318', 'n_tokens_mistral': 560, 'n_tokens_neox': 518, 'n_words': 211}