 
 import UIKit
 
-public class PastelView: UIView {
+open class PastelView: UIView {
 
     private struct Animation {
         static let keyPath = "colors"

        gradient.add(animation, forKey: Animation.key)
    }
    
    public override func removeFromSuperview() {
        super.removeFromSuperview()
        gradient.removeAllAnimations()
        gradient.removeFromSuperlayer()

        super.init(coder: aDecoder)
    }
    
    open override func awakeFromNib() {
        super.awakeFromNib()
    }

    open override func layoutSubviews() {
        super.layoutSubviews()
        gradient.frame = bounds
    }
