add img element styles and update theme vars