Closed polyamAdmin closed 5 months ago
Not sure what's up with the test suite, but failures seem unrelated to changes
Actually, it was the use of the helper. I'm not sure why that causes the precompile to try to access Redis.
Needed to add system_skins
to assets.rake
to prevent lookup in redis during precompile.
Hmh this is a lot more complicated than I anticipated with the theming system.
Actually, I think hiding the settings unless system skin is selected is counterproductive, since users can still set their skin to system and it would still use admin selected skins.
This might also be good to add as a user setting. (Planned as follow-up)
Hmh a different approach to deal with multiple flavours would be to only allow setting the skins to ones available in all flavours. This would be a pain point for instances focusing on a specific flavour though.
Honestly, at least for the admin setting it would be way easier to just do it with the theming system.
Fixes #544
Adds settings to customise dark/light skins used in system skin.
While the settings are flavour-depended, the helper and implementation currently isn't, so setting dark skin to homogay in polyam flavour will also apply to glitch flavour. This is not ideal, but should a skin not exist, it should fallback to the defaults.
Preview: