options
parameter when you instantiate your Lock. Some of them allow you to customize your UI. The UI customization options are a work in progress - we expect to be adding more as we go.
First, you’ll define the options
object, containing whichever options you’re wanting to customize. Then you’ll need to include that options object as the third parameter when you instantiate Lock; more on that below.
theme
property.
logo
is a URL for an image that will be placed in the Lock’s header, and defaults to Auth0’s logo. The minimum recommended resolution is 200 pixels (width) by 200 pixels (height).
primaryColor
property defines the primary color of the Lock; all colors used in the widget will be calculated from it. This option is useful when providing a custom logo
, to ensure all colors go well together with the logo
’s color palette. Defaults to #ea5323
.
LOGIN WITH MYCONNECTION
for login).#eb5424
.#FFFFFF
.http://site.com/logo.png
.languageDictionary
option allows customization of every piece of text displayed in the Lock. Defaults to . See below for an example.
languageDictionary
, see the English Language Dictionary Specification in the repository.
options
object that you’ve defined with your custom options in it.
var lock = new Auth0Lock('{yourClientId}', '{yourDomain}', options);
x.y.z
) when including Lock, or downloading it.
Additionally, we of course recommend that you test your CSS changes exhaustively, to ensure that the experience is the one you intend it to be for your customers.