Changes to Local Theme Storing
Sunday, December 18, 2022
Original Implementation
The original plan for Layers was for themes to be cross-application. A theme could be created in one Layers app and used in another. This meant that themes wouldn't belong to a single application and should be stored in a universal Layers directory. This is how theme storage was originally implemented, with the assumption that themes would eventually be cross-application compatible.
This cross-application themes idea had been built on several assumptions, and unforeseen development issues creeped up as a result.
One such issue was the Cross-App Themes Design Flaw which documents the discovery that a Layers app implementing a newer version of the theme serialization function would update the universal theme files, breaking their compatibility with Layers apps that use an older serialization function.
0.13 Patch
In Layers 0.13, themes are stored in the app's directory rather than a universal Layers directory to reflect the cancelation of cross-app theme support.
0.16 Patch Reversal
Since a solution to the cross-app themes design flaw has been proposed, cross-app theme support has been reinstated (and renamed to 'multiple-app theme support') which means that themes are stored in the universal Layers directory again.