XF 2.1 Making a theme

The way I have customized my current theme, I have had to go through different files to change the colors. Why can't all the style elements/classes be defined in one file, and that file be imported to all files instead?
 
Ideally, you should stick to Color Palette for the global color changes. From there you'll move to "Basic colors". These properties control the majority of the colors in XenForo styles, you can dramatically change the colors of the style by sticking to these two pages. To customize elements even further you may need to dive into the style properties or extra.less.

That being said... making color changes, in general, shouldn't involve you editing the main XenForo templates. Any additional CSS you want to be changed you can place inside the template: extra.less which will be preserved when you upgrade.
 
The way I have customized my current theme, I have had to go through different files to change the colors. Why can't all the style elements/classes be defined in one file, and that file be imported to all files instead?
That is the way it is. If you are going to change colors, change font size, customizing elements and what not....you can place your codes in EXTRA.less template. You don’t need to change XF main templates.
 
But I am asking for the complete stylesheet. All the commands to be put in one file and customize from there. I am looking to have more freedom with the style properties.
 
Back
Top Bottom