 private extension UIButton {
     func configure(_ theme: OLScrollingNavBar.Theme?) {
         guard let theme = theme else { return }
-        setTitleColor(theme.textColor, for: .normal)
-        setTitleColor(theme.textColor, for: .highlighted)
-        setTitleColor(theme.textColor, for: .selected)
+        setTitleColor(theme.normalTextColor, for: .normal)
+        setTitleColor(theme.activeTextColor, for: .selected)
+        titleLabel?.font = theme.font
         contentEdgeInsets = theme.horizontalInsets
         backgroundColor = theme.backgroundColor
     }

    */
    struct Theme {
        var backgroundColor: UIColor
        var textColor: UIColor
        var horizontalInsets: UIEdgeInsets
    }

    var themeConfig: Theme? {

    func createButton(withTitle title: String) -> UIButton {
        let button = UIButton(type: .custom)
        button.setTitle(title, for: .normal)
        button.configure(themeConfig)
        return button
    }
