Issues
Feature description
Some themes might support norgolith starting from a certain version due to new features and such. Being able to let theme maintainers specify the minimum supported norgolith version might come handy.
On theme pull, norgolith would check the theme.toml to verify the minimum specified version against its own version (speaking of the lith binary, of course). If lith < minimum, a warning should be shown to the end user that the pulled theme requires version minimum in order to work properly and CTA to update Norgolith.
An additional safety check might be added later down the road as well, just in case the latest norgolith version is 0.4 and theme.toml has a higher version number specified due to a typo or something. This safety check could also be used to notify the end user about the latest available norgolith version in the lith < minimum warning. Maybe a cache file or something with the version number and that's it?
Help
Yes
Implementation help
The theme.toml field could be called min_version.
Issues
Feature description
Some themes might support norgolith starting from a certain version due to new features and such. Being able to let theme maintainers specify the minimum supported norgolith version might come handy.
On theme pull, norgolith would check the theme.toml to verify the minimum specified version against its own version (speaking of the lith binary, of course). If
lith < minimum, a warning should be shown to the end user that the pulled theme requires versionminimumin order to work properly and CTA to update Norgolith.An additional safety check might be added later down the road as well, just in case the latest norgolith version is
0.4and theme.toml has a higher version number specified due to a typo or something. This safety check could also be used to notify the end user about the latest available norgolith version in thelith < minimumwarning. Maybe a cache file or something with the version number and that's it?Help
Yes
Implementation help
The theme.toml field could be called
min_version.