 
     /// Customizes the view's fonts.
     func customizeViewFont() {
+        guard self is FontStyleRepresentable else { return }
+
         if let view = self as? CustomFont {
             view.customizeFont(using: view.fontStyle)
         }


    /// Customizes the view's texts.
    func customizeViewText() {
        if let view = self as? CustomPlaceholder {
            view.customizePlaceholder(using: view.placeholderStyle)
        }


    /// Customizes the view's colors.
    func customizeViewColor() {
        guard self is ColorStyleRepresentable else { return }

        if let view = self as? CustomBackgroundColor {
            view.customizeBackgroundColor(using: view.backgroundColorStyle)
        }
