Brand colours and logos for integrations and DNS providers

Kind tags (Integrations, Servers, DNS) are in the brand's colour with its logo
(Simple Icons, CC0), kept readable on both themes; the dashboard cards, the
kind picker and the menu show the logos too, with a per-browser switch for the
menu icons. Settings -> Display -> Badge colours shows the brand defaults and
Use the brand's goes back to them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-11-10 20:14:20 +01:00
1 parent 9937ab2202
commit d69962528e
18 files changed
+546 -49

No files matched your search

+2 -9
View File
@@ -26,12 +26,7 @@ import EmptyState, { EmptyRow, LoadingRow } from "../components/EmptyState";
import BulkBar from "../components/BulkBar";
import { RunsOnBulkDrawer, SilenceBulkDrawer, TagBulkDrawer } from "../components/BulkDrawers";
import { doBulk, plural } from "../utils/bulk";
function typeBadgeStyle(colors: Record<string, string>, type: string): CSSProperties {
const color = colors[type];
if (!color) return {};
return { backgroundColor: `${color}22`, color, border: `1px solid ${color}55` };
}
import { BrandTag } from "../components/BrandIcon";
export default function Servers({ user }: { user: CurrentUser }) {
@@ -235,9 +230,7 @@ export default function Servers({ user }: { user: CurrentUser }) {
<div className="text-secondary small">{s.hostname ?? "no hostname reported"}</div>
</div>
{s.proxmoxIntegrationId ? (
<span className="badge" style={typeBadgeStyle(integrationColors, "proxmox")}>
Proxmox
</span>
<BrandTag kind="proxmox" custom={integrationColors.proxmox} />
) : s.lastSeenAt ? (
agentState(s, agentLatest) === "behind" ? (
<span className="badge bg-yellow-lt text-yellow" title="Its agent is older than the one this Homelab Manager would install now. Run its install command again to update it.">