12 references to Body
Aspire.Tray.Tests (12)
src\Aspire.Tray\Common\TrayPanel.cs (11)
938commands.Add(new TextCommand(statusBounds, status, PanelFontRole.Body, palette.TextSecondary)); 954? new TextCommand(text, notice, PanelFontRole.Body, palette.BannerText) 955: new TextCommand(text, notice, PanelFontRole.Body, palette.BannerText, MaxLines: 2)); 978commands.Add(new TextCommand(hintBounds, hint, PanelFontRole.Body, palette.TextSecondary, 1017commands.Add(new TextCommand(clear, "Clear", PanelFontRole.Body, palette.Accent, PanelTextAlignment.Center)); 1045commands.Add(new TextCommand(new(TextLeft, top + 27, textRight - TextLeft, 16), detail, PanelFontRole.Body, 1161PanelFontRole.Body, palette.TextPrimary)); 1175commands.Add(new TextCommand(new(TextLeft, item.Y, labelRight - TextLeft, item.Height), label, PanelFontRole.Body, palette.TextPrimary)); 1229commands.Add(new TextCommand(detailBounds, detail, PanelFontRole.Body, palette.TextSecondary, 1299commands.Add(new TextCommand(new(20, top + 28, textWidth, 30), description, PanelFontRole.Body, 1318commands.Add(new TextCommand(bounds, line, PanelFontRole.Body, palette.TextSecondary, Truncation: PanelTruncation.Middle));
src\Aspire.Tray\Common\TrayPanelScene.cs (1)
34public static bool IsSemibold(PanelFontRole role) => role is not PanelFontRole.Body;