def get_current_site_theme():
 if (not is_comprehensive_theming_enabled()):
  return None
 request = get_current_request()
 if (not request):
  return None
 return getattr(request, 'site_theme', None)

def get_current_site_theme ( ) : if ( not is_comprehensive_theming_enabled ( ) ) : return None request = get_current_request ( ) if ( not request ) : return None return getattr ( request , 'site_theme' , None )
return current site theme object .