From 04501a9d7cea0e2fbbf0487af417b4cfb8d3cb8d Mon Sep 17 00:00:00 2001 From: soraefir Date: Thu, 4 Jun 2026 23:23:55 +0200 Subject: [PATCH] fix --- modules/server/containers/apps/favicon.nix | 6 ------ systems/sandbox/cfg.nix | 20 +++++--------------- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/modules/server/containers/apps/favicon.nix b/modules/server/containers/apps/favicon.nix index 77afc4a..6796baf 100644 --- a/modules/server/containers/apps/favicon.nix +++ b/modules/server/containers/apps/favicon.nix @@ -124,19 +124,13 @@ let def _render_svg(profile): bg = _color(profile.get("background"), "#111827") fg = _color(profile.get("foreground"), "#f8fafc") - accent = _color(profile.get("accent"), "#38bdf8") border_radius = _border_radius() logo_data_uri = _tinted_logo_data_uri(fg) canvas = 256 - badge_svg = f""" - - """ - return f""" - {badge_svg} """ diff --git a/systems/sandbox/cfg.nix b/systems/sandbox/cfg.nix index 647f653..a4d9d81 100644 --- a/systems/sandbox/cfg.nix +++ b/systems/sandbox/cfg.nix @@ -65,35 +65,25 @@ favicon.extra = { mappings = { "home" = { - label = "H"; background = "#0f172a"; - foreground = "#f8fafc"; - accent = "#22c55e"; + foreground = "#22c55e"; }; "cloud" = { - label = "C"; background = "#0b1220"; - foreground = "#f8fafc"; - accent = "#38bdf8"; + foreground = "#38bdf8"; }; "sso" = { - label = "S"; background = "#1f1630"; - foreground = "#fff7ed"; - accent = "#f59e0b"; + foreground = "#f59e0b"; }; "metrum" = { - label = "M"; background = "#1a1d29"; - foreground = "#f8fafc"; - accent = "#a78bfa"; + foreground = "#a78bfa"; }; }; default = { - label = "?"; background = "#111827"; - foreground = "#f9fafb"; - accent = "#6b7280"; + foreground = "#ffffff"; }; }; };