firebaseui-web icon indicating copy to clipboard operation
firebaseui-web copied to clipboard

Make themeable via elements

Open corysimmons opened this issue 8 years ago • 2 comments

Like Stripe has Stripe Elements which are themeable.

corysimmons avatar Mar 26 '18 08:03 corysimmons

I don't know if this helps you, but I was able to theme the buttons with plain old CSS: image

        .firebaseui-idp-button{
            max-width: calc(100% - 2px);
            box-shadow: none;
            border-radius: 6px;
        }
        .firebaseui-idp-list{
            margin-top: 0px;
            margin-right:-24px;
            margin-left:-24px;
        }
        .firebaseui-form-actions{
            padding:24px;
            padding-top: 0px;
        }
        
        .firebaseui-id-page-federated-linking{
            border-radius: 4px;
            box-shadow: none;

        }
        .firebaseui-id-submit{
            border-radius: 6px;
            box-shadow: none;
        }
        .firebaseui-id-submit:active{
            box-shadow: none !important;
        }
        .firebaseui-id-submit:focus{
            box-shadow: none !important;
        }

geooot avatar Apr 02 '18 18:04 geooot

Helps a lot, thanks @geooot !

corysimmons avatar Apr 02 '18 22:04 corysimmons