<commit_before>//
//  Stylesheet.swift
//  Rewatch
//
//  Created by <NAME> on 2015-10-22.
//  Copyright © 2015 Perfectly-Cooked. All rights reserved.
//

import UIKit

class Stylesheet: NSObject {
    // Colors
    static let navigationBarTextColor = UIColor(rgba: "#222222")
    static let navigationBarTintColor = UIColor.whiteColor()
    static let commonBackgroundColor = UIColor(rgba: "#222222")
    static let appBackgroundColor = UIColor.blackColor()
    
    static let showBackgroundColor = UIColor(rgba: "#F74D40")
    static let episodeNumberTextColor = UIColor(rgba: "#222222")
    static let seasonNumberTextColor = UIColor(rgba: "#222222")
    static let episodePictureBackgroundImageColor = UIColor(rgba: "#222222")
    
    static let buttonBorderColor = UIColor(rgba: "#979797")
    static let explainationTextColor = UIColor(rgba: "#F74E40")
    static let statusTextColor = UIColor.whiteColor()
    
    static let creditsTitleColor = UIColor(rgba: "#F74D40")
    static let creditsValueColor = UIColor.whiteColor()
    
    static let arrowColor = UIColor(rgba: "#F74D40")
    static let switchOnTintColor = UIColor(rgba: "#F74E40")
    static let avatarBorderColor = UIColor(rgba: "#979797")
    static let logoutBackoundColor = UIColor(rgba: "#F74D40")

    static let settingsTintColor = UIColor.whiteColor()
    static let settingsHighlightedTintColor = UIColor(rgba: "#F74D40")

    // Fonts
    static let titleFont = UIFont(name: "Roboto-Bold", size: 16)!
    static let textFont = UIFont(name: "Roboto-Thin", size: 18)!
    static let showNameTextFont = UIFont(name: "Roboto-Light", size: 21)!
    static let settingsSectionTextFont = UIFont(name: "Roboto-Thin", size: 14)!
    static let settingsSectionActionButtonTextFont = UIFont(name: "Roboto-Thin", size: 16)!

    static let episodeTitleTextFont = UIFont(name: "Roboto-Bold", size: 26)!
    static let episodeNumberFont = UIFont(name: "Roboto-Thin", size: 66)!
    static let seasonNumbertextFont = UIFont(name: "Roboto-Thin", size: 66)!
    static let memberLoginCell = UIFont(name: "Roboto-Thin", size: 16)!
    
    static let showCellTitleFont = UIFont(name: "Roboto-Thin", size: 20)!
    static let logoutFont = UIFont(name: "Roboto-Light", size: 16)!

    static let buttonFont = UIFont(name: "Roboto-Bold", size: 16)!
    static let explainationFont = UIFont(name: "Roboto-Light", size: 15)!
    static let statusFont = UIFont(name: "Roboto", size: 15)!
    static let versionFont = UIFont(name: "Roboto-Thin", size: 12)!

    static let creditsTitleFont = UIFont(name: "Roboto-Thin", size: 12)!
    static let creditsValueFont = UIFont(name: "Roboto-Thin", size: 17)!


    func apply() {
        UINavigationBar.appearance().translucent = false
        UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName: Stylesheet.navigationBarTextColor, NSFontAttributeName: Stylesheet.titleFont]
        UINavigationBar.appearance().barTintColor = Stylesheet.navigationBarTintColor
        UINavigationBar.appearance().tintColor = Stylesheet.navigationBarTintColor
        UINavigationBar.appearance().backgroundColor = Stylesheet.navigationBarTintColor
        UINavigationBar.appearance().shadowImage = UIImage()
        UINavigationBar.appearance().setBackgroundImage(UIImage(), forBarPosition: .Any, barMetrics: .Default)
        UIBarButtonItem.appearance().setTitleTextAttributes([NSForegroundColorAttributeName: Stylesheet.navigationBarTextColor, NSFontAttributeName: Stylesheet.titleFont], forState: .Normal)
    }
}


extension UIFont {
    class func robotoWithSize(size: CGFloat) -> UIFont {
        return UIFont(name: "Roboto", size: size)!
    }
}
<commit_msg>Use lighter font<commit_after>//
//  Stylesheet.swift
//  Rewatch
//
//  Created by <NAME> on 2015-10-22.
//  Copyright © 2015 Perfectly-Cooked. All rights reserved.
//

