commit
6c5477bc02
1 changed files with 3 additions and 4 deletions
|
@ -10,9 +10,7 @@
|
||||||
<title>Configure theme</title>
|
<title>Configure theme</title>
|
||||||
<para>
|
<para>
|
||||||
To configure the theme used by a realm open the <literal>Keycloak Admin Console</literal>, select your realm
|
To configure the theme used by a realm open the <literal>Keycloak Admin Console</literal>, select your realm
|
||||||
from the drop-down box in the top left corner. In the <literal>Optional Settings</literal> use the drop-down
|
from the drop-down box in the top left corner. Under <literal>Settings</literal> click on <literal>Theme</literal>.
|
||||||
boxes for <literal>Login Theme</literal> and <literal>Account Theme</literal> to select the theme used
|
|
||||||
by login forms and account management pages.
|
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -56,7 +54,7 @@
|
||||||
templates.
|
templates.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
To create a new theme, create a folder in <literal>.../standalone/configuration/themes/< theme type></literal>.
|
To create a new theme, create a folder in <literal>.../standalone/configuration/themes/<theme type></literal>.
|
||||||
The name of the folder is the name of the theme. Then create a file <literal>theme.properties</literal> inside the theme folder.
|
The name of the folder is the name of the theme. Then create a file <literal>theme.properties</literal> inside the theme folder.
|
||||||
The contents of the file should be:
|
The contents of the file should be:
|
||||||
</para>
|
</para>
|
||||||
|
@ -79,6 +77,7 @@
|
||||||
<programlisting>styles=css/styles.css css/more-styles.css</programlisting>
|
<programlisting>styles=css/styles.css css/more-styles.css</programlisting>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
|
<title>Scripts</title>
|
||||||
<para>
|
<para>
|
||||||
A theme can have one or more scripts, to add a script create a file inside <literal>resources/js</literal> (for example <literal>resources/js/script.js</literal>)
|
A theme can have one or more scripts, to add a script create a file inside <literal>resources/js</literal> (for example <literal>resources/js/script.js</literal>)
|
||||||
inside your theme folder. Then registering it in <literal>theme.properties</literal> by adding:
|
inside your theme folder. Then registering it in <literal>theme.properties</literal> by adding:
|
||||||
|
|
Loading…
Reference in a new issue