Custom Fonts
Last updated
Was this helpful?
Last updated
Was this helpful?
Let's see how to use, for example, via Google Fonts. Create the following CSS file:
Then import it as a global stylesheet:
That's it!
Keycloak is often used in enterprise internal network with strict network traffic control. In this context, using a Font CDN isn't an option, you want the font to be bundled in your JAR and served directly by the Keycloak server.
Now let's set Geist as the default font.
Create the following CSS file:
Then import it as a global stylesheet:
That's it!
Let's see how we would use a self hosted copy font.
First let's download and extract in src/login/assets/fonts/geist/
: