Even if you're only interested by Tailwind you should still read the other section of the CSS Level Customization first as it gives important context.
To use Tailwind in your Keycloakify project start by following the setup guide for Vite.
Beyond that, here is a demo setup of light modification of the starter template to incorporate tailwind:
What has been done:
Applying some custom tailwind utilities classes using the @apply directivearrow-up-right.
Using the Geistarrow-up-right font, herearrow-up-right, herearrow-up-right and herearrow-up-right.
Ejecting the login.ftlarrow-up-right page (npx keycloakify eject-page and login -> login.ftl) and applying a tailwind classarrow-up-right.
npx keycloakify eject-page
Here is the summary of the changes:
Last updated 9 months ago
Was this helpful?