public function onAllowedThemeList(AllowListEvent $event)
    {
        if ($group = $this->findMostRelevantGroup()) {
            if ($themes = $group->getAttribute('allowed_themes')) {
                $event->removeNotIn($themes);
            }
        }
    }