Entity Browser modal looks like this in darkmode:

Entity Browser modal screenshot before patch, white background instead of dark

I found that gin_preprocess_html() is not invoked in that context due this theme manager logic; if an theme registry item is found for a suggestion, its information is used instead of the info for the main hook.

So we need a preprocess implementation for html__entity_browser__modal.

Comments

manuel.adan created an issue. See original summary.

manuel.adan’s picture

Assigned: manuel.adan » Unassigned
Status: Active » Needs review
StatusFileSize
new418 bytes
new30.64 KB

After patching:

Entity Browser modal screenshot after patch with dark background

saschaeggi’s picture

Status: Needs review » Fixed

Thanks a lot!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.