app.component.html
<ion-item color=“light” detail routerLink="/timeline" routerLinkActive=“router-link-active” (click)=“sidemenu.close()”>Timeline
global.css
.router-link-active {
color: var(–ion-color-primary) !important;
}
The selected link is not highlighted only if I use the color property.