<commit_before>defmodule PanWeb.Surface.Pill do
  use Surface.Component
  prop type, :string, required: false, default: "info", values!: ["link", "info", "primary", "warning", "danger", "success"]
  slot default, required: true

  def render(assigns) do
    ~F"""
    <span class={"text-xs inline-block py-1 px-2.5 leading-none text-center whitespace-nowrap
                 align-baseline font-bold rounded-full bg-#{@type} hover:bg-#{@type}-dark text-white"}>
      <#slot />
    </span>
    """
  end
end<commit_msg>pill styling<commit_after>defmodule PanWeb.Surface.Pill do
  use Surface.Component
  prop type, :string, required: false, default: "info", values!: ["link", "info", "primary", "warning", "danger", "success"]
  slot default, required: true

  def render(assigns) do
    ~F"""
    <span class={"text-xs inline-block p-1 leading-none text-center whitespace-nowrap
                 align-baseline rounded-md bg-#{@type} hover:bg-#{@type}-dark text-white"}>
      <#slot />
    </span>
    """
  end
end
{'fraction_non_alphanumeric': 0.16420845624385447, 'fraction_numerical': 0.003933136676499509, 'mean_word_length': 3.445414847161572, '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': '6408969', 'n_tokens_mistral': 336, 'n_tokens_neox': 331, 'n_words': 88}