Send style objects to the template's publish function