We used igniteui highlight directive for find the text from the list.The matched text by default showing yellow and active text showing in orange color.We need to change the color of the matched and active text to our custom colors.
we used [cssClass]="myClass" and [activeCssClass]="activeHighlightClass" but those are not working
We wrote our code like the following.
<span class="display" igxTextHighlight [groupName]="'group1'" [row]='i' [cssClass]="activeHighlightClass" [activeCssClass]="activeHighlightClass" (click)="getRouterCatalogEventDetails(i,entity)"[value]="entity.entity">{{entity.entity}}
Please help us to change the highlight text color and active text color.
Thanks
Hello,
The reason for this issue is that we are using inline styles for those colors. I have submitted the issue in our github repository github.com/.../5403.
Until the issue is resolved, you could use "!important" in your CSS styles in order to override them. I have attached a sample application, that demonstrates how to restyle the highlight and active highlight colors.
Sincerely,Diyan DimitrovSenior Software Developer
highlight-styling.zip