Parent Class for kendo theme scss

2 posts, 0 answers
  1. Ajit
    Ajit avatar
    7 posts
    Member since:
    Jan 2020

    Posted 30 May 2020 Link to this post

    Hi,

     

    is there a way to give the kendo-theme-default/scss/all a parent class?

    so in Scss you can import the scss files into a class and that becomes the parent class of that entire stylesheet, But when i try to do the same i get error during build of scss file.

    for eg.

    .parentClass{

    @import "bootstrap.scss'

    }

    will result in all the classes of bootstrap with prefix .parentClass

    if i do the same with all.scss i get the following.

    SassError: ".parentClass.k-button[disabled]" failed to @extend "%disabled".
           The selector "%disabled" was not found.
           Use "@extend %disabled !optional" if the extend should be able to fail.
            on line 34 of node_modules/@progress/kendo-theme-default/scss/button/_layout.scss
    >>                 @extend %disabled;

     

    Any Fix for this?

    Thanks

  2. Silviya
    Admin
    Silviya avatar
    442 posts

    Posted 01 Jun 2020 Link to this post

    Hello Ajit,

    I can agree that this is indeed unexpected and we will work to fix it. There is already logged issue in our themes repo:

    https://github.com/telerik/kendo-themes/issues/883

    You can check the status of the task there.

    Best Regards,
    Silviya
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top