mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 17:45:42 +00:00
86582d84cb
Add typography support and a text-based logo option plus several TLS/connectivity improvements. Introduces a new font service (web-nodejs/services/fontService.js) to search, download and serve Google Fonts for self-hosting, new API routes for font management, and client-side font picker UI/logic (settings.js) with CSS (pages.css, main.css) and i18n entries (en/pl/zh). BrandingService now supports logo text/accent and font heading/body and includes generated font CSS. Views (login/sidebar) updated to render text logos and a new theme (themes/insolve.json) added. Server and TLS updates: API server now prefers TLS on the API port when valid certs exist, and dual-mode listener in tls.go adds a short peek timeout to avoid deadlocks with RustDesk clients.
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"version": "1.0",
|
|
"type": "betterdesk-theme",
|
|
"branding": {
|
|
"appName": "insolve Core Server",
|
|
"appDescription": "Insolve Device Management",
|
|
"logoType": "text",
|
|
"logoText": "insolve",
|
|
"logoTextAccent": "Core Server",
|
|
"logoIcon": "",
|
|
"logoSvg": "",
|
|
"logoUrl": "",
|
|
"faviconSvg": "",
|
|
"fontHeading": "Space Grotesk",
|
|
"fontBody": "Inter",
|
|
"colors": {
|
|
"bgPrimary": "#0c0f14",
|
|
"bgSecondary": "#12161e",
|
|
"bgTertiary": "#1a1f2b",
|
|
"bgElevated": "#252b38",
|
|
"textPrimary": "#e8ecf1",
|
|
"textSecondary": "#8a94a6",
|
|
"accentBlue": "#ffd600",
|
|
"accentBlueHover": "#ffe040",
|
|
"accentBlueMuted": "#c8a800",
|
|
"accentGreen": "#2ea44f",
|
|
"accentGreenHover": "#3fb950",
|
|
"accentGreenMuted": "#2ea44f",
|
|
"accentRed": "#f85149",
|
|
"accentRedHover": "#ff6b6b",
|
|
"accentRedMuted": "#f85149",
|
|
"accentYellow": "#ffd600",
|
|
"accentYellowHover": "#ffe040",
|
|
"accentYellowMuted": "#c8a800",
|
|
"accentPurple": "#a371f7",
|
|
"accentPurpleHover": "#bc8cff",
|
|
"accentPurpleMuted": "#a371f7",
|
|
"borderPrimary": "#252b38",
|
|
"borderSecondary": "#1a1f2b"
|
|
}
|
|
}
|
|
}
|