Ionic 4 background color isssues

When I have changed the background colour of any page, card colour, input text box colour automatically changed, I attached the screenshots

Please help me out

You can share you css code with how you change the backgroud, because i don’t have this problem when i change the backgroud.