Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Removing style formats

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Improve the performance of your application by removing style formats that you no longer need. Because the CSS for the application is sourced from the skin rule, you can reduce the CSS file size by removing unused style formats, which then improves load times.

You can either delete a style to remove it permanently, or disable a style format to exclude it from the application CSS, but keep it for future use.
Note: You cannot remove style formats from out-of-the-box skins, such as pyEndUser, or formats that your skin inherited from a parent.
  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the User Interface category, and then click Skin.
  3. Open the skin that you want to edit.
  4. On the Component styles tab, click the Menu icon on the right side of the window.
  5. In the component list, click the UI component whose style format you want to remove.
  6. On the My Formats tab, click the style format that you want to remove.
  7. In the settings pane for the format, select what to do with the format style:
    • To remove the format permanently, click ActionsDelete, and then click Delete.
    • To keep the format for future use, click ActionsDisable.
  8. Click Save.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us