An example development environment setup to build Keycloak themes
Start required container (keycloak+postgres) using the follow command:
docker compose up -d
You can proof if the container is running with the command:
docker ps
Access the Administration Console via http://localhost:8080/
This step is optional, although I strongly suggest extracting the themes from the container. They are often the only reliable source on how things are implemented.
You can find a couple of helpful scripts in the scripts folder.
The jar can be extracted with this command:
./scripts/exportThemes.sh
Log in as admin. Therefore you can find your login data in the .env file.
In the admin console you can go in your Realm settings to the "Themes" part. There you can choose the tailwind-example for your login screen and confirm it with "save".