Explanation of Theme Update Process

edited February 4, 2020 in Questions
The 'update themes' feature seems mysterious and a bit risky. I've been surprised by the unexpected impact to custom themes.

Can someone please explain or point me to a reference that says exactly what is happening when we push the button? All the themes (standard and custom) get a new modified date, but what is really changing? Is there a way we can inspect the changes or diff old and new? Note: This conversation was created from a reply on: Custom Themes - Do they updated as well?.


  • Matt SonesMatt Sones 💎💎💎
    edited April 4, 2018
    I would love an answer to this as well.

    As a work-around, before I click the update themes button, open the theme builder for my custom themes, change a value and change it back again, and save it. Then it won't be included in the update process, as far as I can tell.
  • Mark DeSimoneMark DeSimone 🛠️ 
    edited February 4, 2020
    Hi John,

    The process of updating themes involves reconciling the existing CSS in the theme with the changes that were made in your org's recently updated Skuid Package. Since custom themes are based on the base Skuid themes, they are updated as well. When you update your org's Skuid package to a new release, the core Skuid components (table, field editor, etc.) will see changes that involve the HTML structure, as well as the underlying CSS classes and unique Ids that the themes tie into. This is a natural part of the process of improving Skuid. If you forego updating the out of date themes, the themes' CSS will have some discrepancies that often cause visual aberrations. For example, components may use a new CSS class in the latest release, and if your theme doesn't have a set of style rules for it, defaults will be applied, or Salesforce styles will be applied if they exist. 

    Skuid recommends always updating out of date themes after Skuid is updated in an org, but the theme update is not done automatically. 

    If you would like to compare versions of a theme pre & post-update, you can export the theme before and after updating Skuid. To be able to open it, give the downloaded theme an extension of .zip. These are actually zip files, but they use the .sktheme extension for the purposes of storage in static resources in Salesforce.

    You can explore the files inside the zip, and even use a diff checker if you're interested. There is not any documentation on what's inside these though, so you will probably be able to make more sense of it if you've got a Skuid page open in your browser and can inspect the HTML and CSS of the various elements in runtime.
  • edited April 4, 2018
    Excellent, thank you for a quick and complete response.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!