Skip to content

Infragistics Community Forum / Web / Ignite UI for Angular / Module build failed: @include igx-dark-theme($green-palette); ^ No mixin named igx-dark-theme

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

New Discussion
shruti devurkar
shruti devurkar asked on Mar 1, 2021 2:52 PM

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);
  }
}

 

Sign In to post a reply

Replies

  • 0
    Monika Kirkova
    Monika Kirkova answered on Feb 25, 2021 3:48 PM

    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

    • 0
      shruti devurkar
      shruti devurkar answered on Feb 28, 2021 10:21 AM

      Then which theme is useable and will the functionality be still working?

      • 0
        Monika Kirkova
        Monika Kirkova answered on Mar 1, 2021 2:52 PM

        Hello Shruti,

        Тhe default light theme could be used, however, version 6.2 is considered retired and it is no longer eligible for Developer Support Services.

        What I could suggest is upgrading to our latest version which at this point is version 11.1.

        Regards,
        Monika Kirkova,
        Infragistics

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
shruti devurkar
Favorites
0
Replies
3
Created On
Mar 01, 2021
Last Post
4 years, 12 months ago

Suggested Discussions

Created by

Created on

Mar 1, 2021 2:52 PM

Last activity on

Feb 25, 2026 8:47 AM