Revamp UI a whole lot

This commit is contained in:
2026-11-18 19:42:44 +01:00
parent 260abc2c98
commit fdde7f9d80
57 changed files with 2667 additions and 935 deletions
+1 -1
View File
@@ -51,6 +51,7 @@ namespace KernelPanic.UI
_emptyHintLabel = root.Q<Label>("FeaturedUnitEmptyHint");
_populatedState = root.Q<VisualElement>("FeaturedUnitPopulatedState");
_emptyState = root.Q<VisualElement>("FeaturedUnitEmptyState");
_panel.tooltip = string.Empty;
DistroArtPresenter.ConfigureArtLabel(_asciiLabel, _monospaceFont);
_asciiFitter = new AsciiArtFitter(_asciiLabel, _monospaceFont);
@@ -141,7 +142,6 @@ namespace KernelPanic.UI
_emptyState.AddToClassList("hidden");
_currentUnit = unit;
TerminalTheme.SetDistro(_panel, unit);
_panel.tooltip = "[F2] next distro / [Enter] inspect";
_titleLabel.text = "[ neofetch ]";
_asciiFitter.SetArt(DistroArtPresenter.Render(_asciiLabel, _asciiPlaceholder, unit));