8000 Add PatternFly 6 custom theme migration guide by edewit · Pull Request #55216 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Comment on lines +148 to +149
The built-in Account Console is now `keycloak.v4`, based on PatternFly 6.
The previous `keycloak.v3` Account Console theme and the `account:v3` feature value have been removed.
Comment on lines +200 to +201
It has been upgraded to PatternFly 6, and the built-in admin theme has been renamed from `keycloak.v2` to `keycloak.v3`.
Realms that explicitly use the built-in admin theme are migrated automatically.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be the case

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Copilot AI balanced review requested due to automatic review settings November 27, 2026 15:09
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The migration documentation omits source-checkout and Node.js/npm prerequisites and misstates automation eligibility and the common-directory layout, potentially causing failed commands or incorrect migration expectations.

3 open issues
2 previously missed issues

In code that hasn't changed since last review

Low severity Document source checkout and Node.js/npm prerequisites

docs/​guides/​migration/​migrating-themes-to-patternfly-6.adoc:96

The commands below assume a Keycloak source checkout, but misc/scripts/ is not included in the server distribution, so users running them from their installation will get a missing-module error. Add instructions for obtaining the source checkout and running from its root, and mention the Node.js/npm prerequisites required by the script's npx calls.

Low severity Clarify that common/ must be inside the theme root

docs/​guides/​migration/​migrating-themes-to-patternfly-6.adoc:112

resolveSiblingCommonDir() resolves common/ inside the theme root, as a sibling of login/, not as a sibling of the theme root. Document that layout explicitly so users do not expect a shared directory beside their theme to be migrated.

4 resolved since last review

Review effort: Balanced

Comment on lines +173 to +181
Those upstream PatternFly tools operate on an Account UI *source checkout*.
They do not rewrite installed or inherited theme directories under `themes/`.

=== CSS-only account themes

If your custom account theme only overrides resources of `keycloak.v3`:

. Change `parent=` to `keycloak.v4`.
. Update PatternFly 5 classes and CSS variables to PatternFly 6 manually; the helper script does not process those theme directories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide migration guide for PatternFly 6 upgrade

2 participants

0