Global SCSS


I made an application with Ionic and I used the “global.scss” file.

So I had a question about him.

I created a lot of classes that I use in 80% of my pages like for example icons size (.width-30{width: 30px}).

I wanted to know if this would pose loading or other problems, if that was a good way to code with ionic or not?

Thanks for your answer !

imho is it mostly a good idea to keep things, that are used many times, in one place. I find it always horrible to debug css things, when they are spread, without need, over the whole application. Otherwise things that should only affect rhis one component should keep it related scss.

Best regards, anna-liebt

1 Like

Yeah i see ! Thanks for your answer ! :slight_smile: