There are several different types of themes (for example login forms and emails). If
you're creating a login theme (to style the login and registration screens) you need
to create the theme in standalone/configuration/themes/login. It also needs a
The simplest way to get started would be to look at the example sunrise theme and modify
First step is to copy the theme to a new folder in themes/login:
cp <keycloak dist dir>/examples/themes/login/sunrise <jboss
We have tried to keep our html templates as stylable as possible so hopefully you'll
be able to achieve what you want with just css. You can also change individual labels by
adding a messages.properties file (you don't need to override all labels, you can just
add those you want to change, look at
standalone/configuration/themes/login/base/messages/messages.properties for a reference).
Beyond that we do have the capability of overriding the html templates as well (look at
standalone/configuration/themes/login/base/*.ftl for a reference, you can override
individual files by copying them to your theme and changing there).
----- Original Message -----
From: "Vinicius Nakayama" <viniciusnaka(a)gmail.com>
Sent: Wednesday, 30 July, 2014 7:26:38 PM
Subject: [keycloak-user] Keycloak - Create Theme
I'm developer and I am using the keycloak in my project.
I'd like use my layout. I saw in documentation that is necessary create
folder in the Jboss(.../standalone/configuration/themes/). That's all right,
but I noticed that in selection themes(My Realm -> General -> Settings ->
Optional Settings) the option from my theme not appear. It is correct? Or
the option it should show?
I'd also like know what is the best practice to create a new theme?
Thanks in advance.
keycloak-user mailing list