Experiment to rebuild Diffuse using web applets.

refactor: Move utility functions out of theme master


+102 -63
3 changed files