Open klonos opened 2 years ago
The suggestion that we MIGHT (just speculation right now) move the color module out of core someday (2.x) reminds me why it would be nice if themes could declare dependencies. If this were available now, the Opera theme would almost certainly take advantage of it.
While working on Gin, I'm running into an issue where we've defined some CSS/JS-related "libraries" within Gin (perhaps misusing hook_library_info()
since Gin is not a module) but they aren't available outside of Gin. It could be nice to make Gin dependent on a module that could declare these libraries properly (e.g. Tonic perhaps).
they aren't available outside of Gin
Those seem to be quite specific to the theme though. And I believe in either case they are still accessible by calling backdrop_add_library('gin', 'library')
from any code.
They don't seem to be working from testing I'm doing in Tonic, which I assumed was because they were declared in a theme, not a module.
This is the respective issue for https://www.drupal.org/project/drupal/issues/474684 (change record), and part of the #5317 meta-issue.