Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

2.1 KB
Raw Blame
// ============================================================
// SELF-HOSTED FONTS — IBM Plex Sans + IBM Plex Mono
// ============================================================
// Privacy: ServerKit is a self-hosted control panel, so we do NOT load fonts
// from Google Fonts (that would send every visitor's IP + page views to a
// third party). The woff2 files are served from our own origin at /fonts/.
//
// The files live in frontend/public/fonts/ — fetch them once with:
//     node frontend/scripts/fetch-fonts.mjs
// They are OFL-licensed; the applicable license is vendored beside the fonts.
// Until they exist the stack falls back to system-ui, so the app never breaks.
//
// IBM Plex publishes weights in steps of 100; the prototype's 450/550 requests
// round to the nearest available face (400/500) automatically.
// ============================================================

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/ibm-plex-sans-400.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/ibm-plex-sans-500.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/ibm-plex-sans-600.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/ibm-plex-sans-700.woff2') format('woff2');
}

@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/ibm-plex-mono-500.woff2') format('woff2');
}
@font-face {
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/ibm-plex-mono-600.woff2') format('woff2');
}