start transitioning away from explicit layers definition
recursively parse styles to find active ones