using Content.Client.UserInterface.Screens; using Robust.Client.Graphics; using Robust.Client.UserInterface; using Robust.Client.UserInterface.Controls; using static Content.Client.Stylesheets.StylesheetHelpers; namespace Content.Client.Stylesheets.Sheetlets.Hud; [CommonSheetlet] public sealed class ChatGameScreenSheetlet : Sheetlet { public override StyleRule[] GetRules(PalettedStylesheet sheet, object config) { return [ E() .Class(SeparatedChatGameScreen.StyleClassChatContainer) .Panel(new StyleBoxFlat(sheet.SecondaryPalette.Background)), E() .Class(SeparatedChatGameScreen.StyleClassChatOutput) .Panel(new StyleBoxFlat(sheet.SecondaryPalette.BackgroundDark)), ]; } }