- Issue created by @erwangel
- 🇨🇭Switzerland saschaeggi Zurich
The gin-custom can only be used when Gin is set as admin theme, that's by design as Gin serves the logic for the gin-custom.css file.
I'm closing this as works as designed.
Cheers!
As said in the title, gin-custom.css file is not loading if gin is not the admin theme. This creates a dependency to gin theme which is not declared anywhere and I think such a dependency is useless. One may like gin_login for itself.
I see three solutions:
function gin_login_page_attachments_alter(&$page) {
if (_gin_login__check_path()) {
if (_gin_login_gin_is_active()) {
// Get theme configs.
...
Active
2.1
Code
The gin-custom can only be used when Gin is set as admin theme, that's by design as Gin serves the logic for the gin-custom.css file.
I'm closing this as works as designed.
Cheers!