<commit_before>Teacup::Stylesheet.new :maps do

  sans_20 = 'JosefinSans-Bold'.uifont(20)

  style :root,
    backgroundColor: UIColor.whiteColor

  style :map,
    constraints: [:top, :full_width]

  style :arrow,
    constraints: [:full_width, constrain_height(18), constrain_below(:map).minus(18)],
    image: 'speaker-arrow.png'.uiimage

  style :open_button,
    constraints: [:center_x],
    title: 'Open in Map'

  style :content,
    constraints: [constrain_below(:arrow), :full_width, constrain(:height).equals(:root, :height).minus(100)],
    backgroundColor: UIColor.whiteColor

  style :title,
    constraints: [constrain_width(220), :top, :center_x, constrain_height(25)],
    font: sans_20,
    textAlignment: UITextAlignmentCenter,
    numberOfLines: 0,
    lineHeight: 20

  style :line,
    constraints: [constrain_below(:title, 10), constrain_size(220, 1), :center_x],
    backgroundColor: '#c6c6c6'.uicolor

  style :description,
    constraints: [constrain_width(220), constrain_below(:line, 10), :center_x, constrain_height(224)],
    font: 'Arvo'.uifont(14),
    numberOfLines: 0

end
<commit_msg>Update map fonts.<commit_after>Teacup::Stylesheet.new :maps do
  import :fonts

  style :root,
    backgroundColor: UIColor.whiteColor

  style :map,
    constraints: [:top, :full_width]

  style :arrow,
    constraints: [:full_width, constrain_height(18), constrain_below(:map).minus(18)],
    image: 'speaker-arrow'.uiimage

  style :open_button,
    constraints: [:center_x],
    title: 'Open in Map'

  style :content,
    constraints: [constrain_below(:arrow), :full_width, constrain(:height).equals(:root, :height).minus(100)],
    backgroundColor: UIColor.whiteColor

  style :title, extends: :font_sans_20,
    constraints: [constrain_width(220), :top, :center_x, constrain_height(25)],
    textAlignment: UITextAlignmentCenter,
    numberOfLines: 0,
    lineHeight: 20

  style :line,
    constraints: [constrain_below(:title, 10), constrain_size(220, 1), :center_x],
    backgroundColor: '#c6c6c6'.uicolor

  style :description, extends: :font_sans_15,
    constraints: [constrain_width(220), constrain_below(:line, 10), :center_x, constrain_height(224)],
    numberOfLines: 0

end

{'fraction_non_alphanumeric': 0.1352329262777024, 'fraction_numerical': 0.035278154681139755, 'mean_word_length': 4.946236559139785, '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': '2938445', 'n_tokens_mistral': 835, 'n_tokens_neox': 743, 'n_words': 156}