feat(keycloak): use Inter variable font in login theme

Replace the bundled OpenCloud font with Inter in the Keycloak login
theme. Use the variable woff2 (weights 100-900) so a single self-hosted
file covers all weights, and drop the two static OpenCloud files.
follow up for
https://github.com/opencloud-eu/web/pull/2988
This commit is contained in:
Tobias Baader
2026-07-30 18:27:52 +02:00
parent 213dde31c8
commit 7cd7c57bd9
4 changed files with 4 additions and 11 deletions

View File

@@ -7,21 +7,14 @@
} }
@font-face { @font-face {
font-family: OpenCloud; font-family: Inter;
src: url('../fonts/OpenCloud500-Regular.woff2') format('woff2'); src: url('../fonts/Inter-Variable.woff2') format('woff2');
font-weight: normal; font-weight: 100 900;
font-style: normal;
}
@font-face {
font-family: OpenCloud;
src: url('../fonts/OpenCloud750-Bold.woff2') format('woff2');
font-weight: bold;
font-style: normal; font-style: normal;
} }
body { body {
font-family: "OpenCloud", "Open Sans", Helvetica, Arial, sans-serif; font-family: "Inter", "Open Sans", Helvetica, Arial, sans-serif;
background: url(../img/background.png) no-repeat center fixed !important; background: url(../img/background.png) no-repeat center fixed !important;
background-size: cover !important; background-size: cover !important;
} }