Reply 140 of 623, by dann86
Snover wrote on 2020-01-02, 20:58:There’s a significant difference between using Stylus to overwrite a few CSS rules locally and integrating new board themes, bot […]
dann86 wrote on 2020-01-02, 18:25:cde wrote on 2020-01-02, 18:11:So essentially, it's too complicated and not worth the effort.
I know theming in CSS can be a donating task to undertake on the surface but I have a hard time believing that when others have made their own changes with nothing more then a few lines of code.
There’s a significant difference between using Stylus to overwrite a few CSS rules locally and integrating new board themes, both from a technical perspective and from a resource availability perspective.
Ignoring everything I said earlier about how phpBB themes work and focusing exclusively on the CSS side of things: official VOGONS themes have to work with every browser the site supports, not just whatever browser an individual is using. New official themes are the responsibility of VOGONS to maintain, so if something is broken, then it becomes our responsibility to fix it too. The risk of bugs increase as the number of themes increase, and maintenance becomes more difficult. Due to CSS limitations in some browsers and for performance reasons each colour scheme gets pre-baked into its own separate CSS file using a preprocessor. This means each new scheme will generate a new copy of the entire CSS for the site. There are also a couple raster images—again, due to CSS limitations and for performance reasons—so any non-trivial modification to the colours requires those to be edited too. Finally, each new theme needs to actually be added to the theme selector, and pages tested, to make sure nothing accidentally becomes invisible.
It’s not my intent to make it sound like any of these steps are impossible or even particularly challenging, since they aren’t, but in aggregate it’s just not as simple to deploy new colour schemes on this side as it is for you to add a few rules into Stylus and call it a day. On the other hand, there are other things that can only be done on this end—blocking bots, making image uploads easier, improving the searches, etc. are all on my list of TODOs, and I can’t do any of that if I’m working on building new colour schemes for the site.
Having managed websites and web servers at my job I can say without a shadow of a doubt you are way over complicating things. But what ever...