no longer use the icons as they are not part of PF (#33575)

fixes: #33282

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2024-10-24 10:17:00 +02:00 committed by GitHub
parent 964f6b9aac
commit e6c9f4a1f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 101 additions and 87 deletions

View file

@ -11,6 +11,8 @@
<a id="social-${p.alias}" class="${properties.kcFormSocialAccountListButtonClass!} <#if social.providers?size gt 3>${properties.kcFormSocialAccountGridItem!}</#if>" aria-label="${p.displayName}"
type="button" href="${p.loginUrl}">
<#if p.iconClasses?has_content>
<span class="${p.iconClasses!}">${p.displayName!}</span>
<#else>
<#switch p.alias>
<#case "google">
<svg aria-hidden="true" viewBox="0 0 488 512">
@ -87,14 +89,13 @@
</svg>
<#break>
<#default>
<span class="${p.iconClasses!}" aria-hidden="true">
<span aria-hidden="true">
<svg viewBox="0 0 512 512" aria-hidden="true">
<path d="M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"/>
</svg>
<span class="${properties.kcFormSocialAccountNameClass!}">${p.displayName!}</span>
</span>
</#switch>
<#else>
<span class="${properties.kcFormSocialAccountNameClass!}">${p.displayName!}</span>
</#if>
</a>
</li>

View file

@ -96,3 +96,16 @@ kcLoginOTPListSelectedClass=pf-m-selected
kcDarkModeClass=pf-v5-theme-dark
kcHtmlClass=login-pf
kcLogoIdP-facebook=
kcLogoIdP-google=
kcLogoIdP-github=
kcLogoIdP-linkedin=
kcLogoIdP-instagram=
kcLogoIdP-microsoft=
kcLogoIdP-bitbucket=
kcLogoIdP-gitlab=
kcLogoIdP-paypal=
kcLogoIdP-stackoverflow=
kcLogoIdP-twitter=
kcLogoIdP-openshift-v4=
kcLogoIdP-openshift-v3=