<commit_before><%
file_name = if @opts[:font_face_path]
  File.join @opts[:font_face_path], @data[:file_name]
else
  @data[:file_name]
end
%>/*
 * Font Custom: bare CSS
 */

@font-face {
  font-family: "<%= @opts[:font_name] %>";
  src: font-url("<%= file_name %>.eot");
  src: font-url("<%= file_name %>.eot?#iefix") format("embedded-opentype"),
       font-url("<%= file_name %>.woff") format("woff"),
       font-url("<%= file_name %>.ttf") format("truetype"),
       font-url("<%= file_name %>.svg#<%= @opts[:font_name] %>") format("svg");
  font-weight: normal;
  font-style: normal;
}

<%= @data[:glyphs].map {|name| ".#{@opts[:css_prefix] + name}:before"}.join(",\n") %> {
  font-family: "<%= @opts[:font_name] %>";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  text-decoration: inherit;
}
<% @data[:glyphs].each_with_index do |name, index| %>
.<%= @opts[:css_prefix] + name %>:before { content: "\<%= (61696+index).to_s(16) %>"; }<% end %><commit_msg>add and use placeholders.<commit_after><%
file_name = if @opts[:font_face_path]
  File.join @opts[:font_face_path], @data[:file_name]
else
  @data[:file_name]
end
%>/*
 * Font Custom: SCSS
 */

@font-face {
  font-family: "<%= @opts[:font_name] %>";
  src: font-url("<%= file_name %>.eot");
  src: font-url("<%= file_name %>.eot?#iefix") format("embedded-opentype"),
       font-url("<%= file_name %>.woff") format("woff"),
       font-url("<%= file_name %>.ttf") format("truetype"),
       font-url("<%= file_name %>.svg#<%= @opts[:font_name] %>") format("svg");
  font-weight: normal;
  font-style: normal;
}

<%= @data[:glyphs].map {|name| ".#{@opts[:css_prefix] + name}:before"}.join(",\n") %> {
  font-family: "<%= @opts[:font_name] %>";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  text-decoration: inherit;
}
<% @data[:glyphs].each_with_index do |name, index| %>
%<%= @opts[:css_prefix] + name %>{ content : "\<%= (61696+index).to_s(16) %>"; }

.<%= @opts[:css_prefix] + name %>:before {
  @extend %<%= @opts[:css_prefix] + name %>;
}
<% end %>
{'fraction_non_alphanumeric': 0.24769027716674, 'fraction_numerical': 0.007039155301363837, 'mean_word_length': 4.587223587223587, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '1200978', 'n_tokens_mistral': 929, 'n_tokens_neox': 873, 'n_words': 157}