index.css file in react-create-app added to <head> as the last <style> elemnt. As I understand it, this is because mounting is a Recursive Process. Because index.css is at the bottom, its styles take precedence. It confused me.
According to my logic if I want to use .title {font-family: Roboto; font-size: 2.5rem} for all titles in my app, I will write this in index.css. But when I want to use other typeface for title in my <Article /> component saving font-size I will write mixin .article__title {font-family: Tahoma} in Article.css file. But it doesn't give the result I want. And the font-family won't be overwritten, because .title
takes precedence over .article__title.
Where and how should I use common styles that I can rewrite in components?