Themes
Setup FusionAuthThemes
The FusionAuth themes are located at ./packages/fusionauth/
. Each theme is located at a subdirectory with the name of the theme.
Prerequisites: requires Node 22.6.0 or higher.
Setup
You can run pnpm fa:setup
then select 'Setup' to setup your FusionAuth instance.
Download
Note: If you are on a newer version or upgrade your FusionAuth Instance, make sure you either download the theme manually or update all the required messages.
Example:
Upload
Example:
Watching Changes and Rebuilding Themes
More details: https://github.com/FusionAuth/fusionauth-node-cli Make sure you update to the CORRECT theme directory!!! Note: You need to replace
<themeid>
,<apikey>
,<host>
and<theme-name>
with your own values.
This will require two steps, one for building using Tailwind and the other for uploading to FusionAuth.
Building CSS from Tailwind
See more: https://fusionauth.io/docs/customize/look-and-feel/tailwind
Run the below command to watch for changes and rebuild the theme:
Example:
Uploading to FusionAuth
Run this command in another terminal to automatically update the theme within FusionAuth Instance:
Example: