         set(newValue) {
             objc_setAssociatedObject(self, &designLayoutKey, newValue, objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN)
             designSetup();
+        }
+    }
+    
+    
+    public var tempBorderColor: UIColor?  {
+        get {
+            return objc_getAssociatedObject(self, &borderColour) as? UIColor
+        }
+        set(newValue) {
+            objc_setAssociatedObject(self, &borderColour, newValue, objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN)
         }
     }
     


private var designKey: UInt8 = 9
private var designLayoutKey: UInt8 = 10

extension UIView{
    @IBInspectable

        }else{
            dataReturn["borderWidth"] = ["type":"FLOAT", "value":self.layer.borderWidth];
        }
        if let borderColor = tempBorderColor {
            if #available(iOS 13.0, *) {
                let lightColor = colorForTrait(color: borderColor, trait: .light)
                let darkColor = colorForTrait(color:borderColor, trait: .dark)
                dataReturn["borderColor"] = ["type":"COLOR", "value":lightColor?.toHexString()];
                dataReturn["borderColor-dark"] = ["type":"COLOR", "value":darkColor?.toHexString()];
            }else{
                dataReturn["borderColor"] = ["type":"COLOR", "value":borderColor.toHexString()];
            }
        }else if let borderColor = layer.borderColor {
            let uiColor = UIColor(cgColor: borderColor)
            dataReturn["borderColor"] = ["type":"COLOR", "value":uiColor.toHexString()];
             dataReturn["borderColor-dark"] = ["type":"COLOR", "value":uiColor.toHexString()];
        }else{
            dataReturn["borderColor"] = ["type":"COLOR"];
             dataReturn["borderColor-dark"] = ["type":"COLOR"];
