<commit_before>$colors: <% data.color.colors.each do |swatch| %>$<%= swatch.name %> <% end %>;

@function stripes($position, $colors) {
  $colors: if(type-of($colors) != 'list', compact($colors), $colors);
  $gradient: compact();
  $width: 100% / length($colors);

  @for $i from 1 through length($colors) {
    $pop: nth($colors,$i);
    $new: $pop ($width * ($i - 1)), $pop ($width * $i);
    $gradient: join($gradient, $new, comma);
  }

  @return linear-gradient($position, $gradient);
}

.pop-stripe {
  height: .5em;
  @include background-image(stripes(left, ($colors)));
  @include box-shadow(0 -1px 2px rgba(#000, .25) inset);
}<commit_msg>The stripe has no inline shadow and it's smaller<commit_after>$colors: <% data.color.colors.each do |swatch| %>$<%= swatch.name %> <% end %>;

@function stripes($position, $colors) {
  $colors: if(type-of($colors) != 'list', compact($colors), $colors);
  $gradient: compact();
  $width: 100% / length($colors);

  @for $i from 1 through length($colors) {
    $pop: nth($colors,$i);
    $new: $pop ($width * ($i - 1)), $pop ($width * $i);
    $gradient: join($gradient, $new, comma);
  }

  @return linear-gradient($position, $gradient);
}

.pop-stripe {
  height: .22em;
  @include background-image(stripes(left, ($colors)));
}
{'fraction_non_alphanumeric': 0.2211764705882353, 'fraction_numerical': 0.01647058823529412, 'mean_word_length': 4.4297872340425535, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5997655', 'n_tokens_mistral': 496, 'n_tokens_neox': 447, 'n_words': 111}