I’m also wondering about this topic, so I asked for feedback on our approach here.
From my reading, it seems like it’s possible to deploy a theme using the same process as a module:
[To] deploy the archive to Keycloak you can either manually create a module in
modules
or use thejboss-cli
command. It’s simplest to usejboss-cli
as it creates the required directories and module descriptor for you.To deploy
mytheme.zip
on Linux run:
bin/jboss-cli.sh --command="module add --name=org.example.mytheme --resources=mytheme.zip"
Maybe the themes are not technically modules, but it looks like you can use the same CLI to install them.