Upgrading custom themes / less variables
Since Evolve 2016.2.1 the Themes (LESS variables) are automatically upgraded when performing an 'Update Meta Model & Themes' within Evolve Designer. However, if you find that the variables have not updated correctly, the following instructions will help you to diagnose the issues.
Should a theme still be incompatible with the installed version of Evolve, the following error can appear in Evolve Designer when you Deploy Dynamic/Static site:
![](/es-es/technical-documents/image/d0667dd3-98ec-40cd-8371-93c37ffd4b09)
To upgrade the theme to be compatible with the installed version, follow these steps.
1. Ensure you know which default theme your custom theme was based on.
e.g., Evolve7, Grey, Blue
2. Locate a copy of this theme in the new version of Evolve
nb: This can be found in <Evolve-Install-Location>\Casewise\Evolve\Site\bin\webDesigner\themes\
3. Using a comparison tool (e.g. WinMerge) compare your custom theme with the theme located in step 2
This will highlight the new variables which have been added since your custom theme was created.
Each new variable will contain a comment (e.g. //v4.0.2) showing in which version it was added
![](/es-es/technical-documents/image/97378b75-c62d-4051-a24e-875cb218aefc)
4. Copy over the new variables so that the custom theme contains the same number of variables as the default theme.
5. Restart Evolve Designer and Deploy Dynamic/Static Site
|