From 19a4287827d88907fd91822bd143968c86989450 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Wed, 10 Jan 2024 12:59:42 +0100 Subject: [PATCH] Don't enable theme variant by default --- README.md | 10 ++++++++++ package.json | 5 +---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a2139dc..22ef4a9 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,16 @@ npx download-builtin-keycloak-theme # For downloading the default theme (as a re # Look for the files in build_keycloak/src/main/resources/theme/{base,keycloak} ``` +# Theme variant + +Keycloakify enables you to create different variant for a single theme. +This enable you to have a single jar that embed two or more theme variant. + +![Theme variant](https://content.gitbook.com/content/FcBKODbZbNDgm0rc6a9K/blobs/9iKgs2rv2Kfb2pbs4dRz/image.png) + +You can enable this feature by providing multiple theme name in the Keycloakify build option. +[See documentation](https://docs.keycloakify.dev/build-options#themename) + # The CI workflow - You need to manually allow GitHub Action to push on your repository. For this reason the initial setup will fail. You need to enabled permission and re-run failed job: [see video](https://user-images.githubusercontent.com/6702424/213480604-0aac0ea7-487f-491d-94ae-df245b2c7ee8.mov). diff --git a/package.json b/package.json index 3d8ce0b..3ac061e 100755 --- a/package.json +++ b/package.json @@ -15,10 +15,7 @@ "storybook": "start-storybook -p 6006" }, "keycloakify": { - "themeName": [ - "keycloakify-starter", - "keycloakify-starter-variant-1" - ], + "themeName": "keycloakify-starter", "extraThemeProperties": [ "foo=bar" ]