XF 2.2 Is editing extra.less in master style really strictly not recommended?


Active member
As I'll be using some styles which shares certain fundamental modifications in extra.less. I don't want to copy/update the same thing in extra.less of every style.

Can I just add those common changes in master style? Will the new releases of XF overwrite this extra.less? What's the best practice for this case?

Thanks. So it's better to do it this way?

Master style
|--Default style     <-- codes to be shared by all styles in extra.less here
|-----First style   <-- First style specific codes in extra.less here
|---------Child of First style
|-----Second style
|-----Third style

Let Default style be the parent of all other styles?
Top Bottom