Ionic 4 how to create $variable in variable.scss?

hello team,
in ionic 3 we create a color variable like $headerColor and use it for a color of the header in our app.css class but in ionic 4 it not work, so how it use in ionic 4 …?