mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 17:12:13 +08:00
f56fc11af9
This PR introduces the ability to just override a LESS file's contents through an extender.
This is mainly useful for theme development, as there are times in extensively customized themes where overriding the actual file makes a huge difference vs overriding CSS styles which can turn into a maintenance hell real fast.
Overriding styles is more tedious than overriding files. When you're designing an element, you would normally rather start from a blank canvas, than a styled element. With an already styled element you have to first override and undo the styles you do not wish to have, only then can you start shaping it, but even then you'd always end up constantly undoing default styles. This mostly applies for more advanced themes. (example:
|
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
unit | ||
phpunit.integration.xml | ||
phpunit.unit.xml |