Side menu SCSS file working globally?

In side menu scss file i am doing …

.ios,.md{
page-menu {
ion-item{
background-color: map-get($colors,primary);
}
}
}

then all tabs component “ion-item” following to side menu scss file and every “ion-item” having primary background-color same thing is happening with other elements also ??