The Window themeColor configuration does not change the appearance of the component.
The Window colors are not changed.
The component appearance should be changed based on the configured value in themeColor.
<style>
.k-window-titlebar {
color: var(--kendo-color-on-dark, #ffffff);
background-color: var(--kendo-color-dark, #3d3d3d);
}
</style>
Or
$('.k-window').addClass('k-window-dark')
Window content remains when the visible configuration is set to false
Currently, in order to avoid this behavior, an inline display:none
style needs to be added to the window container. This does not convey however with CSP's Inline Styles convention.
It would be beneficial if the container can be wrapped with the k-hidden
class and automatically detect it during the widget's initialization. This will bolster the CSP compliance for the Window widget and allow the customers to use inline classes instead.