CatStation/Content.Client/Construction/UI/ConstructionMenuSheetlet.cs
2026-06-22 11:04:30 -04:00

26 lines
820 B
C#

using Content.Client.Stylesheets;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using static Content.Client.Stylesheets.StylesheetHelpers;
namespace Content.Client.Construction.UI;
[CommonSheetlet]
public sealed class ConstructionMenuSheetlet : Sheetlet<PalettedStylesheet>
{
public override StyleRule[] GetRules(PalettedStylesheet sheet, object config)
{
return
[
E<Label>()
.Identifier("RecipeHistoryNavButtonLabel")
.Font(sheet.BaseFont.GetFont(8))
.FontColor(Color.White),
E<Label>()
.Identifier("RecipeHistoryNavButtonLabel")
.PseudoDisabled()
.Font(sheet.BaseFont.GetFont(8))
.FontColor(Color.Gray),
];
}
}