What we could do is move these colors to CSS custom properties instead of setting them inline, which would make the colors easily accessible in any CSS/SCSS. I don’t know when we’ll be able to get to that, but I’ll keep it on my list of to-dos.
That would be awesome
BTW is there any other way to achieve the view I want?
I’ve read that I can override templates for specific parts of Discourse, which template file I must override and how should I do that in my custom theme?
Note que apliquei o estilo diretamente ao elemento h3 do título porque ele é um filho direto do td em que o estilo inline foi aplicado. Portanto, se o template o remover, você terá que ajustar seu CSS.
Mas você pode pular a substituição de components/parent-category-row como desejava.