 	///
 	/// - Parameter tint: tint color (default is .white).
 	public func makeTransparent(withTint tint: UIColor = .white) {
+		isTranslucent = true
+		backgroundColor = .clear
+		barTintColor = .clear
 		setBackgroundImage(UIImage(), for: .default)
+		tintColor = tint
+		titleTextAttributes = [.foregroundColor: tint]
 		shadowImage = UIImage()
-		isTranslucent = true
-		tintColor = tint
-		titleTextAttributes = [NSAttributedStringKey.foregroundColor: tint]
 	}
 	
 	/// SwifterSwift: Set navigationBar background and text colors

		isTranslucent = false
		backgroundColor = background
		barTintColor = background
		setBackgroundImage(UIImage(), for: UIBarMetrics.default)
		tintColor = text
		titleTextAttributes = [.foregroundColor: text]
	}

	/// - Parameters:
	///   - font: title font
	///   - color: title text color (default is .black).
	public func setTitleFont(_ font: UIFont, color: UIColor = .black) {
		var attrs = [NSAttributedStringKey: Any]()
		attrs[.font] = font
		attrs[.foregroundColor] = color
