After reading the ionic2 documentation we can override the scss variables and change the style and colors of ionic2 component by override the scss variables in the variables.scss file.
I need to change the background color of the ionic2 sliding item. After reading the page ionic2 theming , I can change the background by changing the color of this two variables
$item-wp-sliding-content-background & $item-ios-sliding-content-background
This is my code:
$item-md-sliding-content-background: color($colors, rnbBlue);
$item-ios-sliding-content-background: color($colors,rnbBlue);
$rnbBlue: #1b5b94;
This is my app interface:
The last code is work because i saw the inspect elements that background-color changed to rnbBlue:
But the sliding items still white!... i saw in the inspect that .item-md have background:white :

when i disabled the background:white the color become rnbBlue,,, I know i can override this class by .item-md{...} but i don't need this method,, because doesn't the best practice
NOTE: I'm using "ionic-angular": "3.6.0", "ionic-native": "^2.9.0",
Now my question is: Why the override method not working well?!
Thanks.

