prepare theme resource loading