Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
Module build failed: @include igx-dark-theme($green-palette); ^ No mixin named igx-dark-theme
posted

I am using angular 6 version hence i installed "igniteui-angular""6.2.0" and the feature I want to use is igxtexthighlightdirective.

After npm run build I am getting  following error:

Module build failed:
@include igx-dark-theme($green-palette);
^
No mixin named igx-dark-the.

 

Here is my style.scss

@import "~igniteui-angular/lib/core/styles/themes/index";
@include igx-core();
@include igx-theme($default-palette, $legacy-support: true);

:root {
  @include css-vars-from-palette($default-palette);
}
$green-palette: igx-palette(
  $primary: #09f,
  $secondary: #72da67,
  $surface: #333
);

.fin-dark-theme {
  @include igx-dark-theme($green-palette);
  background: #333;

  ::-moz-placeholder {
    opacity: 1;
  }
}

.dark-theme {
  background: #333;
  color: #fff;
  @include igx-dark-theme($green-palette, $legacy-support: true);

  .grid-chart-contextmenu-wrapper {
    @include igx-fluent-dark-theme($fluent-excel-palette);
  }
}
Parents
  • 1320
    Offline posted

    Hello Shruti,

    After investigating this further, I determined that the error message is displayed because the dark theme mixins are available since igniteui-angular version 7.0 and igx-fluent-dark-theme is introduced in version 8.2.

    Furthermore, please keep in mind that support is applicable to two versions back - latest stable, and the previous major version This means that version 6.2 is considered retired and it is no longer eligible for Developer Support Services. The current LTS is 11.1.0, which means that support is also applicable to 10.2.x.

    Please let me know if you need any further information regarding this matter.

    Regards,
    Monika Kirkova,
    Infragistics

Reply Children