 
     /// Customizes the view's colors.
     func customizeViewColor() {
+        guard self is ColorStyleRepresentable else { return }
+
         if let view = self as? CustomBackgroundColor {
             view.customizeBackgroundColor(using: view.backgroundColorStyle)
         }


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


    /// Customizes the view's images.
    func customizeViewImage() {
        guard self is ImageStyleRepresentable else { return }

        if let view = self as? CustomBackgroundImage {
            view.customizeBackgroundImage(using: view.backgroundImageStyle)
        }
