Need to make it work for styles that aren't defined since they're default values (ex. switch from state with defined box-shadow to one without and it just keeps the shadow, but instead it should switch to none).
This is a stopgap until Framer properly animates these CSS properties.
See switchStyles function I added: https://github.com/patrickkeenan/sketch-framer-states/commit/e624921525145939f471b4599c18fc9ea20aa7bf
Need to make it work for styles that aren't defined since they're default values (ex. switch from state with defined box-shadow to one without and it just keeps the shadow, but instead it should switch to none).
This is a stopgap until Framer properly animates these CSS properties.