How to change icon and text color when icon is `class="p-accordion-toggle-icon ng-tns-c31-4 pi pi-fw pi-minus"`

please can you help me, how to change icon and text color when I have … Read more How to change icon and text color when icon is `class="p-accordion-toggle-icon ng-tns-c31-4 pi pi-fw pi-minus"`

please can you help me, how to change icon and text color when I have class="p-accordion-toggle-icon ng-tns-c31-4 pi pi-fw pi-minus" not class="p-accordion-toggle-icon ng-tns-c31-4 pi pi-fw pi-plus"

image

I try something like that but I want to change color only when icon is pi-minus

 ::ng-deep {
    &[aria-expanded='true'] > span  {
            color:red;       
    }
  }

Source: CSS – Stack Overflow



Leave a Reply

Your email address will not be published. Required fields are marked *