Embedding styles as resources