diff --git a/features/theme-variants.md b/features/theme-variants.md index fd8071a..f03148c 100644 --- a/features/theme-variants.md +++ b/features/theme-variants.md @@ -51,6 +51,12 @@ In your code you'll be able to load different styles based on the value of `kcCo Tutorial video {% endembed %} +## Viewing your variants + +1. Assign the variant as the login theme to the realm. +2. Create separate clients and assign each variant to a different client. +3. Apply the theme name in the `kcContext` of the storybook story: `

"my-theme-2" view

+## In Emails + +Access the value in your email theme with `${xKeycloakify.themeName}`. + ## In Native Themes For native Email Theme [this video timestamp](https://www.youtube.com/watch?v=IZ9LSLfWxqo\&t=684s).\