Open polyamAdmin opened 1 month ago
Conceptionally, this is rather easy to achieve.
The main issue is that skins need to import the flavour specific application.scss
file and imports have to have a specific order for skins to work correctly. Unless they are a full-fledged customisations of the main style, which is an unreasonable ask.
There are ways around this, but it requires some duplication.
The original idea was to change how skins are loaded to automatically add shared skins to all flavours, without having to duplicate anything, but there is no way to know which application.scss
needs to be included at compile time.
Therefore a simple structural change is probably the way to go here.
Pitch
Create a shared skins dir which every flavour can load skins from. Possibly some kind of override diff mechanism for flavour specific changes.
Motivation
Less style duplication and easier to apply changes by not requiring porting.