ganesh
ganesh

Reputation: 228

Configure Material theme with kendo ui core

Can you please let me know, the order in which styles sheet must be referenced for material theme with kendo ui core.

I have referenced styles in the below order, but the ui doesn’t render like in the kendo demo.

Kendo.common-material.min.css Kendo.material.min.css

created a plnkr for debugging:

https://plnkr.co/edit/N9mpRyEyOBjsh22k?open=lib%2Fscript.js%2Fedit%2FN9mpRyEyOBjsh22k%3Fopen%3Dlib%2Fscript.js&preview

Upvotes: 0

Views: 865

Answers (1)

Aleksandar
Aleksandar

Reputation: 1359

The configuration is correct, however, you are loading the LESS-based Material theme. I suspect you are referring to this TextBox demo that uses the SASS-based theme. Load the SASS-based theme to get the look of the demo:

<link rel="stylesheet" href="https://kendo.cdn.telerik.com/2021.3.1207/styles/kendo.material-main.min.css" />

Updated plnkr

Upvotes: 1

Related Questions