Switching CSS theme
Say you have to work and the following happens:
Your boss comes along and asks you to change ALL the user interface to look for a more general look instead of the default red.
Thanks to the technologies implemented for WebMAP: WinForms to Web UI this change can be made with the following phew steps:
Currently, Kendo provides the following themes by default:
For this example, we'll pick the Kendo UI Bootstrap theme.
Go to the helloworld-angular folder, Open a Command Prompt from that folder and run the command:
In the same folder helloworld-angular, open the file angular.json and you'll see this:
Remove the line.
And add a new reference in the same place.
Finally, run in the opened CommandProm the command:
Run the application, and now you have a happy boss with the minimum work and changes done!
Default theme
WebMAP uses a Desktop theme that is intended to look similar to a native Windows Forms application.
Any converted application contains the Desktop theme set as the default option. In order to modify this theme the following line must be replaced in the angular.json file.
To switch back to the kendo's default theme, please replace the line above in the angular.json file with the following line:
Last updated