Configuration
Shadleaf works without any configuration. These properties go in your application.properties (or
application.yaml) when you want to change a default; each one links to the page that explains it.
| Property | Default | |
|---|---|---|
shadleaf.skin |
vega |
The visual identity; see Skin for the list. |
shadleaf.assets.variant |
standalone |
embedded leaves out Tailwind’s reset, for applications that compile Tailwind themselves. |
shadleaf.assets.alpine |
bundled |
Where Alpine.js comes from: bundled, csp or external; see Alpine.js. |
shadleaf.csp.nonce-attribute |
cspNonce |
The request attribute holding a CSP nonce for the theme script. |
shadleaf.security.login-url |
/login |
Where the user menu’s Sign in link goes; /oauth2/authorization/<id> with one OAuth2 login client. See Spring Security. |
shadleaf.security.logout-url |
/logout |
Where the user menu’s sign-out form posts to; see Spring Security. |
shadleaf.dev.web-types-file |
Writes IDE metadata for your components; see IDE completion. |