use styles in page JSONs