立即与支持人员聊天
与支持团队交流

erwin Evolve 2022.0.1 - General

Upgrading custom themes / less variables

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:

 

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
 

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.

Theme File Labelling Convention

Theme File Labelling Convention

Evolve’s LESS variables are named using camelCase whereby the first letter of each word is capitalized – except for the first letter of the whole string. Evolve version numbers are commented out next to any variables that relate to specific Evolve versions. I.e.: //v4.0          

Custom Logos

Custom Logos

The dimensions of custom logos have been changed, they are now:

Image 1
logo.png
146 x 30 px

Image 2
logo-m.png
112 x 30px

New Installation

New Installation

This section details how to install Evolve on your web server machine.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级