Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Disabled styles cannot be overwritten #5120

Open
vveesseelliinnaa opened this issue Jul 23, 2024 · 0 comments
Open

[Bug] Disabled styles cannot be overwritten #5120

vveesseelliinnaa opened this issue Jul 23, 2024 · 0 comments
Labels
Bug Something isn't working Regression Regression found, broken functionality which was working previously

Comments

@vveesseelliinnaa
Copy link

vveesseelliinnaa commented Jul 23, 2024

Describe the bug
It is not possible to override the kendo-disabled styles neither through the map nor through the variables.

Workaround
Override directly the .k-disabled class:

@import '@progress/kendo-theme-default/dist/all.scss';

.k-disabled {
  @include disabled($bg: blue, $color: green);
}

To reproduce
Steps to reproduce the behavior:

  1. Try to override the $kendo-disabled-styling map like in https://stackblitz.com/edit/react-kkbka1-nmycaw?file=app%2Fapp.tsx,app%2Fstyles.scss

Expected behavior
The disabled text and background color is changed.

Screenshots
The overriden variables are never used:
image

Affected package (please remove the unneeded items)

  • theme-default
  • theme-bootstrap
  • theme-material

Affected suites (please remove the unneeded items)

  • Kendo UI for jQuery
  • Kendo UI for Angular
  • Kendo UI for React
  • Kendo UI for Vue
  • Telerik UI for Blazor

Affected browsers (please remove the unneeded items)

  • All

Additional context
Reported in Ticket ID: 1658720, 1660779

@vveesseelliinnaa vveesseelliinnaa added the Bug Something isn't working label Jul 23, 2024
@epetrow epetrow added the Regression Regression found, broken functionality which was working previously label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Regression Regression found, broken functionality which was working previously
Projects
None yet
Development

No branches or pull requests

2 participants