Unable to locate base template to override it

Hello there!

I would like to add some fields to my Keycloak 18.0.0 registration form.
I follow steps described here Server Developer Guide or https://keycloakthemes.com/blog/how-to-add-custom-field-keycloak-registration-page but when I refresh my browser, I could see a blank page with only the fields I added. I tried to find where damn the base template is but I could not find it even if I do a sudo -ukeycloak find / -name '*.ftl' 2>/dev/null to find any template or try to find a class using sudo grep -R 'form-group' / 2>/dev/null I’m not able to find anything. I first thought just to copy rendered HTML from my browser, but this is a bad idea as I will not have variables for dynamic information like links, realms name, etc.

Do you have any idea where to find it?

You can find the themes here: keycloak/themes/src/main/resources/theme at main · keycloak/keycloak · GitHub

I finally found where they were! I have to unzip the JAR file using: unzip {KEYCLOAK_FOLDER}/lib/lib/main/org.keycloak.keycloak-themes-18.0.0.jar -d /tmp/keycloak