Extract styles