separate vars from styles; enable overriding of sprite path