Permalink
Browse files

Add Framer.Defaults.Hints.color to set the hint color.

  • Loading branch information...
eelco committed Sep 2, 2016
1 parent 6f3fa61 commit f183c8ce1b8486b5b0214161b990d39d51dafe9b
Showing with 4 additions and 1 deletion.
  1. +3 −0 framer/Defaults.coffee
  2. +1 −1 framer/Layer.coffee
View
@@ -76,6 +76,9 @@ Originals =
clip: true
mouseWheelEnabled: false
backgroundColor: null
Hints:
color: "rgba(144,19,254,0.8)"
exports.Defaults =
View
@@ -1298,7 +1298,7 @@ class exports.Layer extends BaseClass
layer = new Layer
frame: Utils.frameInset(highlightFrame, -1)
backgroundColor: null
borderColor: new Color("9013FE").alpha(.8)
borderColor: Framer.Defaults.Hints.color
borderRadius: @borderRadius * Utils.average([@canvasScaleX(), @canvasScaleY()])
borderWidth: 3

0 comments on commit f183c8c

Please sign in to comment.