Kendo UI switch - disabled styling using Fluent theme

1 Answer 107 Views
Styling Switch
Saquib
Top achievements
Rank 1
Iron
Iron
Iron
Saquib asked on 23 Sep 2022, 11:22 AM

When using the Fluent theme, I would expect the colour of a disabled switch to be a lighter version of the colour for the normal on state, but it's grey, so not easily to tell the difference in the switch state between on and off.

Using the normal theme;

 

Using the fluent theme

 

1 Answer, 1 is accepted

Sort by
0
Yanmario
Telerik team
answered on 28 Sep 2022, 10:22 AM

Hi Saquib,

The applied styling to the Switch component is by design following Microsoft Fluet Theme best practices:

https://developer.microsoft.com/en-us/fluentui#/controls/web/toggle

The developer has the freedom to add his own custom styling for each Theme if that is the requirement of the application.

Regards,
Yanmario
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Styling Switch
Asked by
Saquib
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Yanmario
Telerik team
Share this question
or