load assets when resolving style