export setStyles function