Files
BetterDesk/web-nodejs/themes/default.json
UNITRONIX 4d2a4e0488 fix(api,ui): fix tags/groups, status type, operator permissions (#138)
UI: group chip buttons changed to icon-only (matching folder chips), Create Group tile styling unified with Create Folder, old .group-chip-action CSS replaced with unified .chip-action class.

Go server: peerResponse and singlePeerResponse now return status as int (1=active, 0=disabled) instead of string, added status_text for admin panel backward compat. Fixes RustDesk client crash 'type String is not a subtype of type int?'.

Go server: new handleUsersWithClientFallback — detects RustDesk client requests to /api/users and returns current user without requiring user.view permission. Fixes disappearing folders/groups caused by _getUsers() 403 short-circuiting _pull().

Node.js: normalisePeer updated to use status_text fallback for status_tier.

Branding: RustDesk Server Management -> BetterDesk Server Management across themes, i18n, settings. Console version bumped to 3.0.0.

This commit was made possible thanks to Insolve.
2026-05-28 01:46:19 +02:00

39 lines
1.0 KiB
JSON

{
"version": "1.0",
"type": "betterdesk-theme",
"branding": {
"appName": "BetterDesk",
"appDescription": "BetterDesk Server Management",
"logoType": "icon",
"logoIcon": "dns",
"logoSvg": "",
"logoUrl": "",
"faviconSvg": "",
"colors": {
"bgPrimary": "#0d1117",
"bgSecondary": "#161b22",
"bgTertiary": "#21262d",
"bgElevated": "#30363d",
"textPrimary": "#e6edf3",
"textSecondary": "#8b949e",
"accentBlue": "#58a6ff",
"accentBlueHover": "#79c0ff",
"accentBlueMuted": "#58a6ff",
"accentGreen": "#2ea44f",
"accentGreenHover": "#3fb950",
"accentGreenMuted": "#2ea44f",
"accentRed": "#f85149",
"accentRedHover": "#ff6b6b",
"accentRedMuted": "#f85149",
"accentYellow": "#d29922",
"accentYellowHover": "#e3b341",
"accentYellowMuted": "#d29922",
"accentPurple": "#a371f7",
"accentPurpleHover": "#bc8cff",
"accentPurpleMuted": "#a371f7",
"borderPrimary": "#30363d",
"borderSecondary": "#21262d"
}
}
}