import UIKit

class Stylesheet: NSObject {
    // Colors
    static let navigationBarTextColor = UIColor(rgba: "#222222")
    static let navigationBarTintColor = UIColor.whiteColor()
    static let commonBackgroundColor = UIColor(rgba: "#222222")
    static let appBackgroundColor = UIColor.blackColor()
    
    static let showBackgroundColor = UIColor(rgba: "#F74D40")
    static let episodeNumberTextColor = UIColor(rgba: "#222222")
    static let seasonNumberTextColor = UIColor(rgba: "#222222")
    static let episodePictureBackgroundImageColor = UIColor(rgba: "#222222")
    
    static let buttonBorderColor = UIColor(rgba: "#979797")
    static let explainationTextColor = UIColor(rgba: "#F74E40")
    static let statusTextColor = UIColor.whiteColor()
    
    static let creditsTitleColor = UIColor(rgba: "#F74D40")
    static let creditsValueColor = UIColor.whiteColor()
    
    static let arrowColor = UIColor(rgba: "#F74D40")
    static let switchOnTintColor = UIColor(rgba: "#F74E40")
    static let avatarBorderColor = UIColor(rgba: "#979797")
    static let logoutBackoundColor = UIColor(rgba: "#F74D40")

    static let settingsTintColor = UIColor.whiteColor()
    static let settingsHighlightedTintColor = UIColor(rgba: "#F74D40")

    // Fonts
    static let titleFont = UIFont(name: "Roboto-Bold", size: 16)!
    static let textFont = UIFont(name: "Roboto-Thin", size: 18)!
    static let showNameTextFont = UIFont(name: "Roboto-Light", size: 21)!
    static let settingsSectionTextFont = UIFont(name: "Roboto-Thin", size: 14)!
    static let settingsSectionActionButtonTextFont = UIFont(name: "Roboto-Thin", size: 16)!

    static let episodeTitleTextFont = UIFont(name: "Roboto-Bold", size: 26)!
    static let episodeNumberFont = UIFont(name: "Roboto-Thin", size: 66)!
    static let seasonNumbertextFont = UIFont(name: "Roboto-Thin", size: 66)!
    static let memberLoginCell = UIFont(name: "Roboto-Thin", size: 16)!
    
    static let showCellTitleFont = UIFont(name: "Roboto-Light", size: 20)!
    static let logoutFont = UIFont(name: "Roboto-Light", size: 16)!

    static let buttonFont = UIFont(name: "Roboto-Bold", size: 16)!
    static let explainationFont = UIFont(name: "Roboto-Light", size: 15)!
    static let statusFont = UIFont(name: "Roboto", size: 15)!
    static let versionFont = UIFont(name: "Roboto-Thin", size: 12)!

    static let creditsTitleFont = UIFont(name: "Roboto-Thin", size: 12)!
    static let creditsValueFont = UIFont(name: "Roboto-Thin", size: 17)!


    func apply() {
        UINavigationBar.appearance().translucent = false
        UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName: Stylesheet.navigationBarTextColor, NSFontAttributeName: Stylesheet.titleFont]
        UINavigationBar.appearance().barTintColor = Stylesheet.navigationBarTintColor
        UINavigationBar.appearance().tintColor = Stylesheet.navigationBarTintColor
        UINavigationBar.appearance().backgroundColor = Stylesheet.navigationBarTintColor
        UINavigationBar.appearance().shadowImage = UIImage()
        UINavigationBar.appearance().setBackgroundImage(UIImage(), forBarPosition: .Any, barMetrics: .Default)
        UIBarButtonItem.appearance().setTitleTextAttributes([NSForegroundColorAttributeName: Stylesheet.navigationBarTextColor, NSFontAttributeName: Stylesheet.titleFont], forState: .Normal)
    }
}


extension UIFont {
    class func robotoWithSize(size: CGFloat) -> UIFont {
        return UIFont(name: "Roboto", size: size)!
    }
}

{'fraction_non_alphanumeric': 0.11219512195121951, 'fraction_numerical': 0.03143631436314363, 'mean_word_length': 4.391526661796932, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5812681', 'n_tokens_mistral': 2548, 'n_tokens_neox': 2355, 'n_words': 544}