Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleAbout LESS
Less is library that helps you write .css that is more dynamic. It supports variables and other helpful concepts and it will compile the .less file into an actual .css file for the browser. If you are using Servoy 2019.03 or later (those have LESS support built-in) do try this out (just give a .less file to the solution instead of a .css file). These versions also have NG Client theme support - that is also based on .less. Go to .less web site for more information.

1. Standard component CSS Selectors

...

When setting the solution stylesheet property, it is also possible to add less theme support for an old solution.
Based on what is selected in the dialog, the The 'Add Less Theme Support' button is available in the Solution CSS picker , will do the followingif the 'custom_servoy_theme_properties.less' is missing or there is no less file that imports it.

Image Added

When setting up the less theme, the following situations are possible:
1. if none is selected, it will create a less file having the same name as the solution.
2. if a css file is selected, it will rename the css file to less and add the import of the 'custom_servoy_theme_properties.less' file (see the screenshot below).
3. if a less file is selected, it will add the import of the 'custom_servoy_theme_properties.less' to the beginning of the file.


Image RemovedImage Added