<commit_before>// UNITS MIXINS
// --------------------------------------------------------------------
// rem with a px fallback. Also converts px values to rem.
// github.com/drublic/Sass-Mixins/blob/master/partials/_rem.scss
@mixin x-rem ($property, $values, $main-font-size: 16px) {
    // Empty list for all values in px
    $px-values: ();
    $rem-values: ();
    // Iterate over entries
    @each $value in $values {
        // If the value is zero or of a type that doesn’t need conversion, return the value untouched
        @if ( $value == 0 ) or type_of($value) == string or type_of($value) == color or type_of($value) == bool {
            $px-values: append($px-values, $value);
            $rem-values: append($rem-values, $value);
        // Otherwise convert it properly
        } @else {
            $unit: unit($value);

            @if $unit == 'px' {
                $px-values: append($px-values, #{strip-unit($value)}px );
                $rem-values: append($rem-values, (strip-unit($value) / strip-unit($main-font-size) * 1rem));
            } @else {
                $px-values: append($px-values, ($value * $main-font-size) );
                $rem-values: append($rem-values, #{$value}rem);
            }
        }
    }
    // Return the property and its list of converted values
    #{$property}: #{$px-values};
    #{$property}: #{$rem-values};
}<commit_msg>Fixed some errors reported by scss-lint.<commit_after>// UNITS MIXINS
// --------------------------------------------------------------------
// rem with a px fallback. Also converts px values to rem.
// github.com/drublic/Sass-Mixins/blob/master/partials/_rem.scss
@mixin x-rem ($property, $values, $main-font-size: 16px) {
    // Empty list for all values in px
    $px-values: ();
    $rem-values: ();
    // Iterate over entries
    @each $value in $values {
        // If the value is zero or of a type that doesn’t need conversion, return the value untouched
        @if ($value == 0) or type-of($value) == string or type-of($value) == color or type-of($value) == bool {
            $px-values: append($px-values, $value);
            $rem-values: append($rem-values, $value);
        // Otherwise convert it properly
        } @else {
            $unit: unit($value);

            @if $unit == 'px' {
                $px-values: append($px-values, #{strip-unit($value)}px);
                $rem-values: append($rem-values, (strip-unit($value) / strip-unit($main-font-size) * 1rem));
            } @else {
                $px-values: append($px-values, ($value * $main-font-size));
                $rem-values: append($rem-values, #{$value}rem);
            }
        }
    }
    // Return the property and its list of converted values
    #{$property}: #{$px-values};
    #{$property}: #{$rem-values};
}
{'fraction_non_alphanumeric': 0.20629245620307474, 'fraction_numerical': 0.002860207365033965, 'mean_word_length': 1.8815653964984551, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1645867', 'n_tokens_mistral': 845, 'n_tokens_neox': 817, 'n_words': 227}