//
//  NavBarColor.swift
//  WOKA
//
//  Created by Bilal on 06/06/2024.
//

import UIKit

extension UINavigationController{
    
    func setColor(color : UIColor){
        // Set the navigation bar tint color
        self.navigationBar.tintColor = color // Change to your desired color

        // Set the navigation bar title text color
        self.navigationBar.titleTextAttributes = [NSAttributedString.Key.foregroundColor: color,
                                                  NSAttributedString.Key.font : FontCustom.shareInstance.customFont(fontName: .Exo2_Bold, size: 20)]
    }
    
}
