Can I just override some styles of the default theme?

To create a new theme, we need to create a file called

If in that file we don’t include the style keyword, then the default keycloak theme would be used.

However, if we use that style then we should start from scratch because get would get zero default style.

It’s like a binary, zero/one state. Is there a way to get something in between?

Can I use the default theme’s style for my custom theme, and only override some CSS styles? (coloring for example).

You can override the keycloak theme in your file. Here is an example


Cool. It worked. Thank you.