Be able to load all theme files at once
Closed this issue · 2 comments
shish commented
Conditional imports are a pain, and make a whole bunch of static analysis impossible, but we need them because eg CustomHomePage
in one theme conflicts with CustomHomePage
in another theme.
What if s/Custom/$ThemeName/
- eg Danbooru2HomePage
/ WarmHomePage
?
This will break theme compatibility, but 2.12 is already breaking lots of theme compatibility when moving from string concatenation to MicroHTML...
shish commented
This works for custom themelet overrides, but not for Themelet
/ Page
classes...
shish commented
Actually this can be made to work with Page
fairly easily /o/