I wonder could we make the theme more generic (now that we have layouts in Core) and therefore remove it from the demo_umami profile and add it as a supported Core theme? It’d be great to have a new theme for Drupal Core for Drupal 9 (we didn’t have one for D8 and I really don’t think Bartik is up to scratch anymore).
- Basically, get all the layouts out of template files into config in Layout Builder.
- Remove everything that is hard-coded in the theme and make sure these things are placed where they are by preprocess or some other mechanism (config, probably)
- ensure the menu set up and all regions are just using generic markup, etc.
- Not sure what we’d do about icons, but I’m sure with some thought we’d figure it out.
Let's realise this is a bad idea and close the issue or else feel there is some merit in it and start discussing it. Looking forward to your comments.
Comments
Comment #2
shaalI love this idea!
Comment #3
smazI'd be very up for this!
My only concerns is that in doing so, are that we don't:
Perhaps we'd still need to do a subtheme for the demo to do any demo-specific theming such as the icons, favicons, logo, preprocessing etc.
Comment #5
xjmInteresting idea. There are definitely pros and cons to this. Part of the intent of Umami is to be able to theme for a specific usecase, in a way that a generic core theme can't.
Tagging for feedback from the other Umami maintainers as well as product managers. Thanks!
Comment #6
xjmAnother downside is that Umami would then no longer be able to evolve in patch releases, since we'd have to worry about disruption if it were available generically in core.
Comment #7
dqd@xjm: yeah. The most important con mentioned here. Thanks for pointing out. While I absolutely advocate for the main motivation on which this issue/task/idea is based on. +1 for the idea and the issue created tho.
Maybe we can kindof "fork" that? It seems that the theme evolved to a certain attrackting level enough, so that it gets considered for such task here and we maybe can go from here in 2 different directions? One for core and the other for the ongoing efforts in the OOTB?
Comment #15
quietone commentedThings have changed since this issue was opened and we now have, #3523324: Deprecate and remove the Umami demonstration profile from core, make it a contributed site template.
Therefor I am closing this feature request.