Description
We'd like to migrate the default OpenRemote Keycloak themes from Material UI to Vaadin.
This is a more complex migration, as Keycloak uses FreeMarker templates to display their user interfaces.
You'll need to look at their documentation, which is sparse, and migrate the pages.
The goal is to align with the new design, and keep the maintainability for the future low.
It would be great if we can re-use these templates for custom projects, without having to modify the code.
As we'd like to pull the brand color and logo from the manager_config.json file like we do now.
Pages to migrate:
Email templates are out of scope for now, and will be picked up separately.
Design
See comment below by @remyberden
Checklist
Technical notes
- We'd preferably import
@openremote/or-vaadin-components into the FreeMarker templates, and go from there.
This saves the hassle of tinkering with CSS to make it fit the design, and improves maintainability.
- Be aware that in mobile apps (maybe desktop as well) caching is active to prevent unnecessary HTTP calls.
So updating the theme, might now always reflect in your browser instantly.
- I was initially thinking about using Keycloakify, and simplifying the development of new themes, but this might be out of scope.
- The less code there is to maintain, the better. 😂
Description
We'd like to migrate the default OpenRemote Keycloak themes from Material UI to Vaadin.
This is a more complex migration, as Keycloak uses FreeMarker templates to display their user interfaces.
You'll need to look at their documentation, which is sparse, and migrate the pages.
The goal is to align with the new design, and keep the maintainability for the future low.
It would be great if we can re-use these templates for custom projects, without having to modify the code.
As we'd like to pull the brand color and logo from the
manager_config.jsonfile like we do now.Pages to migrate:
Email templates are out of scope for now, and will be picked up separately.
Design
See comment below by @remyberden
Checklist
manager_config.jsonfile. (should be the same as now)Technical notes
@openremote/or-vaadin-componentsinto the FreeMarker templates, and go from there.This saves the hassle of tinkering with CSS to make it fit the design, and improves maintainability.
So updating the theme, might now always reflect in your browser instantly.