Stylesheets for MAUI BlazorWebView

1 Answer 75 Views
ColorPalette Styling
Matěj
Top achievements
Rank 1
Matěj asked on 19 Feb 2024, 08:54 AM

Hi,
since jQuery has Telerik styles via SASS, is it SASS also available for Blazor? If so, is there direct support for XAML mixins and syntax changes for MAUI clients? Since we want to build Razor pages and WASM for MAUI client with existing Telerik theme which would make consistent appearance within existing jQuery applications ...

Kind regards.

1 Answer, 1 is accepted

Sort by
0
Svetoslav Dimitrov
Telerik team
answered on 21 Feb 2024, 01:41 PM

Hello Matěj,

The themes for Telerik UI for Blazor are also based on SASS and are the same as in Kendo jQuery, admittedly we have fewer themes. Regarding the XAML mixins, I should say that I am not aware of this concept, however, if it is supported in SASS we must support it as well.

If you use the same theme in Blazor and jQuery the look of the components must be consistent.

On the topic of syntax changes, I believe that you would like to customize the built-in themes to exactly match your business needs. If you want to to compile themes from their source code, then refer to:

Out of curiosity can you point me to a resource where I can get acquainted with the concept of XAML mixins?

Regards,
Svetoslav Dimitrov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Matěj
Top achievements
Rank 1
commented on 21 Feb 2024, 02:06 PM

Well I've read, that it is possible to use the same CSS of SASS for WinUI, just that it needs to adapt to XAML scheme - where some attributes are the same, but some need specified changes. I do not remember for the moment, but differences are like there is no border-left style, but thickness instead. That is what I am asking for - MAUI support of SASS. But since you answered well to me, making WinUI mixins would be somewhat easy since there are direct SASS styles for Blazor from Telerik.

Kind regards!

Tags
ColorPalette Styling
Asked by
Matěj
Top achievements
Rank 1
Answers by
Svetoslav Dimitrov
Telerik team
Share this question
or