I can totally see the appeal of an easy switch to Dark mode, but what else do you think switching to Bootstrap would really improve?
The idea of using Spectre was really to have something very minimal that didn't need learning and to use the plain CSS and JS browser APIs where possible. From that point of view the fact Spectre.css hasn't changed over most of the 5 years the App Loader has been around hasn't been a big deal - it didn't really need to.
But other than that, that's pretty much it - it's just standard JS DOM APIs working with HTML.
I'm not entirely against using Bootstrap, but I'm not really sure what it adds in this case?
There's also the fact it's not just the Bangle.js App Loader, but other app loaders like https://espruino.github.io/EspruinoApps/ and https://jeffmer.github.io/WatchApps/ use it, plus all the apps that have a custom.html or interface.html file would need changing (and testing) too so it's potentially a decent chunk of work with a high likelihood of breakage.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I can totally see the appeal of an easy switch to Dark mode, but what else do you think switching to Bootstrap would really improve?
The idea of using Spectre was really to have something very minimal that didn't need learning and to use the plain CSS and JS browser APIs where possible. From that point of view the fact Spectre.css hasn't changed over most of the 5 years the App Loader has been around hasn't been a big deal - it didn't really need to.
I feel like there's not really a lot to learn - there's 200 lines of HTML in https://github.com/espruino/BangleApps/blob/master/index.html and a few more in the JS at https://github.com/espruino/EspruinoAppLoaderCore/blob/364b2c1b00de17ffbbee87fb1d91e79b513b9127/js/index.js#L425-L483 that might reference some Spectre CSS, but it's all very straightforward
But other than that, that's pretty much it - it's just standard JS DOM APIs working with HTML.
I'm not entirely against using Bootstrap, but I'm not really sure what it adds in this case?
There's also the fact it's not just the Bangle.js App Loader, but other app loaders like https://espruino.github.io/EspruinoApps/ and https://jeffmer.github.io/WatchApps/ use it, plus all the apps that have a
custom.html
orinterface.html
file would need changing (and testing) too so it's potentially a decent chunk of work with a high likelihood of breakage.