Fairly basic question I haven't yet been able to figure out from the documentation/googling for it:
How do I add simple properties to a layer from a Sketch import without repeating myself a lot?
For example, I have a fixed header which I want to have a drop shadow state given by Framer (I'll later trigger this state on content scroll, see the attached photos for an example of what I'm going for). However, doing this only seems to work like this:
sketch.second_header.shadowY = 2
sketch.second_header.shadowColor = "rgba(0,0,0,0.2)"
sketch.second_header.shadowBlur = 3
whereas I would expect it to be something like
BUT, the second version won't work. What am I doing wrong between identifying a layer from Sketch, then giving it properties?