Consider adding theme settings object. Currently theme is set by passing THEME_IDENTIFIER environment variable for the app.
App then loads appropriate styles and assets from directory named as THEME_IDENTIFIER. As we don't have a way of checking availability of individual asset files this technique expects every theme to have every required file available. Theme settings object would give themes more freedom to define sources for individual assets, and let them use default options for selected assets.
Consider adding theme settings object. Currently theme is set by passing
THEME_IDENTIFIER
environment variable for the app.App then loads appropriate styles and assets from directory named as
THEME_IDENTIFIER
. As we don't have a way of checking availability of individual asset files this technique expects every theme to have every required file available. Theme settings object would give themes more freedom to define sources for individual assets, and let them use default options for selected assets.