From ec92cf2c04ae8fb6c0213554bb8aa1404d339149 Mon Sep 17 00:00:00 2001 From: Jon Kazama Date: Mon, 15 Jun 2026 18:03:39 +0200 Subject: [PATCH] feat(themes): list custom themes in the theme picker --- .../Ui/Components/Settings/ThemePicker.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/HellionChat/Ui/Components/Settings/ThemePicker.cs b/HellionChat/Ui/Components/Settings/ThemePicker.cs index 613cdbc..89a6407 100644 --- a/HellionChat/Ui/Components/Settings/ThemePicker.cs +++ b/HellionChat/Ui/Components/Settings/ThemePicker.cs @@ -57,6 +57,25 @@ internal sealed class ThemePicker } } } + + // Restore (1.5.6 Appearance.cs:79-88): list custom themes so forked/ + // imported themes are selectable, not just built-ins. + var customs = _themes.AllCustom().ToList(); + if (customs.Count > 0) + { + if ( + ImGui.CollapsingHeader( + $"Custom ({customs.Count})", + ImGuiTreeNodeFlags.DefaultOpen + ) + ) + { + foreach (var theme in customs) + { + DrawCard(theme.Slug); + } + } + } } if (locked && ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenDisabled))