[keycloak-dev] Deploy theme as module and simplified creating theme for embedding

Lukáš Fryč lukas at fryc.eu
Fri Mar 20 10:28:43 EDT 2015


Hey Stian,

I could provide Ionic Keycloak Theme this way:
https://github.com/lfryc/keycloak-ionic-theme

~ Lukas


pá 20. 3. 2015 v 14:58 odesílatel Bill Burke <bburke at redhat.com> napsal:

> +1.  I know it was a pain creating the theme for Aerogear quickstart.
> Also thought the directory structure was weird, so +1 to that too.
>
> On 3/20/2015 9:53 AM, Stian Thorgersen wrote:
> > I've introduce the concept of a theme packaged as a JAR. This makes it
> possible to deploy a theme as a module (which is nice for domain mode) and
> simplifies creating themes when KC is embedded into other projects.
> >
> > A theme JAR consists of:
> >
> > * META-INF/keycloak-themes.json           A description of what themes
> are included in the jar
> > * theme/<theme type>/<theme name>         Templates, resources, etc as
> before
> >
> > Basically there's no longer any need to implement your own theme
> provider just to bundle a theme as a jar :)
> >
> > While doing this I realised that the structure of:
> >
> > * <theme type>/<theme name>
> >
> > Is wrong! It should be:
> >
> > * <theme name>/<theme type>
> >
> > Anyone have an objection to changing that? The reasoning is that it will
> be common to create a theme of different variants and having the theme name
> as the root makes it easier to copy to standalone/configuration/themes as
> well as groups everything for a theme into one place.
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-dev
> >
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20150320/a9db2f43/attachment.html 


More information about the keycloak-dev mailing list